summaryrefslogtreecommitdiff
path: root/packages/backend/migration/1673575973645-MetaClean.js
blob: 11be4c1cdd29da147144b2936a2d5a1ac228f7b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
export class MetaClean1673575973645 {
    name = 'MetaClean1673575973645'

    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "remoteDriveCapacityMb"`);
    }

    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "meta" ADD "remoteDriveCapacityMb" integer NOT NULL DEFAULT '32'`);
    }
}