misskey/packages/backend/migration/1702149469508-abusenotesele...

12 lines
356 B
JavaScript

export class Abusenoteselect1702149469508 {
name = 'Abusenoteselect1702149469508'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "abuse_user_report" ADD "notes" jsonb NOT NULL DEFAULT '[]'`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "abuse_user_report" DROP COLUMN "notes"`);
}
}