jormungandr-bite/packages/backend/migration/1689965609061-iceshrimp-repo.js

22 lines
610 B
JavaScript
Raw Normal View History

2023-07-21 12:55:32 -06:00
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'`,
);
}
}