org.camunda.bpm.engine.db.drop.activiti.mssql.drop.case.engine.sql Maven / Gradle / Ivy
drop index ACT_RU_CASE_EXECUTION.ACT_IDX_CASE_EXEC_BUSKEY;
drop index ACT_RE_CASE_DEF.ACT_IDX_CASE_DEF_TENANT_ID;
-- indexes for concurrency problems - https://app.camunda.com/jira/browse/CAM-1646 --
drop index ACT_RU_CASE_EXECUTION.ACT_IDX_CASE_EXEC_CASE;
drop index ACT_RU_CASE_EXECUTION.ACT_IDX_CASE_EXEC_PARENT;
drop index ACT_RU_VARIABLE.ACT_IDX_VARIABLE_CASE_EXEC;
drop index ACT_RU_VARIABLE.ACT_IDX_VARIABLE_CASE_INST;
drop index ACT_RU_TASK.ACT_IDX_TASK_CASE_EXEC;
drop index ACT_RU_TASK.ACT_IDX_TASK_CASE_DEF_ID;
drop index ACT_RU_CASE_SENTRY_PART.ACT_IDX_CASE_SENTRY_CASE_INST;
drop index ACT_RU_CASE_SENTRY_PART.ACT_IDX_CASE_SENTRY_CASE_EXEC;
alter table ACT_RU_CASE_EXECUTION
drop constraint ACT_FK_CASE_EXE_CASE_INST;
alter table ACT_RU_CASE_EXECUTION
drop constraint ACT_FK_CASE_EXE_PARENT;
alter table ACT_RU_CASE_EXECUTION
drop constraint ACT_FK_CASE_EXE_CASE_DEF;
alter table ACT_RU_VARIABLE
drop constraint ACT_FK_VAR_CASE_EXE;
alter table ACT_RU_VARIABLE
drop constraint ACT_FK_VAR_CASE_INST;
alter table ACT_RU_TASK
drop constraint ACT_FK_TASK_CASE_EXE;
alter table ACT_RU_TASK
drop constraint ACT_FK_TASK_CASE_DEF;
alter table ACT_RU_CASE_SENTRY_PART
drop constraint ACT_FK_CASE_SENTRY_CASE_INST;
alter table ACT_RU_CASE_SENTRY_PART
drop constraint ACT_FK_CASE_SENTRY_CASE_EXEC;
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_RE_CASE_DEF') drop table ACT_RE_CASE_DEF;
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_RU_CASE_EXECUTION') drop table ACT_RU_CASE_EXECUTION;
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_RU_CASE_SENTRY_PART') drop table ACT_RU_CASE_SENTRY_PART;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy