3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-17 23:25:02 +00:00

Add name history plugin

This commit is contained in:
Dragory 2019-01-06 15:27:51 +02:00
parent 4b31a28ea2
commit 8c0a2561c9
7 changed files with 245 additions and 6 deletions

View file

@ -0,0 +1,18 @@
import { Entity, Column, PrimaryColumn } from "typeorm";
@Entity("name_history")
export class NameHistoryEntry {
@Column()
@PrimaryColumn()
id: string;
@Column() guild_id: string;
@Column() user_id: string;
@Column() type: number;
@Column() value: string;
@Column() timestamp: string;
}