From 3d9df839a5fb76f380cbd79eef555a0ac2288582 Mon Sep 17 00:00:00 2001 From: Chloe Kudryavtsev Date: Fri, 7 Oct 2022 15:23:58 -0400 Subject: [PATCH] add down-migration for renote mutes --- packages/backend/migration/1665091090561-add-renote-muting.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/backend/migration/1665091090561-add-renote-muting.js b/packages/backend/migration/1665091090561-add-renote-muting.js index d2ed2bd2e..f87114851 100644 --- a/packages/backend/migration/1665091090561-add-renote-muting.js +++ b/packages/backend/migration/1665091090561-add-renote-muting.js @@ -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"`); } }