This commit is contained in:
kakkokari-gtyih 2024-11-18 00:02:11 +09:00
parent 7159b7dd1f
commit 4a68df9c05
1 changed files with 2 additions and 2 deletions

View File

@ -8,11 +8,11 @@ export class DefaultFollowUsers1728986848483 {
async up(queryRunner) { async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "defaultFollowedUsers" character varying(1024) array NOT NULL DEFAULT '{}'`); await queryRunner.query(`ALTER TABLE "meta" ADD "defaultFollowedUsers" character varying(1024) array NOT NULL DEFAULT '{}'`);
await queryRunner.query(`ALTER TABLE "meta" ADD "permanentFollowedUsers" character varying(1024) array NOT NULL DEFAULT '{}'`); await queryRunner.query(`ALTER TABLE "meta" ADD "forciblyFollowedUsers" character varying(1024) array NOT NULL DEFAULT '{}'`);
} }
async down(queryRunner) { async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "permanentFollowedUsers"`); await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "forciblyFollowedUsers"`);
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "defaultFollowedUsers"`); await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "defaultFollowedUsers"`);
} }
} }