iceshrimp/packages/backend/migration/1668831378728FixCalckeyAgain.js

12 lines
315 B
JavaScript
Raw Normal View History

export class FixCalckeyAgain1668831378728 {
name = 'FixCalckeyAgain1668831378728'
async up(queryRunner) {
2022-11-19 04:18:00 +00:00
await queryRunner.query(`UPDATE "meta" SET "useStarForReactionFallback" = TRUE`);
}
async down(queryRunner) {
await queryRunner.query(`UPDATE "meta" SET "useStarForReactionFallback" = FALSE`);
}
}