db.upgrade-scripts.derby.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 column workItemId bigint;
update AuditTaskImpl a set workItemId = (select workItemId from Task where id = a.taskId);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);