misskey/packages/backend/migration/1728634286056-prohibitedPar...

10 lines
352 B
JavaScript
Raw Normal View History

2024-10-11 08:51:44 +00:00
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"`);
}
}