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

16 lines
331 B
JavaScript
Raw Normal View History

export class FixCalckeyAgain1668831378728 {
2023-04-07 10:56:46 +09:00
name = "FixCalckeyAgain1668831378728";
async up(queryRunner) {
2023-04-07 10:56:46 +09:00
await queryRunner.query(
`UPDATE "meta" SET "useStarForReactionFallback" = TRUE`,
);
}
async down(queryRunner) {
2023-04-07 10:56:46 +09:00
await queryRunner.query(
`UPDATE "meta" SET "useStarForReactionFallback" = FALSE`,
);
}
}