activiti.postgres.upgradestep.51800.to.51801.engine.sql 790 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_PROCDEF_INFO_JSON on ACT_PROCDEF_INFO(INFO_JSON_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. create index ACT_IDX_PROCDEF_INFO_PROC on ACT_PROCDEF_INFO(PROC_DEF_ID_);
  15. alter table ACT_PROCDEF_INFO
  16. add constraint ACT_FK_INFO_PROCDEF
  17. foreign key (PROC_DEF_ID_)
  18. references ACT_RE_PROCDEF (ID_);
  19. alter table ACT_PROCDEF_INFO
  20. add constraint ACT_UNIQ_INFO_PROCDEF
  21. unique (PROC_DEF_ID_);