From fccab12c82a27b22a348036c85de814e16e76a71 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 27 Jul 2022 21:36:02 -0700 Subject: [PATCH] im stufff --- .../backend/migration/1658981842728FixCalckey.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/backend/migration/1658981842728FixCalckey.js b/packages/backend/migration/1658981842728FixCalckey.js index 8a3f17319b..276b4d68bf 100644 --- a/packages/backend/migration/1658981842728FixCalckey.js +++ b/packages/backend/migration/1658981842728FixCalckey.js @@ -2,14 +2,14 @@ export class FixCalckey1658981842728 { name = 'FixCalckey1658981842728' async up(queryRunner) { - await queryRunner.query(`ALTER TABLE "meta" SET "useStarForReactionFallback" TRUE;`); - await queryRunner.query(`ALTER TABLE "meta" SET "repositoryUrl" = 'https://codeberg/thatonecalculator/calckey'`); - await queryRunner.query(`ALTER TABLE "meta" SET "feedbackUrl" = 'https://codeberg/thatonecalculator/calckey/issues'`); + await queryRunner.query(`UPDATE "meta" SET "useStarForReactionFallback" = TRUE;`); + await queryRunner.query(`UPDATE "meta" SET "repositoryUrl" = 'https://codeberg/thatonecalculator/calckey'`); + await queryRunner.query(`UPDATE "meta" SET "feedbackUrl" = 'https://codeberg/thatonecalculator/calckey/issues'`); } async down(queryRunner) { - await queryRunner.query(`ALTER TABLE "meta" SET "useStarForReactionFallback" = FALSE;`); - await queryRunner.query(`ALTER TABLE "meta" SET "repositoryUrl" = 'https://codeberg/thatonecalculator/calckey'`); - await queryRunner.query(`ALTER TABLE "meta" SET "feedbackUrl" = 'https://codeberg/thatonecalculator/calckey/issues'`); + await queryRunner.query(`UPDATE "meta" SET "useStarForReactionFallback" = FALSE;`); + await queryRunner.query(`UPDATE "meta" SET "repositoryUrl" = 'https://codeberg/thatonecalculator/calckey'`); + await queryRunner.query(`UPDATE "meta" SET "feedbackUrl" = 'https://codeberg/thatonecalculator/calckey/issues'`); } }