UNPKG

n8n

Version:

n8n Workflow Automation Tool

19 lines 882 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CreateIndexStoppedAt1594825041918 = void 0; const config = require("../../../../config"); class CreateIndexStoppedAt1594825041918 { constructor() { this.name = 'CreateIndexStoppedAt1594825041918'; } async up(queryRunner) { const tablePrefix = config.get('database.tablePrefix'); await queryRunner.query(`CREATE INDEX "IDX_${tablePrefix}cefb067df2402f6aed0638a6c1" ON "${tablePrefix}execution_entity" ("stoppedAt") `); } async down(queryRunner) { const tablePrefix = config.get('database.tablePrefix'); await queryRunner.query(`DROP INDEX "IDX_${tablePrefix}cefb067df2402f6aed0638a6c1"`); } } exports.CreateIndexStoppedAt1594825041918 = CreateIndexStoppedAt1594825041918; //# sourceMappingURL=1594825041918-CreateIndexStoppedAt.js.map