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

12 lines
356 B
JavaScript
Raw Normal View History

2023-12-10 00:17:24 +00:00
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"`);
}
}