iceshrimp/packages/backend/migration/1689965609061-iceshrimp-repo.js
2023-07-21 20:55:32 +02:00

22 lines
610 B
JavaScript

export class IceshrimpRepo1689965609061 {
name = "IceshrimpRepo1689965609061";
async up(queryRunner) {
await queryRunner.query(
`UPDATE meta SET "repositoryUrl" = 'https://iceshrimp.dev/iceshrimp/iceshrimp'`,
);
await queryRunner.query(
`UPDATE meta SET "feedbackUrl" = 'https://iceshrimp.dev/iceshrimp/iceshrimp/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'`,
);
}
}