Skip to content

Commit

Permalink
Fix mysql common engine drop script
Browse files Browse the repository at this point in the history
  • Loading branch information
tijsrademakers authored Aug 20, 2024
1 parent f85122d commit 2354689
Showing 1 changed file with 36 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,42 +40,6 @@ drop index ACT_IDX_HI_IDENT_LNK_SCOPE_DEF on ACT_HI_IDENTITYLINK;

drop table if exists ACT_HI_IDENTITYLINK;

drop index ACT_IDX_JOB_EXCEPTION_STACK_ID;
drop index ACT_IDX_JOB_CUSTOM_VALUES_ID;
drop index ACT_IDX_JOB_CORRELATION_ID;
drop index ACT_IDX_JOB_SCOPE on ACT_RU_JOB;
drop index ACT_IDX_JOB_SUB_SCOPE on ACT_RU_JOB;
drop index ACT_IDX_JOB_SCOPE_DEF on ACT_RU_JOB;

drop index ACT_IDX_TIMER_JOB_EXCEPTION_STACK_ID;
drop index ACT_IDX_TIMER_JOB_CUSTOM_VALUES_ID;
drop index ACT_IDX_TIMER_JOB_CORRELATION_ID;
drop index ACT_IDX_TIMER_JOB_DUEDATE;
drop index ACT_IDX_TJOB_SCOPE on ACT_RU_TIMER_JOB;
drop index ACT_IDX_TJOB_SUB_SCOPE on ACT_RU_TIMER_JOB;
drop index ACT_IDX_TJOB_SCOPE_DEF on ACT_RU_TIMER_JOB;

drop index ACT_IDX_SUSPENDED_JOB_EXCEPTION_STACK_ID;
drop index ACT_IDX_SUSPENDED_JOB_CUSTOM_VALUES_ID;
drop index ACT_IDX_SUSPENDED_JOB_CORRELATION_ID;
drop index ACT_IDX_SJOB_SCOPE on ACT_RU_SUSPENDED_JOB;
drop index ACT_IDX_SJOB_SUB_SCOPE on ACT_RU_SUSPENDED_JOB;
drop index ACT_IDX_SJOB_SCOPE_DEF on ACT_RU_SUSPENDED_JOB;

drop index ACT_IDX_DEADLETTER_JOB_EXCEPTION_STACK_ID;
drop index ACT_IDX_DEADLETTER_JOB_CUSTOM_VALUES_ID;
drop index ACT_IDX_DEADLETTER_JOB_CORRELATION_ID;
drop index ACT_IDX_DJOB_SCOPE on ACT_RU_DEADLETTER_JOB;
drop index ACT_IDX_DJOB_SUB_SCOPE on ACT_RU_DEADLETTER_JOB;
drop index ACT_IDX_DJOB_SCOPE_DEF on ACT_RU_DEADLETTER_JOB;

drop index ACT_IDX_EXTERNAL_JOB_EXCEPTION_STACK_ID;
drop index ACT_IDX_EXTERNAL_JOB_CUSTOM_VALUES_ID;
drop index ACT_IDX_EXTERNAL_JOB_CORRELATION_ID;
drop index ACT_IDX_EJOB_SCOPE on ACT_RU_EXTERNAL_JOB;
drop index ACT_IDX_EJOB_SUB_SCOPE on ACT_RU_EXTERNAL_JOB;
drop index ACT_IDX_EJOB_SCOPE_DEF on ACT_RU_EXTERNAL_JOB;

alter table ACT_RU_JOB
drop foreign key ACT_FK_JOB_EXCEPTION;

Expand Down Expand Up @@ -106,6 +70,42 @@ alter table ACT_RU_EXTERNAL_JOB
alter table ACT_RU_EXTERNAL_JOB
drop foreign key ACT_FK_EXTERNAL_JOB_CUSTOM_VALUES;

