From 90efe2090e335ad90b7a5c387ab8a92ea613804d Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Fri, 18 Nov 2022 20:17:32 -0800 Subject: [PATCH] Finally fix star reaction fallback migration --- .../backend/migration/1668831378728FixCalckeyAgain.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/backend/migration/1668831378728FixCalckeyAgain.js diff --git a/packages/backend/migration/1668831378728FixCalckeyAgain.js b/packages/backend/migration/1668831378728FixCalckeyAgain.js new file mode 100644 index 0000000000..e429a6906f --- /dev/null +++ b/packages/backend/migration/1668831378728FixCalckeyAgain.js @@ -0,0 +1,11 @@ +export class FixCalckeyAgain1668831378728 { + name = 'FixCalckeyAgain1668831378728' + + async up(queryRunner) { + await queryRunner.query(`UPDATE "meta" SET "useStarForReactionFallback" = TRUE`);= + } + + async down(queryRunner) { + await queryRunner.query(`UPDATE "meta" SET "useStarForReactionFallback" = FALSE`); + } +}