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

16 lines
331 B
JavaScript
Raw Normal View History

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