mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 20:49:06 +01:00
22 lines
612 B
JavaScript
22 lines
612 B
JavaScript
export class driveCapacityOverrideMb1655813815729 {
|
|
name = "driveCapacityOverrideMb1655813815729";
|
|
|
|
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'`,
|
|
);
|
|
}
|
|
|
|
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"`,
|
|
);
|
|
}
|
|
}
|