UNPKG

n8n

Version:

n8n Workflow Automation Tool

13 lines 714 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WebhookModel1592447867632 = void 0; class WebhookModel1592447867632 { async up({ queryRunner, tablePrefix }) { await queryRunner.query(`CREATE TABLE IF NOT EXISTS ${tablePrefix}webhook_entity (workflowId int NOT NULL, webhookPath varchar(255) NOT NULL, method varchar(255) NOT NULL, node varchar(255) NOT NULL, PRIMARY KEY (webhookPath, method)) ENGINE=InnoDB`); } async down({ queryRunner, tablePrefix }) { await queryRunner.query(`DROP TABLE ${tablePrefix}webhook_entity`); } } exports.WebhookModel1592447867632 = WebhookModel1592447867632; //# sourceMappingURL=1592447867632-WebhookModel.js.map