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'`, + ); + } +}