1
0
Fork 1
mirror of https://example.com synced 2024-11-26 15:46:39 +09:00
firefish/packages/backend/migration/1689957674000-firefish-repo.js
ThatOneCalculator e35b38302d
refactor: ♻️ new git repo
for real this time
2023-07-21 09:44:29 -07:00

21 lines
618 B
JavaScript

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