summaryrefslogtreecommitdiff
path: root/packages/backend/migration/1678694614599-sensitive-words.js
blob: 6d4c5730c71dfbd4fb52cee1c67b0c081cfa3ee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
export class sensitiveWords1678694614599 {
    name = 'sensitiveWords1678694614599'

    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "meta" ADD "sensitiveWords" character varying(1024) array NOT NULL DEFAULT '{}'`);
    }

    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "sensitiveWords"`);
    }
}