Feat: 複数ノートの通報機能

This commit is contained in:
mattyatea 2023-12-10 09:17:24 +09:00
parent 4c135a5ca1
commit 6849d510ac
10 changed files with 197 additions and 69 deletions

View file

@ -0,0 +1,11 @@
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"`);
}
}