From 613c560bcc59dcf3e4ab3366ca778f06db636a11 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 000000000..e429a6906 --- /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`); + } +}