Add back migration

This commit is contained in:
ThatOneCalculator 2022-08-09 19:56:03 -07:00
parent 103221b367
commit 20c32d6b0e
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
export class GuestTimeline1660068273737 {
name = 'GuestTimeline1660068273737'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "enableGuestTimeline" boolean NOT NULL DEFAULT false`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "enableGuestTimeline"`);
}
}