org.activiti.db.upgrade.activiti.mssql.upgradestep.59.to.510.engine.sql Maven / Gradle / Ivy
The newest version!
alter table ACT_RU_IDENTITYLINK
add PROC_DEF_ID_ nvarchar(64);
create index ACT_IDX_VARIABLE_TASK_ID on ACT_RU_VARIABLE(TASK_ID_);
create index ACT_IDX_ATHRZ_PROCEDEF on ACT_RU_IDENTITYLINK(PROC_DEF_ID_);
alter table ACT_RU_IDENTITYLINK
add constraint ACT_FK_ATHRZ_PROCEDEF
foreign key (PROC_DEF_ID_)
references ACT_RE_PROCDEF (ID_);
alter table ACT_RU_EXECUTION
add CACHED_ENT_STATE_ int;
update ACT_RU_EXECUTION set CACHED_ENT_STATE_ = 7;
alter table ACT_RE_PROCDEF
add constraint ACT_UNIQ_PROCDEF
unique (KEY_,VERSION_);