1
0
Fork 1
mirror of https://example.com synced 2024-11-27 07:36:38 +09:00
firefish/packages/backend/migration/1679269929000-fix-repo.js
ThatOneCalculator 6da5a5b89b
find and replace
2023-07-02 15:18:30 -07:00

21 lines
592 B
JavaScript

export class FixRepo1679269929000 {
name = "FixRepo1679269929000";
async up(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'`,
);
}
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'`,
);
}
}