1
0
Fork 1
mirror of https://example.com synced 2024-11-25 00:06:40 +09:00
firefish/packages/backend/migration/1679269929000-fix-repo.js
Kainoa Kanter 7fb130b06e formatting
2023-04-06 18:56:46 -07:00

21 lines
584 B
JavaScript

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