add down-migration for renote mutes

This commit is contained in:
Chloe Kudryavtsev 2022-10-07 15:23:58 -04:00 committed by Gitea
parent c414f24a2c
commit 3d9df839a5

View file

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