db.upgrade-scripts.derby.jbpm-6.5-to-7.0.sql Maven / Gradle / Ivy
alter table RequestInfo add column priority integer;
ALTER TABLE ProcessInstanceLog ADD COLUMN processType integer;
update ProcessInstanceLog set processType = 1;
update RequestInfo set priority = 5;
create table CaseIdInfo (
id bigint generated by default as identity,
caseIdPrefix varchar(255),
currentValue bigint,
primary key (id)
);
create table CaseRoleAssignmentLog (
id bigint generated by default as identity,
caseId varchar(255),
entityId varchar(255),
processInstanceId bigint not null,
roleName varchar(255),
type integer not null,
primary key (id)
);
create unique index UK_CaseIdInfo_1 on CaseIdInfo (caseIdPrefix);
ALTER TABLE NodeInstanceLog ADD COLUMN referenceId bigint;
ALTER TABLE NodeInstanceLog ADD COLUMN nodeContainerId varchar(255);