db.upgrade-scripts.hsqldb.jbpm-6.2-to-6.3.sql Maven / Gradle / Ivy
ALTER TABLE ProcessInstanceLog ADD COLUMN correlationKey VARCHAR(255);
ALTER TABLE TaskEvent ADD COLUMN message VARCHAR(255);
ALTER TABLE AuditTaskImpl ADD workItemId bigint;
UPDATE AuditTaskImpl a SET workItemId = (SELECT workItemId FROM Task WHERE id = a.taskId);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);