mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 04:59:06 +01:00
17 lines
516 B
TypeScript
17 lines
516 B
TypeScript
import { MigrationInterface, QueryRunner } from "typeorm";
|
|
export class RemoveShowTimelineReplies1684206886988 implements MigrationInterface {
|
|
name = "RemoveShowTimelineReplies1684206886988";
|
|
|
|
async up(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query(
|
|
`ALTER TABLE "user" DROP COLUMN "showTimelineReplies"`,
|
|
);
|
|
}
|
|
|
|
async down(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query(
|
|
`ALTER TABLE "user" ADD "showTimelineReplies" boolean NOT NULL DEFAULT false`,
|
|
);
|
|
}
|
|
}
|