forked from FoundKeyGang/FoundKey
add down-migration for renote mutes
This commit is contained in:
parent
c414f24a2c
commit
3d9df839a5
1 changed files with 4 additions and 0 deletions
|
@ -12,5 +12,9 @@ export class addRenoteMuting1665091090561 {
|
||||||
}
|
}
|
||||||
|
|
||||||
async down(queryRunner) {
|
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"`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue