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