wip
This commit is contained in:
parent
549202d0e9
commit
1d2d4ab023
3 changed files with 18 additions and 0 deletions
11
packages/backend/migration/1724078037441-vacationMode.js
Normal file
11
packages/backend/migration/1724078037441-vacationMode.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
export class vacationMode1724078037441 {
|
||||
name = 'vacationMode1724078037441'
|
||||
|
||||
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"`);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue