1
0
Fork 1
mirror of https://example.com synced 2024-11-23 05:06:41 +09:00
firefish/packages/backend/migration/1689957674000-firefish-repo.js
2023-07-22 09:54:24 +00: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'`,
);
}
}