1
0
Fork 1
mirror of https://example.com synced 2024-11-26 11:16:43 +09:00
firefish/packages/backend/migration/1689739513827-firefish-repo.js

22 lines
616 B
JavaScript
Raw Normal View History

2023-07-19 13:21:48 +09:00
export class FirefishRepo1689739513827 {
name = "FirefishRepo1689739513827";
async up(queryRunner) {
await queryRunner.query(
2023-07-20 07:20:22 +09:00
`UPDATE meta SET "repositoryUrl" = 'https://codeberg.org/firefish/firefish'`,
2023-07-19 13:21:48 +09:00
);
await queryRunner.query(
2023-07-20 07:20:22 +09:00
`UPDATE meta SET "feedbackUrl" = 'https://codeberg.org/firefish/firefish/issues'`,
2023-07-19 13:21:48 +09:00
);
}
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'`,
);
}
}