提交 4e2e6ee0 编写于 作者: J Joram Barrez

ACT-1860: fix for DB2

上级 2eae6725
alter table ACT_RU_TASK
add CATEGORY_ varchar(255);
Call Sysproc.admin_cmd ('REORG TABLE ACT_RU_TASK');
drop index ACT_UNIQ_RU_BUS_KEY;
alter table ACT_RU_EXECUTION drop colum UNI_BUSINESS_KEY;
alter table ACT_RU_EXECUTION drop colum UNI_PROC_DEF_ID;
Call Sysproc.admin_cmd ('REORG TABLE ACT_RU_EXECUTION');
update ACT_GE_PROPERTY set VALUE_ = '5.15-SNAPSHOT' where NAME_ = 'schema.version';
alter table ACT_HI_TASKINST
add CATEGORY_ varchar(255);
Call Sysproc.admin_cmd ('REORG TABLE ACT_HI_TASKINST');
drop index ACT_UNIQ_HI_BUS_KEY;
alter table ACT_HI_PROCINST drop colum UNI_BUSINESS_KEY;
alter table ACT_HI_PROCINST drop colum UNI_PROC_DEF_ID;
\ No newline at end of file
-- DB2 *cannot* drop columns. Yes, this is 2013.
-- This means that for DB2 the columns will remain as they are (they won't be used)
-- alter table ACT_HI_PROCINST drop colum UNI_BUSINESS_KEY;
-- alter table ACT_HI_PROCINST drop colum UNI_PROC_DEF_ID;
Call Sysproc.admin_cmd ('REORG TABLE ACT_HI_PROCINST');
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册