mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 21:37:34 -07:00
Finally fix star reaction fallback migration
This commit is contained in:
parent
a210e75801
commit
613c560bcc
1 changed files with 11 additions and 0 deletions
11
packages/backend/migration/1668831378728FixCalckeyAgain.js
Normal file
11
packages/backend/migration/1668831378728FixCalckeyAgain.js
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
export class FixCalckeyAgain1668831378728 {
|
||||||
|
name = 'FixCalckeyAgain1668831378728'
|
||||||
|
|
||||||
|
async up(queryRunner) {
|
||||||
|
await queryRunner.query(`UPDATE "meta" SET "useStarForReactionFallback" = TRUE`);=
|
||||||
|
}
|
||||||
|
|
||||||
|
async down(queryRunner) {
|
||||||
|
await queryRunner.query(`UPDATE "meta" SET "useStarForReactionFallback" = FALSE`);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue