Fix: DB CONSTRAINT of RenoteMuting (#11724)

* Fix: DB CONSTRAINT of RenoteMuting

* change order of migration of fixing renotemuting
This commit is contained in:
atsuchan 2023-08-20 13:22:37 +09:00 committed by GitHub
parent 3eacbe6b6d
commit 750085ffd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

View file

@ -16,5 +16,9 @@ export class addRenoteMuting1665091090561 {
}
async down(queryRunner) {
await queryRunner.query(`DROP INDEX "IDX_renote_muting_muterId"`);
await queryRunner.query(`DROP INDEX "IDX_renote_muting_muteeId"`);
await queryRunner.query(`DROP INDEX "IDX_renote_muting_createdAt"`);
await queryRunner.query(`DROP TABLE "renote_muting"`);
}
}