rudeshark.net/packages/backend/migration/1679269929000-fix-repo.js
ThatOneCalculator f73ff912f1
fix: repo url
2023-03-19 16:53:49 -07:00

14 lines
551 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'`);
}
}