mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
Add back migration
This commit is contained in:
parent
c5cf74664a
commit
df7fd915fc
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