1
0
Fork 1
mirror of https://example.com synced 2024-11-24 06:56:41 +09:00
firefish/packages/backend/migration/1679269929000-fix-repo.js

14 lines
551 B
JavaScript
Raw Normal View History

2023-03-20 08:53:49 +09:00
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'`);
}
}