activiti.oracle.upgradestep.510.to.511.history.sql 905 B

1234567891011121314151617181920212223242526272829303132
  1. create table ACT_HI_VARINST (
  2. ID_ NVARCHAR2(64) not null,
  3. PROC_INST_ID_ NVARCHAR2(64),
  4. EXECUTION_ID_ NVARCHAR2(64),
  5. TASK_ID_ NVARCHAR2(64),
  6. NAME_ NVARCHAR2(255) not null,
  7. VAR_TYPE_ NVARCHAR2(100),
  8. REV_ INTEGER,
  9. BYTEARRAY_ID_ NVARCHAR2(64),
  10. DOUBLE_ NUMBER(*,10),
  11. LONG_ NUMBER(19,0),
  12. TEXT_ NVARCHAR2(2000),
  13. TEXT2_ NVARCHAR2(2000),
  14. primary key (ID_)
  15. );
  16. create index ACT_IDX_HI_PROCVAR_PROC_INST on ACT_HI_VARINST(PROC_INST_ID_);
  17. create index ACT_IDX_HI_PROCVAR_NAME_TYPE on ACT_HI_VARINST(NAME_, VAR_TYPE_);
  18. alter table ACT_HI_ACTINST
  19. add TASK_ID_ NVARCHAR2(64);
  20. alter table ACT_HI_ACTINST
  21. add CALL_PROC_INST_ID_ NVARCHAR2(64);
  22. alter table ACT_HI_DETAIL
  23. modify PROC_INST_ID_ NVARCHAR2(64) null;
  24. alter table ACT_HI_DETAIL
  25. modify EXECUTION_ID_ NVARCHAR2(64) null;
  26. create index ACT_IDX_HI_ACT_INST_PROCINST on ACT_HI_ACTINST(PROC_INST_ID_, ACT_ID_);