2022-12-18 11:41:11 -07:00
|
|
|
/* "CalckeyRepoMove1671388343000" is a class that updates the "useStarForReactionFallback" column in
|
|
|
|
the "meta" table to TRUE */
|
|
|
|
export class CalckeyRepoMove1671388343000 {
|
2023-04-06 19:56:46 -06:00
|
|
|
name = "CalckeyRepoMove1671388343000";
|
2022-12-18 11:41:11 -07:00
|
|
|
|
|
|
|
async up(queryRunner) {
|
2023-04-06 19:56:46 -06:00
|
|
|
await queryRunner.query(
|
|
|
|
`UPDATE meta SET "repositoryUrl" = 'https://codeberg/calckey/calckey'`,
|
|
|
|
);
|
|
|
|
await queryRunner.query(
|
|
|
|
`UPDATE meta SET "feedbackUrl" = 'https://codeberg/calckey/calckey/issues'`,
|
|
|
|
);
|
2022-12-18 11:41:11 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
async down(queryRunner) {
|
2023-04-06 19:56:46 -06:00
|
|
|
await queryRunner.query(
|
|
|
|
`UPDATE meta SET "repositoryUrl" = 'https://codeberg/calckey/calckey'`,
|
|
|
|
);
|
|
|
|
await queryRunner.query(
|
|
|
|
`UPDATE meta SET "feedbackUrl" = 'https://codeberg/calckey/calckey/issues'`,
|
|
|
|
);
|
2022-12-18 11:41:11 -07:00
|
|
|
}
|
|
|
|
}
|