n8n
Version:
n8n Workflow Automation Tool
17 lines • 862 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessageEventBusDestinations1671535397530 = void 0;
class MessageEventBusDestinations1671535397530 {
async up({ queryRunner, tablePrefix }) {
await queryRunner.query(`CREATE TABLE ${tablePrefix}event_destinations (` +
'"id" UUID PRIMARY KEY NOT NULL,' +
'"destination" JSONB NOT NULL,' +
'"createdAt" TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,' +
'"updatedAt" TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP);');
}
async down({ queryRunner, tablePrefix }) {
await queryRunner.query(`DROP TABLE "${tablePrefix}event_destinations"`);
}
}
exports.MessageEventBusDestinations1671535397530 = MessageEventBusDestinations1671535397530;
//# sourceMappingURL=1671535397530-MessageEventBusDestinations.js.map
;