Skip to content

Commit 95af57a

Browse files
Merge main into branch
2 parents b62d085 + f803a2e commit 95af57a

25 files changed

+90
-6
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ alter table ACT_APP_APPDEF
88
drop table ACT_APP_APPDEF;
99
drop table ACT_APP_DEPLOYMENT_RESOURCE;
1010
drop table ACT_APP_DEPLOYMENT;
11+
12+
delete from ACT_GE_PROPERTY where NAME_ = 'app.schema.version';

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

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ drop table if exists ACT_APP_DEPLOYMENT cascade constraints;
55
drop index if exists ACT_IDX_APP_RSRC_DPL;
66
drop index if exists ACT_IDX_APP_DEF_DPLY;
77
drop index if exists ACT_IDX_APP_DEF_UNIQ;
8+
9+
delete from ACT_GE_PROPERTY where NAME_ = 'app.schema.version';

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

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = '
66
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_APP_APPDEF') drop table ACT_APP_APPDEF;
77
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_APP_DEPLOYMENT_RESOURCE') drop table ACT_APP_DEPLOYMENT_RESOURCE;
88
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_APP_DEPLOYMENT') drop table ACT_APP_DEPLOYMENT;
9+
10+
delete from ACT_GE_PROPERTY where NAME_ = 'app.schema.version';

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

+2
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ alter table ACT_APP_APPDEF
88
drop table if exists ACT_APP_APPDEF;
99
drop table if exists ACT_APP_DEPLOYMENT_RESOURCE;
1010
drop table if exists ACT_APP_DEPLOYMENT;
11+
12+
delete from ACT_GE_PROPERTY where NAME_ = 'app.schema.version';

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

+2
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ alter table ACT_APP_APPDEF
88
drop table ACT_APP_APPDEF;
99
drop table ACT_APP_DEPLOYMENT_RESOURCE;
1010
drop table ACT_APP_DEPLOYMENT;
11+
12+
delete from ACT_GE_PROPERTY where NAME_ = 'app.schema.version';
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
drop table if exists ACT_APP_APPDEF cascade;
22
drop table if exists ACT_APP_DEPLOYMENT_RESOURCE cascade;
33
drop table if exists ACT_APP_DEPLOYMENT cascade;
4+
5+
delete from ACT_GE_PROPERTY where NAME_ = 'app.schema.version';

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ drop table ACT_CMMN_RU_PLAN_ITEM_INST;
3535
drop table ACT_CMMN_RU_CASE_INST;
3636
drop table ACT_CMMN_CASEDEF;
3737
drop table ACT_CMMN_DEPLOYMENT_RESOURCE;
38-
drop table ACT_CMMN_DEPLOYMENT;
38+
drop table ACT_CMMN_DEPLOYMENT;
39+
40+
delete from ACT_GE_PROPERTY where NAME_ = 'cmmn.schema.version';

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

