mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-25 05:29:07 +01:00
repo move migration
This commit is contained in:
parent
1a9e55b0f3
commit
0b87130f08
@ -14,4 +14,4 @@ matrix:
|
|||||||
- 19.2.0
|
- 19.2.0
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
include: [ master, develop, feature/* ]
|
include: [ main, develop, feature/* ]
|
||||||
|
@ -24,4 +24,4 @@ matrix:
|
|||||||
- latest
|
- latest
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
include: [ master, develop, feature/* ]
|
include: [ main, develop, feature/* ]
|
||||||
|
@ -8,4 +8,4 @@ pipeline:
|
|||||||
no_push: true
|
no_push: true
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
include: [ master, develop ]
|
include: [ main, develop ]
|
||||||
|
15
packages/backend/migration/1671388343000-CalckeyRepoMove.js
Normal file
15
packages/backend/migration/1671388343000-CalckeyRepoMove.js
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
/* "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'`);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user