mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-20 00:05:04 +00:00
Fix username change logging and saving. Re-enable migrations.
This commit is contained in:
parent
4549954773
commit
f33b3c37ff
12 changed files with 255 additions and 119 deletions
14
src/data/entities/UsernameHistoryEntry.ts
Normal file
14
src/data/entities/UsernameHistoryEntry.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
import { Entity, Column, PrimaryColumn } from "typeorm";
|
||||
|
||||
@Entity("username_history")
|
||||
export class UsernameHistoryEntry {
|
||||
@Column()
|
||||
@PrimaryColumn()
|
||||
id: string;
|
||||
|
||||
@Column() user_id: string;
|
||||
|
||||
@Column() username: string;
|
||||
|
||||
@Column() timestamp: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue