mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-25 15:06:41 +07:00
#4 storing events in db
This commit is contained in:
parent
a78fc0bfe3
commit
a6e6209770
5 changed files with 38 additions and 12 deletions
|
@ -25,6 +25,6 @@ export class Event {
|
|||
createdAt: Date;
|
||||
@UpdateDateColumn()
|
||||
updatedAt: Date;
|
||||
@Column({ type: "text", default: "", nullable: false })
|
||||
text: string;
|
||||
@Column("simple-json", { default: {}, nullable: false })
|
||||
text: Record<any, any>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue