1
0

add: achievement toggle

Closes #16
This commit is contained in:
Mar0xy
2023-09-29 00:57:38 +02:00
parent 0c7011bd02
commit fc00f08d5b
9 changed files with 45 additions and 1 deletions
@@ -0,0 +1,11 @@
export class EnableAchievements1695937489995 {
name = 'EnableAchievements1695937489995'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "enableAchievements" boolean NOT NULL DEFAULT true`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "enableAchievements"`);
}
}