1
0
Fork 1
mirror of https://example.com synced 2024-11-26 17:46:40 +09:00
firefish/packages/backend/migration/1689739513827-firefish-repo.js
ThatOneCalculator b4ed4dec47
v1.0.1
2023-07-19 15:20:22 -07:00

21 lines
616 B
JavaScript

export class FirefishRepo1689739513827 {
name = "FirefishRepo1689739513827";
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/calckey/calckey'`,
);
await queryRunner.query(
`UPDATE meta SET "feedbackUrl" = 'https://codeberg.org/calckey/calckey/firefish/firefish/issues'`,
);
}
}