mizzkey/packages/backend/migration/1728634286056-prohibitedPartialScreenNames.js
KanariKanaru 88cf83b9cf wip
2024-10-12 10:44:23 +09:00

10 lines
352 B
JavaScript

export class ProhibitedPartialScreenNames1728634286056 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "prohibitedPartialScreenNames" character varying(1024) array NOT NULL DEFAULT '{}'`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "prohibitedPartialScreenNames"`);
}
}