+2
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ drop index if exists ACT_IDX_CASE_INST_PARENT;
2525
drop index if exists ACT_IDX_CASE_INST_CASE_DEF;
2626
drop index if exists ACT_IDX_CASE_DEF_DPLY;
2727
drop index if exists ACT_IDX_CMMN_RSRC_DPL;
28+
29+
delete from ACT_GE_PROPERTY where NAME_ = 'cmmn.schema.version';

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = '
3535
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_CMMN_RU_CASE_INST') drop table ACT_CMMN_RU_CASE_INST;
3636
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_CMMN_CASEDEF') drop table ACT_CMMN_CASEDEF;
3737
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_CMMN_DEPLOYMENT_RESOURCE') drop table ACT_CMMN_DEPLOYMENT_RESOURCE;
38-
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_CMMN_DEPLOYMENT') drop table ACT_CMMN_DEPLOYMENT;
38+
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_CMMN_DEPLOYMENT') drop table ACT_CMMN_DEPLOYMENT;
39+
40+
delete from ACT_GE_PROPERTY where NAME_ = 'cmmn.schema.version';

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ drop table if exists ACT_CMMN_RU_PLAN_ITEM_INST;
3535
drop table if exists ACT_CMMN_RU_CASE_INST;
3636
drop table if exists ACT_CMMN_CASEDEF;
3737
drop table if exists ACT_CMMN_DEPLOYMENT_RESOURCE;
38-
drop table if exists ACT_CMMN_DEPLOYMENT;
38+
drop table if exists ACT_CMMN_DEPLOYMENT;
39+
40+
delete from ACT_GE_PROPERTY where NAME_ = 'cmmn.schema.version';

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ drop table ACT_CMMN_RU_PLAN_ITEM_INST;
3535
drop table ACT_CMMN_RU_CASE_INST;
3636
drop table ACT_CMMN_CASEDEF;
3737
drop table ACT_CMMN_DEPLOYMENT_RESOURCE;
38-
drop table ACT_CMMN_DEPLOYMENT;
38+
drop table ACT_CMMN_DEPLOYMENT;
39+
40+
delete from ACT_GE_PROPERTY where NAME_ = 'cmmn.schema.version';

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ drop table ACT_CMMN_RU_PLAN_ITEM_INST cascade;
77
drop table ACT_CMMN_RU_CASE_INST cascade;
88
drop table ACT_CMMN_CASEDEF cascade;
99
drop table ACT_CMMN_DEPLOYMENT_RESOURCE cascade;
10-
drop table ACT_CMMN_DEPLOYMENT cascade;
10+
drop table ACT_CMMN_DEPLOYMENT cascade;
11+
12+
delete from ACT_GE_PROPERTY where NAME_ = 'cmmn.schema.version';

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

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ drop table ACT_DMN_HI_DECISION_EXECUTION;
55
drop table ACT_DMN_DECISION;
66
drop table ACT_DMN_DEPLOYMENT_RESOURCE;
77
drop table ACT_DMN_DEPLOYMENT;
8+
9+
delete from ACT_GE_PROPERTY where NAME_ = 'dmn.schema.version';

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

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ drop table if exists ACT_DMN_DEPLOYMENT cascade constraints;
55

66
drop index if exists ACT_IDX_DMN_INSTANCE_ID;
77
drop index if exists ACT_IDX_DMN_DEC_UNIQ;
8+
9+
delete from ACT_GE_PROPERTY where NAME_ = 'dmn.schema.version';

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

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = '
55
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_DMN_DECISION') drop table ACT_DMN_DECISION;
66
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_DMN_DEPLOYMENT_RESOURCE') drop table ACT_DMN_DEPLOYMENT_RESOURCE;
77
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'ACT_DMN_DEPLOYMENT') drop table ACT_DMN_DEPLOYMENT;
8+
9+
delete from ACT_GE_PROPERTY where NAME_ = 'dmn.schema.version';

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

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ drop table if exists ACT_DMN_HI_DECISION_EXECUTION;
55
drop table if exists ACT_DMN_DECISION;
66
drop table if exists ACT_DMN_DEPLOYMENT_RESOURCE;
77
drop table if exists ACT_DMN_DEPLOYMENT;
8+
9+
delete from ACT_GE_PROPERTY where NAME_ = 'dmn.schema.version';

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

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ drop table ACT_DMN_HI_DECISION_EXECUTION;
55
drop table ACT_DMN_DECISION;
66
drop table ACT_DMN_DEPLOYMENT_RESOURCE;
77
drop table ACT_DMN_DEPLOYMENT;
8+
9+
delete from ACT_GE_PROPERTY where NAME_ = 'dmn.schema.version';

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

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ drop table if exists ACT_DMN_HI_DECISION_EXECUTION cascade;
22
drop table if exists ACT_DMN_DECISION cascade;
33
drop table if exists ACT_DMN_DEPLOYMENT_RESOURCE cascade;
44
drop table if exists ACT_DMN_DEPLOYMENT cascade;
5+
6+
delete from ACT_GE_PROPERTY where NAME_ = 'dmn.schema.version';

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

