2022-07-05 00:21:01 +09:00
|
|
|
export class driveCapacityOverrideMb1655813815729 {
|
2023-04-07 10:56:46 +09:00
|
|
|
name = "driveCapacityOverrideMb1655813815729";
|
2022-07-05 00:21:01 +09:00
|
|
|
|
2023-04-07 10:56:46 +09:00
|
|
|
async up(queryRunner) {
|
|
|
|
await queryRunner.query(
|
|
|
|
`ALTER TABLE "user" ADD "driveCapacityOverrideMb" integer`,
|
|
|
|
);
|
|
|
|
await queryRunner.query(
|
|
|
|
`COMMENT ON COLUMN "user"."driveCapacityOverrideMb" IS 'Overrides user drive capacity limit'`,
|
|
|
|
);
|
|
|
|
}
|
2022-07-05 00:21:01 +09:00
|
|
|
|
2023-04-07 10:56:46 +09:00
|
|
|
async down(queryRunner) {
|
|
|
|
await queryRunner.query(
|
|
|
|
`COMMENT ON COLUMN "user"."driveCapacityOverrideMb" IS 'Overrides user drive capacity limit'`,
|
|
|
|
);
|
|
|
|
await queryRunner.query(
|
|
|
|
`ALTER TABLE "user" DROP COLUMN "driveCapacityOverrideMb"`,
|
|
|
|
);
|
|
|
|
}
|
2022-07-05 00:21:01 +09:00
|
|
|
}
|