1
0
Fork 1
mirror of https://example.com synced 2024-11-24 02:36:40 +09:00
firefish/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`,
);
}
}