Restyled by prettier

This commit is contained in:
Restyled.io 2024-08-19 14:52:07 +00:00
parent dc55f0fee8
commit 34feb2eb43

View file

@ -1,12 +1,13 @@
export class vacationMode1724078037441 { export class vacationMode1724078037441 {
name = 'vacationMode1724078037441' name = "vacationMode1724078037441";
async up(queryRunner) { async up(queryRunner) {
await queryRunner.query( await queryRunner.query(
`ALTER TABLE "user" ADD "isVacation" boolean NOT NULL DEFAULT false`); `ALTER TABLE "user" ADD "isVacation" boolean NOT NULL DEFAULT false`,
} );
}
async down(queryRunner) { async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "isVacation"`); await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "isVacation"`);
} }
} }