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 13:18:00 +09:00
await queryRunner.query(`UPDATE "meta" SET "useStarForReactionFallback" = TRUE`);
}
async down(queryRunner) {
await queryRunner.query(`UPDATE "meta" SET "useStarForReactionFallback" = FALSE`);
}
}