"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "RemovePrinterFile1720338804844", {
    enumerable: true,
    get: function() {
        return RemovePrinterFile1720338804844;
    }
});
class RemovePrinterFile1720338804844 {
    name = "RemovePrinterFile1720338804844";
    async up(queryRunner) {
        await queryRunner.query(`
            DROP TABLE "printer_file"
        `);
    }
    async down(queryRunner) {
        await queryRunner.query(`
            CREATE TABLE "printer_file" (
                "id" integer PRIMARY KEY AUTOINCREMENT NOT NULL,
                "printerId" integer NOT NULL,
                "name" varchar NOT NULL,
                "date" integer NOT NULL,
                "display" varchar NOT NULL,
                "gcodeAnalysis" text,
                "hash" varchar NOT NULL,
                "origin" varchar NOT NULL,
                "path" varchar NOT NULL,
                "prints" text,
                "refs" text,
                "size" integer,
                "statistics" text,
                "type" varchar,
                "typePath" text,
                "customData" text NOT NULL,
                CONSTRAINT "FK_66046b90513581dfadc836223a4" FOREIGN KEY ("printerId") REFERENCES "printer" ("id") ON DELETE CASCADE ON UPDATE NO ACTION
            )
        `);
    }
}

//# sourceMappingURL=1720338804844-RemovePrinterFile.js.map