+36
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,42 @@ drop index ACT_IDX_EJOB_SCOPE on ACT_RU_EXTERNAL_JOB;
106106
drop index ACT_IDX_EJOB_SUB_SCOPE on ACT_RU_EXTERNAL_JOB;
107107
drop index ACT_IDX_EJOB_SCOPE_DEF on ACT_RU_EXTERNAL_JOB;
108108

109+
drop index ACT_IDX_JOB_EXCEPTION_STACK_ID on ACT_RU_JOB;
110+
drop index ACT_IDX_JOB_CUSTOM_VALUES_ID on ACT_RU_JOB;
111+
drop index ACT_IDX_JOB_CORRELATION_ID on ACT_RU_JOB;
112+
drop index ACT_IDX_JOB_SCOPE on ACT_RU_JOB;
113+
drop index ACT_IDX_JOB_SUB_SCOPE on ACT_RU_JOB;
114+
drop index ACT_IDX_JOB_SCOPE_DEF on ACT_RU_JOB;
115+
116+
drop index ACT_IDX_TIMER_JOB_EXCEPTION_STACK_ID on ACT_RU_TIMER_JOB;
117+
drop index ACT_IDX_TIMER_JOB_CUSTOM_VALUES_ID on ACT_RU_TIMER_JOB;
118+
drop index ACT_IDX_TIMER_JOB_CORRELATION_ID on ACT_RU_TIMER_JOB;
119+
drop index ACT_IDX_TIMER_JOB_DUEDATE on ACT_RU_TIMER_JOB;
120+
drop index ACT_IDX_TJOB_SCOPE on ACT_RU_TIMER_JOB;
121+
drop index ACT_IDX_TJOB_SUB_SCOPE on ACT_RU_TIMER_JOB;
122+
drop index ACT_IDX_TJOB_SCOPE_DEF on ACT_RU_TIMER_JOB;
123+
124+
drop index ACT_IDX_SUSPENDED_JOB_EXCEPTION_STACK_ID on ACT_RU_SUSPENDED_JOB;
125+
drop index ACT_IDX_SUSPENDED_JOB_CUSTOM_VALUES_ID on ACT_RU_SUSPENDED_JOB;
126+
drop index ACT_IDX_SUSPENDED_JOB_CORRELATION_ID on ACT_RU_SUSPENDED_JOB;
127+
drop index ACT_IDX_SJOB_SCOPE on ACT_RU_SUSPENDED_JOB;
128+
drop index ACT_IDX_SJOB_SUB_SCOPE on ACT_RU_SUSPENDED_JOB;
129+
drop index ACT_IDX_SJOB_SCOPE_DEF on ACT_RU_SUSPENDED_JOB;
130+
131+
drop index ACT_IDX_DEADLETTER_JOB_EXCEPTION_STACK_ID on ACT_RU_DEADLETTER_JOB;
132+
drop index ACT_IDX_DEADLETTER_JOB_CUSTOM_VALUES_ID on ACT_RU_DEADLETTER_JOB;
133+
drop index ACT_IDX_DEADLETTER_JOB_CORRELATION_ID on ACT_RU_DEADLETTER_JOB;
134+
drop index ACT_IDX_DJOB_SCOPE on ACT_RU_DEADLETTER_JOB;
135+
drop index ACT_IDX_DJOB_SUB_SCOPE on ACT_RU_DEADLETTER_JOB;
136+
drop index ACT_IDX_DJOB_SCOPE_DEF on ACT_RU_DEADLETTER_JOB;
137+
138+
drop index ACT_IDX_EXTERNAL_JOB_EXCEPTION_STACK_ID on ACT_RU_EXTERNAL_JOB;
139+
drop index ACT_IDX_EXTERNAL_JOB_CUSTOM_VALUES_ID on ACT_RU_EXTERNAL_JOB;
140+
drop index ACT_IDX_EXTERNAL_JOB_CORRELATION_ID on ACT_RU_EXTERNAL_JOB;
141+
drop index ACT_IDX_EJOB_SCOPE on ACT_RU_EXTERNAL_JOB;
142+
drop index ACT_IDX_EJOB_SUB_SCOPE on ACT_RU_EXTERNAL_JOB;
143+
drop index ACT_IDX_EJOB_SCOPE_DEF on ACT_RU_EXTERNAL_JOB;
144+
109145
drop table if exists ACT_RU_JOB;
110146
drop table if exists ACT_RU_TIMER_JOB;
111147
drop table if exists ACT_RU_SUSPENDED_JOB;

