This commit is contained in:
무라쿠모 2024-08-19 23:50:26 +09:00
parent 549202d0e9
commit 1d2d4ab023
No known key found for this signature in database
GPG key ID: 139D6573F92DA9F7
3 changed files with 18 additions and 0 deletions

View 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"`);
}
}