3
0
Fork 0
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:
Dragory 2019-05-03 23:31:38 +03:00
parent 4549954773
commit f33b3c37ff
12 changed files with 255 additions and 119 deletions

View 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;
}