hippofish/packages/backend/migration/1707850084123-firefish-url-move.js
Trojaner a46d79d5da fix: replace urls to git.joinfirefish.org with firefish.dev
Co-authored-by: naskya <m@naskya.net>
Co-authored-by: TrojanerHD <github@trojaner.dev>
2024-02-14 13:44:11 +00:00

21 lines
624 B
JavaScript

export class FirefishUrlMove1707850084123 {
name = "FirefishUrlMove1707850084123";
async up(queryRunner) {
await queryRunner.query(
`UPDATE meta SET "repositoryUrl" = 'https://firefish.dev/firefish/firefish'`,
);
await queryRunner.query(
`UPDATE meta SET "feedbackUrl" = 'https://firefish.dev/firefish/firefish/issues'`,
);
}
async down(queryRunner) {
await queryRunner.query(
`UPDATE meta SET "repositoryUrl" = 'https://git.joinfirefish.org/firefish/firefish'`,
);
await queryRunner.query(
`UPDATE meta SET "feedbackUrl" = 'https://git.joinfirefish.org/firefish/firefish/issues'`,
);
}
}