1
0
Fork 0
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:
Fedor Katurov 2021-05-05 12:14:31 +07:00
parent a78fc0bfe3
commit a6e6209770
5 changed files with 38 additions and 12 deletions

View file

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