jormungandr-bite/packages/backend/src/migration/1668831378728FixCalckeyAgain.ts
2023-10-13 18:44:25 +02:00

16 lines
478 B
TypeScript

import { MigrationInterface, QueryRunner } from "typeorm";
export class FixFirefishAgain1668831378728 implements MigrationInterface {
name = "FixFirefishAgain1668831378728";
async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
`UPDATE "meta" SET "useStarForReactionFallback" = TRUE`,
);
}
async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
`UPDATE "meta" SET "useStarForReactionFallback" = FALSE`,
);
}
}