mirror of
https://example.com
synced 2024-11-23 05:06:41 +09:00
Add back migration
This commit is contained in:
parent
103221b367
commit
20c32d6b0e
1 changed files with 9 additions and 0 deletions
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 a new issue