Skip to content

Commit 51d2795

Browse files
committed
Remove drop index ACT_IDX_BYTEAR_DEPL from engine drop scripts
ACT_GE_BYTEARRAY is a common schema table, not an engine table. Having its index drop in the engine drop script causes the drop to fail when the common schema is dropped first (reverse order in drop-create), which prevents the history drop from executing and leaves history tables behind for subsequent schema creation.
1 parent 0bbcd24 commit 51d2795

6 files changed

Lines changed: 0 additions & 6 deletions

File tree

modules/flowable-engine/src/main/resources/org/flowable/db/drop/flowable.db2.drop.engine.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
drop index ACT_IDX_EXEC_REF_ID_;
22
drop index ACT_IDC_EXEC_ROOT;
33
drop index ACT_IDX_EXEC_BUSKEY;
4-
drop index ACT_IDX_BYTEAR_DEPL;
54
drop index ACT_IDX_VARIABLE_TASK_ID;
65

76
alter table ACT_GE_BYTEARRAY

modules/flowable-engine/src/main/resources/org/flowable/db/drop/flowable.h2.drop.engine.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ drop index if exists ACT_IDX_EXEC_BUSKEY;
1212
drop index if exists ACT_IDX_VARIABLE_TASK_ID;
1313
drop index if exists ACT_IDX_ATHRZ_PROCEDEF;
1414
drop index if exists ACT_IDX_INFO_PROCDEF;
15-
drop index if exists ACT_IDX_BYTEAR_DEPL;
1615

1716
drop index if exists ACT_IDX_RU_ACTI_START;
1817
drop index if exists ACT_IDX_RU_ACTI_END;

modules/flowable-engine/src/main/resources/org/flowable/db/drop/flowable.hsql.drop.engine.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ drop table if exists ACT_PROCDEF_INFO cascade;
99
drop index if exists ACT_IDX_EXEC_REF_ID_;
1010
drop index if exists ACT_IDX_EXE_ROOT;
1111
drop index if exists ACT_IDX_EXEC_BUSKEY;
12-
drop index if exists ACT_IDX_BYTEAR_DEPL;
1312
drop index if exists ACT_IDX_VARIABLE_TASK_ID;
1413
drop index if exists ACT_IDX_ATHRZ_PROCEDEF;
1514
drop index if exists ACT_IDX_INFO_PROCDEF;

modules/flowable-engine/src/main/resources/org/flowable/db/drop/flowable.mssql.drop.engine.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
IF EXISTS (SELECT name FROM sysindexes WHERE name = 'ACT_IDX_EXEC_REF_ID_') drop index ACT_RU_EXECUTION.ACT_IDX_EXEC_REF_ID_;
22
IF EXISTS (SELECT name FROM sysindexes WHERE name = 'ACT_IDX_EXEC_ROOT') drop index ACT_RU_EXECUTION.ACT_IDX_EXEC_ROOT;
33
IF EXISTS (SELECT name FROM sysindexes WHERE name = 'ACT_IDX_EXEC_BUSKEY') drop index ACT_RU_EXECUTION.ACT_IDX_EXEC_BUSKEY;
4-
IF EXISTS (SELECT name FROM sysindexes WHERE name = 'ACT_IDX_BYTEAR_DEPL') drop index ACT_GE_BYTEARRAY.ACT_IDX_BYTEAR_DEPL;
54
IF EXISTS (SELECT name FROM sysindexes WHERE name = 'ACT_IDX_VARIABLE_TASK_ID') drop index ACT_RU_VARIABLE.ACT_IDX_VARIABLE_TASK_ID;
65
IF EXISTS (SELECT name FROM sysindexes WHERE name = 'ACT_IDX_INFO_PROCDEF') drop index ACT_PROCDEF_INFO.ACT_IDX_INFO_PROCDEF;
76

modules/flowable-engine/src/main/resources/org/flowable/db/drop/flowable.mysql.drop.engine.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
drop index ACT_IDX_EXEC_REF_ID_ on ACT_RU_EXECUTION;
22
drop index ACT_IDC_EXEC_ROOT on ACT_RU_EXECUTION;
33
drop index ACT_IDX_EXEC_BUSKEY on ACT_RU_EXECUTION;
4-
drop index ACT_IDX_BYTEAR_DEPL on ACT_GE_BYTEARRAY;
54
drop index ACT_IDX_VARIABLE_TASK_ID on ACT_RU_VARIABLE;
65
drop index ACT_IDX_INFO_PROCDEF on ACT_PROCDEF_INFO;
76

modules/flowable-engine/src/main/resources/org/flowable/db/drop/flowable.oracle.drop.engine.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
drop index ACT_IDX_EXEC_REF_ID_;
22
drop index ACT_IDX_EXEC_ROOT;
3-
drop index ACT_IDX_BYTEAR_DEPL;
43
drop index ACT_IDX_EXE_PROCINST;
54
drop index ACT_IDX_EXE_PARENT;
65
drop index ACT_IDX_EXE_SUPER;

0 commit comments

Comments
 (0)