activiti.mysql.upgradestep.59.to.510.engine.sql 559 B

12345678910111213141516171819
  1. alter table ACT_RU_IDENTITYLINK
  2. add PROC_DEF_ID_ varchar(64);
  3. create index ACT_IDX_VARIABLE_TASK_ID on ACT_RU_VARIABLE(TASK_ID_);
  4. create index ACT_IDX_ATHRZ_PROCEDEF on ACT_RU_IDENTITYLINK(PROC_DEF_ID_);
  5. alter table ACT_RU_IDENTITYLINK
  6. add constraint ACT_FK_ATHRZ_PROCEDEF
  7. foreign key (PROC_DEF_ID_)
  8. references ACT_RE_PROCDEF(ID_);
  9. alter table ACT_RU_EXECUTION
  10. add CACHED_ENT_STATE_ integer;
  11. update ACT_RU_EXECUTION set CACHED_ENT_STATE_ = 7;
  12. alter table ACT_RE_PROCDEF
  13. add constraint ACT_UNIQ_PROCDEF
  14. unique (KEY_,VERSION_);