mirror of
https://github.com/thedrewen/protojx-manager.git
synced 2026-03-21 09:48:56 +01:00
feat(entity): add Guild entity with primary key and columns for guild_id and persistent_message_id
This commit is contained in:
13
src/entity/Guilds.ts
Normal file
13
src/entity/Guilds.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
|
||||
|
||||
@Entity()
|
||||
export class Guild {
|
||||
@PrimaryGeneratedColumn()
|
||||
id: number;
|
||||
|
||||
@Column()
|
||||
guild_id: string;
|
||||
|
||||
@Column()
|
||||
persistent_message_id: string;
|
||||
}
|
||||
Reference in New Issue
Block a user