modules/flowable-event-registry/src/main/resources/org/flowable/eventregistry/db/drop/flowable.db2.drop.eventregistry.sql

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ drop table FLW_CHANNEL_DEFINITION;
55
drop table FLW_EVENT_DEFINITION;
66
drop table FLW_EVENT_RESOURCE;
77
drop table FLW_EVENT_DEPLOYMENT;
8+
9+
delete from ACT_GE_PROPERTY where NAME_ = 'eventregistry.schema.version';

modules/flowable-event-registry/src/main/resources/org/flowable/eventregistry/db/drop/flowable.h2.drop.eventregistry.sql

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ drop table if exists FLW_CHANNEL_DEFINITION cascade constraints;
55
drop table if exists FLW_EVENT_DEFINITION cascade constraints;
66
drop table if exists FLW_EVENT_RESOURCE cascade constraints;
77
drop table if exists FLW_EVENT_DEPLOYMENT cascade constraints;
8+
9+
delete from ACT_GE_PROPERTY where NAME_ = 'eventregistry.schema.version';

modules/flowable-event-registry/src/main/resources/org/flowable/eventregistry/db/drop/flowable.mssql.drop.eventregistry.sql

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ IF EXISTS (SELECT name FROM sysindexes WHERE name = 'ACT_IDX_EVENT_DEF_UNIQ') dr
44
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'FLW_CHANNEL_DEFINITION') drop table FLW_CHANNEL_DEFINITION;
55
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'FLW_EVENT_DEFINITION') drop table FLW_EVENT_DEFINITION;
66
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'FLW_EVENT_RESOURCE') drop table FLW_EVENT_RESOURCE;
7-
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'FLW_EVENT_DEPLOYMENT') drop table FLW_EVENT_DEPLOYMENT;
7+
if exists (select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_NAME = 'FLW_EVENT_DEPLOYMENT') drop table FLW_EVENT_DEPLOYMENT;
8+
9+
delete from ACT_GE_PROPERTY where NAME_ = 'eventregistry.schema.version';

modules/flowable-event-registry/src/main/resources/org/flowable/eventregistry/db/drop/flowable.mysql.drop.eventregistry.sql

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ drop table if exists FLW_CHANNEL_DEFINITION;
55
drop table if exists FLW_EVENT_DEFINITION;
66
drop table if exists FLW_EVENT_RESOURCE;
77
drop table if exists FLW_EVENT_DEPLOYMENT;
8+
9+
delete from ACT_GE_PROPERTY where NAME_ = 'eventregistry.schema.version';

modules/flowable-event-registry/src/main/resources/org/flowable/eventregistry/db/drop/flowable.oracle.drop.eventregistry.sql

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ drop table FLW_CHANNEL_DEFINITION;
55
drop table FLW_EVENT_DEFINITION;
66
drop table FLW_EVENT_RESOURCE;
77
drop table FLW_EVENT_DEPLOYMENT;
8+
9+
delete from ACT_GE_PROPERTY where NAME_ = 'eventregistry.schema.version';

modules/flowable-event-registry/src/main/resources/org/flowable/eventregistry/db/drop/flowable.postgres.drop.eventregistry.sql

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ drop table if exists FLW_CHANNEL_DEFINITION cascade;
22
drop table if exists FLW_EVENT_DEFINITION cascade;
33
drop table if exists FLW_EVENT_RESOURCE cascade;
44
drop table if exists FLW_EVENT_DEPLOYMENT cascade;
5+
6+
delete from ACT_GE_PROPERTY where NAME_ = 'eventregistry.schema.version';

0 commit comments

Comments
 (0)