org.activiti.db.upgrade.activiti.postgres.upgradestep.511.to.512.history.sql Maven / Gradle / Ivy
alter table ACT_HI_TASKINST
add column CLAIM_TIME_ timestamp;
alter table ACT_HI_TASKINST
add column FORM_KEY_ varchar(255);
alter table ACT_RU_IDENTITYLINK
add PROC_INST_ID_ varchar(64);
create index ACT_IDX_IDL_PROCINST on ACT_RU_IDENTITYLINK(PROC_INST_ID_);
alter table ACT_RU_IDENTITYLINK
add constraint ACT_FK_IDL_PROCINST
foreign key (PROC_INST_ID_)
references ACT_RU_EXECUTION (ID_);
create index ACT_IDX_HI_ACT_INST_EXEC on ACT_HI_ACTINST(EXECUTION_ID_, ACT_ID_);