-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathflowable.mysql.drop.common.sql
More file actions
95 lines (68 loc) · 3.17 KB
/
flowable.mysql.drop.common.sql
File metadata and controls
95 lines (68 loc) · 3.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
drop index FLW_IDX_BATCH_PART on FLW_RU_BATCH_PART;
drop table if exists FLW_RU_BATCH_PART;
drop table if exists FLW_RU_BATCH;
drop index ACT_IDX_ENT_LNK_SCOPE on ACT_RU_ENTITYLINK;
drop index ACT_IDX_ENT_LNK_SCOPE_DEF on ACT_RU_ENTITYLINK;
drop table if exists ACT_RU_ENTITYLINK;
drop index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR;
drop index ACT_IDX_EVENT_SUBSCR_SCOPEREF_ on ACT_RU_EVENT_SUBSCR;
drop table if exists ACT_RU_EVENT_SUBSCR;
drop index ACT_IDX_IDENT_LNK_USER on ACT_RU_IDENTITYLINK;
drop index ACT_IDX_IDENT_LNK_GROUP on ACT_RU_IDENTITYLINK;
drop index ACT_IDX_IDENT_LNK_SCOPE on ACT_RU_IDENTITYLINK;
drop index ACT_IDX_IDENT_LNK_SUB_SCOPE on ACT_RU_IDENTITYLINK;
drop index ACT_IDX_IDENT_LNK_SCOPE_DEF on ACT_RU_IDENTITYLINK;
drop table if exists ACT_RU_IDENTITYLINK;
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_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_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_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_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;
alter table ACT_RU_JOB
drop foreign key ACT_FK_JOB_CUSTOM_VALUES;
alter table ACT_RU_TIMER_JOB
drop foreign key ACT_FK_TIMER_JOB_EXCEPTION;
alter table ACT_RU_TIMER_JOB
drop foreign key ACT_FK_TIMER_JOB_CUSTOM_VALUES;
alter table ACT_RU_SUSPENDED_JOB
drop foreign key ACT_FK_SUSPENDED_JOB_EXCEPTION;
alter table ACT_RU_SUSPENDED_JOB
drop foreign key ACT_FK_SUSPENDED_JOB_CUSTOM_VALUES;
alter table ACT_RU_DEADLETTER_JOB
drop foreign key ACT_FK_DEADLETTER_JOB_EXCEPTION;
alter table ACT_RU_DEADLETTER_JOB
drop foreign key ACT_FK_DEADLETTER_JOB_CUSTOM_VALUES;
alter table ACT_RU_EXTERNAL_JOB
drop foreign key ACT_FK_EXTERNAL_JOB_EXCEPTION;
alter table ACT_RU_EXTERNAL_JOB
drop foreign key ACT_FK_EXTERNAL_JOB_CUSTOM_VALUES;
drop table if exists ACT_RU_JOB;
drop table if exists ACT_RU_TIMER_JOB;
drop table if exists ACT_RU_SUSPENDED_JOB;
drop table if exists ACT_RU_DEADLETTER_JOB;
drop table if exists ACT_RU_HISTORY_JOB;
drop table if exists ACT_RU_EXTERNAL_JOB;
drop index ACT_IDX_TASK_CREATE on ACT_RU_TASK;
drop index ACT_IDX_TASK_SCOPE on ACT_RU_TASK;
drop index ACT_IDX_TASK_SUB_SCOPE on ACT_RU_TASK;
drop index ACT_IDX_TASK_SCOPE_DEF on ACT_RU_TASK;
drop table if exists ACT_RU_TASK;
alter table ACT_RU_VARIABLE
drop FOREIGN KEY ACT_FK_VAR_BYTEARRAY;
drop index ACT_IDX_RU_VAR_SCOPE_ID_TYPE on ACT_RU_VARIABLE;
drop index ACT_IDX_RU_VAR_SUB_ID_TYPE on ACT_RU_VARIABLE;
drop table if exists ACT_RU_VARIABLE;
drop table if exists ACT_GE_BYTEARRAY;
drop table if exists ACT_GE_PROPERTY;