jormungandr-bite/packages/backend/migration/1679269929000-fix-repo.js

22 lines
584 B
JavaScript
Raw Normal View History

2023-03-19 17:53:49 -06:00
export class FixRepo1679269929000 {
2023-04-06 19:56:46 -06:00
name = "FixRepo1679269929000";
2023-03-19 17:53:49 -06:00
async up(queryRunner) {
2023-04-06 19:56:46 -06:00
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'`,
);
2023-03-19 17:53:49 -06:00
}
async down(queryRunner) {
2023-04-06 19:56:46 -06:00
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'`,
);
2023-03-19 17:53:49 -06:00
}
}