n8n
Version:
n8n Workflow Automation Tool
13 lines • 701 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebhookModel1592445003908 = void 0;
class WebhookModel1592445003908 {
async up({ queryRunner, tablePrefix }) {
await queryRunner.query(`CREATE TABLE IF NOT EXISTS ${tablePrefix}webhook_entity ("workflowId" integer NOT NULL, "webhookPath" varchar NOT NULL, "method" varchar NOT NULL, "node" varchar NOT NULL, PRIMARY KEY ("webhookPath", "method"))`);
}
async down({ queryRunner, tablePrefix }) {
await queryRunner.query(`DROP TABLE ${tablePrefix}webhook_entity`);
}
}
exports.WebhookModel1592445003908 = WebhookModel1592445003908;
//# sourceMappingURL=1592445003908-WebhookModel.js.map
;