feat: update schema with seeding columns

This commit is contained in:
Hachi-R 2024-11-08 17:30:18 -03:00
parent 981dbceb93
commit 21ca26dcfe
6 changed files with 49 additions and 0 deletions

View file

@ -85,6 +85,9 @@ export class Game {
@Column("boolean", { default: false })
isDeleted: boolean;
@Column("boolean", { default: false })
shouldSeed: boolean;
@CreateDateColumn()
createdAt: Date;

View file

@ -41,6 +41,9 @@ export class UserPreferences {
@Column("boolean", { default: false })
disableNsfwAlert: boolean;
@Column("boolean", { default: true })
seedAfterDownloadComplete: boolean;
@CreateDateColumn()
createdAt: Date;