mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-13 21:35:02 +00:00
Add name history plugin
This commit is contained in:
parent
50c6233190
commit
681517341e
7 changed files with 245 additions and 6 deletions
18
src/data/entities/NameHistoryEntry.ts
Normal file
18
src/data/entities/NameHistoryEntry.ts
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue