"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "DropPrintCompletions1767291804417", {
    enumerable: true,
    get: function() {
        return DropPrintCompletions1767291804417;
    }
});
class DropPrintCompletions1767291804417 {
    name = 'DropPrintCompletions1767291804417';
    async up(queryRunner) {
        await queryRunner.query(`
      DROP TABLE print_completion
    `);
    }
    async down(queryRunner) {
        await queryRunner.query(`
      CREATE TABLE "print_completion"
      (
        "id"               integer PRIMARY KEY AUTOINCREMENT NOT NULL,
        "fileName"         varchar NOT NULL,
        "createdAt"        integer NOT NULL DEFAULT (datetime('now')),
        "status"           varchar NOT NULL,
        "printerId"        integer NOT NULL,
        "printerReference" varchar,
        "completionLog"    varchar,
        "context"          text,
        CONSTRAINT "FK_c078b1dfe5f87f79f131520d856" FOREIGN KEY ("printerId") REFERENCES "printer" ("id") ON DELETE
          SET NULL ON UPDATE NO ACTION
      )
    `);
    }
}

//# sourceMappingURL=1767291804417-DropPrintCompletions.js.map