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