activiti.hsql.upgradestep.51800.to.51801.engine.sql 711 B

1234567891011121314151617181920212223242526
  1. update ACT_GE_PROPERTY set VALUE_ = '5.18.0.1' where NAME_ = 'schema.version';
  2. create table ACT_PROCDEF_INFO (
  3. ID_ varchar(64) not null,
  4. PROC_DEF_ID_ varchar(64) not null,
  5. REV_ integer,
  6. INFO_JSON_ID_ varchar(64),
  7. primary key (ID_)
  8. );
  9. create index ACT_IDX_INFO_PROCDEF on ACT_PROCDEF_INFO(PROC_DEF_ID_);
  10. alter table ACT_PROCDEF_INFO
  11. add constraint ACT_FK_INFO_JSON_BA
  12. foreign key (INFO_JSON_ID_)
  13. references ACT_GE_BYTEARRAY (ID_);
  14. alter table ACT_PROCDEF_INFO
  15. add constraint ACT_FK_INFO_PROCDEF
  16. foreign key (PROC_DEF_ID_)
  17. references ACT_RE_PROCDEF (ID_);
  18. alter table ACT_PROCDEF_INFO
  19. add constraint ACT_UNIQ_INFO_PROCDEF
  20. unique (PROC_DEF_ID_);