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 ObjectStorageSetting1557932705754 {
export class ObjectStorageSetting1557932705754 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "useObjectStorage" boolean NOT NULL DEFAULT false`);
await queryRunner.query(`ALTER TABLE "meta" ADD "objectStorageBucket" character varying(512)`);
@ -26,4 +26,3 @@ class ObjectStorageSetting1557932705754 {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "useObjectStorage"`);
}
}
exports.ObjectStorageSetting1557932705754 = ObjectStorageSetting1557932705754;