Restyled by prettier
This commit is contained in:
parent
dc55f0fee8
commit
34feb2eb43
1 changed files with 9 additions and 8 deletions
|
@ -1,12 +1,13 @@
|
|||
export class vacationMode1724078037441 {
|
||||
name = 'vacationMode1724078037441'
|
||||
name = "vacationMode1724078037441";
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(
|
||||
`ALTER TABLE "user" ADD "isVacation" boolean NOT NULL DEFAULT false`);
|
||||
}
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(
|
||||
`ALTER TABLE "user" ADD "isVacation" boolean NOT NULL DEFAULT false`,
|
||||
);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "isVacation"`);
|
||||
}
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "isVacation"`);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue