mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
16 lines
680 B
JavaScript
16 lines
680 B
JavaScript
|
/* "CalckeyRepoMove1671388343000" is a class that updates the "useStarForReactionFallback" column in
|
||
|
the "meta" table to TRUE */
|
||
|
export class CalckeyRepoMove1671388343000 {
|
||
|
name = 'CalckeyRepoMove1671388343000'
|
||
|
|
||
|
async up(queryRunner) {
|
||
|
await queryRunner.query(`UPDATE meta SET "repositoryUrl" = 'https://codeberg/calckey/calckey'`);
|
||
|
await queryRunner.query(`UPDATE meta SET "feedbackUrl" = 'https://codeberg/calckey/calckey/issues'`);
|
||
|
}
|
||
|
|
||
|
async down(queryRunner) {
|
||
|
await queryRunner.query(`UPDATE meta SET "repositoryUrl" = 'https://codeberg/calckey/calckey'`);
|
||
|
await queryRunner.query(`UPDATE meta SET "feedbackUrl" = 'https://codeberg/calckey/calckey/issues'`);
|
||
|
}
|
||
|
}
|