CREATE TABLE workflow_triggers (
    id SERIAL,
    workflow_id INTEGER NOT NULL,
    event_name varchar(100) NOT NULL,
    isDeleted BOOLEAN NOT NULL DEFAULT FALSE,
    updatedAt TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    PRIMARY KEY (id)
);
CREATE INDEX workflow_triggers_wf_idx ON workflow_triggers (workflow_id);
CREATE INDEX workflow_triggers_event_idx ON workflow_triggers (event_name);
