From efef445eef7d6e98bcc7722ff9016077ef9eb6d0 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sun, 19 Mar 2023 16:53:49 -0700 Subject: [PATCH] fix: repo url --- .../backend/migration/1679269929000-fix-repo.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/backend/migration/1679269929000-fix-repo.js diff --git a/packages/backend/migration/1679269929000-fix-repo.js b/packages/backend/migration/1679269929000-fix-repo.js new file mode 100644 index 000000000..6784b3793 --- /dev/null +++ b/packages/backend/migration/1679269929000-fix-repo.js @@ -0,0 +1,13 @@ +export class FixRepo1679269929000 { + name = 'FixRepo1679269929000' + + async up(queryRunner) { + await queryRunner.query(`UPDATE meta SET "repositoryUrl" = 'https://codeberg.org/calckey/calckey'`); + await queryRunner.query(`UPDATE meta SET "feedbackUrl" = 'https://codeberg.org/calckey/calckey/issues'`); + } + + async down(queryRunner) { + await queryRunner.query(`UPDATE meta SET "repositoryUrl" = 'https://codeberg.org/calckey/calckey'`); + await queryRunner.query(`UPDATE meta SET "feedbackUrl" = 'https://codeberg.org/calckey/calckey/issues'`); + } +}