calckey/packages/backend/migration/1668831378728FixCalckeyAgai...

16 lines
331 B
JavaScript
Raw Normal View History

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