mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
Add back migration
This commit is contained in:
parent
c5cf74664a
commit
df7fd915fc
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