drop index ACT_IDX_JOB_EXCEPTION_STACK_ID on ACT_RU_JOB;
drop index ACT_IDX_JOB_CUSTOM_VALUES_ID on ACT_RU_JOB;
drop index ACT_IDX_JOB_CORRELATION_ID on ACT_RU_JOB;
drop index ACT_IDX_JOB_SCOPE on ACT_RU_JOB;
drop index ACT_IDX_JOB_SUB_SCOPE on ACT_RU_JOB;
drop index ACT_IDX_JOB_SCOPE_DEF on ACT_RU_JOB;

drop index ACT_IDX_TIMER_JOB_EXCEPTION_STACK_ID on ACT_RU_TIMER_JOB;
drop index ACT_IDX_TIMER_JOB_CUSTOM_VALUES_ID on ACT_RU_TIMER_JOB;
drop index ACT_IDX_TIMER_JOB_CORRELATION_ID on ACT_RU_TIMER_JOB;
drop index ACT_IDX_TIMER_JOB_DUEDATE on ACT_RU_TIMER_JOB;
drop index ACT_IDX_TJOB_SCOPE on ACT_RU_TIMER_JOB;
drop index ACT_IDX_TJOB_SUB_SCOPE on ACT_RU_TIMER_JOB;
drop index ACT_IDX_TJOB_SCOPE_DEF on ACT_RU_TIMER_JOB;

drop index ACT_IDX_SUSPENDED_JOB_EXCEPTION_STACK_ID on ACT_RU_SUSPENDED_JOB;
drop index ACT_IDX_SUSPENDED_JOB_CUSTOM_VALUES_ID on ACT_RU_SUSPENDED_JOB;
drop index ACT_IDX_SUSPENDED_JOB_CORRELATION_ID on ACT_RU_SUSPENDED_JOB;
drop index ACT_IDX_SJOB_SCOPE on ACT_RU_SUSPENDED_JOB;
drop index ACT_IDX_SJOB_SUB_SCOPE on ACT_RU_SUSPENDED_JOB;
drop index ACT_IDX_SJOB_SCOPE_DEF on ACT_RU_SUSPENDED_JOB;

drop index ACT_IDX_DEADLETTER_JOB_EXCEPTION_STACK_ID on ACT_RU_DEADLETTER_JOB;
drop index ACT_IDX_DEADLETTER_JOB_CUSTOM_VALUES_ID on ACT_RU_DEADLETTER_JOB;
drop index ACT_IDX_DEADLETTER_JOB_CORRELATION_ID on ACT_RU_DEADLETTER_JOB;
drop index ACT_IDX_DJOB_SCOPE on ACT_RU_DEADLETTER_JOB;
drop index ACT_IDX_DJOB_SUB_SCOPE on ACT_RU_DEADLETTER_JOB;
drop index ACT_IDX_DJOB_SCOPE_DEF on ACT_RU_DEADLETTER_JOB;

drop index ACT_IDX_EXTERNAL_JOB_EXCEPTION_STACK_ID on ACT_RU_EXTERNAL_JOB;
drop index ACT_IDX_EXTERNAL_JOB_CUSTOM_VALUES_ID on ACT_RU_EXTERNAL_JOB;
drop index ACT_IDX_EXTERNAL_JOB_CORRELATION_ID on ACT_RU_EXTERNAL_JOB;
drop index ACT_IDX_EJOB_SCOPE on ACT_RU_EXTERNAL_JOB;
drop index ACT_IDX_EJOB_SUB_SCOPE on ACT_RU_EXTERNAL_JOB;
drop index ACT_IDX_EJOB_SCOPE_DEF on ACT_RU_EXTERNAL_JOB;

drop table if exists ACT_RU_JOB;
drop table if exists ACT_RU_TIMER_JOB;
drop table if exists ACT_RU_SUSPENDED_JOB;
Expand Down

0 comments on commit 2354689

Please sign in to comment.