summaryrefslogtreecommitdiff
path: root/packages/backend/migration/1576869585998-ProxyRemoteFiles.js
blob: 867ae3d6e7949c4ed1c84f08c75eee9ff9d3b8f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ProxyRemoteFiles1576869585998 {
    constructor() {
        this.name = 'ProxyRemoteFiles1576869585998';
    }
    async up(queryRunner) {
        await queryRunner.query(`ALTER TABLE "meta" ADD "proxyRemoteFiles" boolean NOT NULL DEFAULT false`, undefined);
    }
    async down(queryRunner) {
        await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "proxyRemoteFiles"`, undefined);
    }
}
exports.ProxyRemoteFiles1576869585998 = ProxyRemoteFiles1576869585998;