From 8885a7df30f61b2ce2feea6cdccd1953dbdafb17 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Fri, 21 Jul 2023 20:55:32 +0200 Subject: [PATCH] Update instance software metadata --- .../migration/1689965609061-iceshrimp-repo.js | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 packages/backend/migration/1689965609061-iceshrimp-repo.js diff --git a/packages/backend/migration/1689965609061-iceshrimp-repo.js b/packages/backend/migration/1689965609061-iceshrimp-repo.js new file mode 100644 index 000000000..0dfc0be8b --- /dev/null +++ b/packages/backend/migration/1689965609061-iceshrimp-repo.js @@ -0,0 +1,21 @@ +export class IceshrimpRepo1689965609061 { + name = "IceshrimpRepo1689965609061"; + + async up(queryRunner) { + await queryRunner.query( + `UPDATE meta SET "repositoryUrl" = 'https://iceshrimp.dev/iceshrimp/iceshrimp'`, + ); + await queryRunner.query( + `UPDATE meta SET "feedbackUrl" = 'https://iceshrimp.dev/iceshrimp/iceshrimp/issues'`, + ); + } + + async down(queryRunner) { + await queryRunner.query( + `UPDATE meta SET "repositoryUrl" = 'https://codeberg.org/firefish/firefish'`, + ); + await queryRunner.query( + `UPDATE meta SET "feedbackUrl" = 'https://codeberg.org/firefish/firefish/issues'`, + ); + } +}