Add back migration
This commit is contained in:
parent
103221b367
commit
20c32d6b0e
9
packages/backend/migration/1660068273737GuestTimeline.js
Normal file
9
packages/backend/migration/1660068273737GuestTimeline.js
Normal 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"`);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user