fix migrations

Fix #8363
This commit is contained in:
syuilo
2022-03-01 00:07:03 +09:00
parent 94d4f8271e
commit a8e8b2e2cf
135 changed files with 383 additions and 493 deletions

View File

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class PageTitleHideOption1562448332510 {
export class PageTitleHideOption1562448332510 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "page" ADD "hideTitleWhenPinned" boolean NOT NULL DEFAULT false`);
}
@ -8,4 +8,3 @@ class PageTitleHideOption1562448332510 {
await queryRunner.query(`ALTER TABLE "page" DROP COLUMN "hideTitleWhenPinned"`);
}
}
exports.PageTitleHideOption1562448332510 = PageTitleHideOption1562448332510;