mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
16 lines
478 B
TypeScript
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`,
|
|
);
|
|
}
|
|
}
|