提交 | 用户 | 时间
|
71e81e
|
1 |
/* |
懒 |
2 |
Navicat Premium Data Transfer |
|
3 |
|
|
4 |
Source Server : localhost |
|
5 |
Source Server Type : MySQL |
|
6 |
Source Server Version : 50724 |
|
7 |
Source Host : localhost:3306 |
|
8 |
Source Schema : guns |
|
9 |
|
|
10 |
Target Server Type : MySQL |
|
11 |
Target Server Version : 50724 |
|
12 |
File Encoding : 65001 |
|
13 |
|
|
14 |
Date: 30/08/2019 18:43:02 |
|
15 |
*/ |
|
16 |
|
|
17 |
SET FOREIGN_KEY_CHECKS=0; |
|
18 |
|
|
19 |
-- ---------------------------- |
|
20 |
-- Table structure for `act_evt_log` |
|
21 |
-- ---------------------------- |
|
22 |
DROP TABLE IF EXISTS `act_evt_log`; |
|
23 |
CREATE TABLE `act_evt_log` ( |
|
24 |
`LOG_NR_` bigint(20) NOT NULL AUTO_INCREMENT, |
|
25 |
`TYPE_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
26 |
`PROC_DEF_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
27 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
28 |
`EXECUTION_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
29 |
`TASK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
30 |
`TIME_STAMP_` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) ON UPDATE CURRENT_TIMESTAMP(3), |
|
31 |
`USER_ID_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
32 |
`DATA_` longblob, |
|
33 |
`LOCK_OWNER_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
34 |
`LOCK_TIME_` timestamp(3) NULL DEFAULT NULL, |
|
35 |
`IS_PROCESSED_` tinyint(4) DEFAULT '0', |
|
36 |
PRIMARY KEY (`LOG_NR_`) |
|
37 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
38 |
|
|
39 |
-- ---------------------------- |
|
40 |
-- Records of act_evt_log |
|
41 |
-- ---------------------------- |
|
42 |
|
|
43 |
-- ---------------------------- |
|
44 |
-- Table structure for `act_ge_bytearray` |
|
45 |
-- ---------------------------- |
|
46 |
DROP TABLE IF EXISTS `act_ge_bytearray`; |
|
47 |
CREATE TABLE `act_ge_bytearray` ( |
|
48 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '', |
|
49 |
`REV_` int(11) DEFAULT NULL, |
|
50 |
`NAME_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
51 |
`DEPLOYMENT_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
52 |
`BYTES_` longblob, |
|
53 |
`GENERATED_` tinyint(4) DEFAULT NULL, |
|
54 |
PRIMARY KEY (`ID_`), |
|
55 |
KEY `ACT_FK_BYTEARR_DEPL` (`DEPLOYMENT_ID_`), |
|
56 |
CONSTRAINT `act_ge_bytearray_ibfk_1` FOREIGN KEY (`DEPLOYMENT_ID_`) REFERENCES `act_re_deployment` (`ID_`) |
|
57 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
58 |
|
|
59 |
-- ---------------------------- |
|
60 |
-- Records of act_ge_bytearray |
|
61 |
-- ---------------------------- |
|
62 |
|
|
63 |
-- ---------------------------- |
|
64 |
-- Table structure for `act_ge_property` |
|
65 |
-- ---------------------------- |
|
66 |
DROP TABLE IF EXISTS `act_ge_property`; |
|
67 |
CREATE TABLE `act_ge_property` ( |
|
68 |
`NAME_` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '', |
|
69 |
`VALUE_` varchar(300) COLLATE utf8_bin DEFAULT NULL, |
|
70 |
`REV_` int(11) DEFAULT NULL, |
|
71 |
PRIMARY KEY (`NAME_`) |
|
72 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
73 |
|
|
74 |
-- ---------------------------- |
|
75 |
-- Records of act_ge_property |
|
76 |
-- ---------------------------- |
|
77 |
INSERT INTO `act_ge_property` VALUES ('cfg.execution-related-entities-count', 'false', '1'); |
|
78 |
INSERT INTO `act_ge_property` VALUES ('next.dbid', '322501', '130'); |
|
79 |
INSERT INTO `act_ge_property` VALUES ('schema.history', 'create(6.0.0.4)', '1'); |
|
80 |
INSERT INTO `act_ge_property` VALUES ('schema.version', '6.0.0.4', '1'); |
|
81 |
|
|
82 |
-- ---------------------------- |
|
83 |
-- Table structure for `act_hi_actinst` |
|
84 |
-- ---------------------------- |
|
85 |
DROP TABLE IF EXISTS `act_hi_actinst`; |
|
86 |
CREATE TABLE `act_hi_actinst` ( |
|
87 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
88 |
`PROC_DEF_ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
89 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
90 |
`EXECUTION_ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
91 |
`ACT_ID_` varchar(255) COLLATE utf8_bin NOT NULL, |
|
92 |
`TASK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
93 |
`CALL_PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
94 |
`ACT_NAME_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
95 |
`ACT_TYPE_` varchar(255) COLLATE utf8_bin NOT NULL, |
|
96 |
`ASSIGNEE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
97 |
`START_TIME_` datetime(3) NOT NULL, |
|
98 |
`END_TIME_` datetime(3) DEFAULT NULL, |
|
99 |
`DURATION_` bigint(20) DEFAULT NULL, |
|
100 |
`DELETE_REASON_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
101 |
`TENANT_ID_` varchar(255) COLLATE utf8_bin DEFAULT '', |
|
102 |
PRIMARY KEY (`ID_`), |
|
103 |
KEY `ACT_IDX_HI_ACT_INST_START` (`START_TIME_`), |
|
104 |
KEY `ACT_IDX_HI_ACT_INST_END` (`END_TIME_`), |
|
105 |
KEY `ACT_IDX_HI_ACT_INST_PROCINST` (`PROC_INST_ID_`,`ACT_ID_`), |
|
106 |
KEY `ACT_IDX_HI_ACT_INST_EXEC` (`EXECUTION_ID_`,`ACT_ID_`) |
|
107 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
108 |
|
|
109 |
-- ---------------------------- |
|
110 |
-- Records of act_hi_actinst |
|
111 |
-- ---------------------------- |
|
112 |
|
|
113 |
-- ---------------------------- |
|
114 |
-- Table structure for `act_hi_attachment` |
|
115 |
-- ---------------------------- |
|
116 |
DROP TABLE IF EXISTS `act_hi_attachment`; |
|
117 |
CREATE TABLE `act_hi_attachment` ( |
|
118 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
119 |
`REV_` int(11) DEFAULT NULL, |
|
120 |
`USER_ID_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
121 |
`NAME_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
122 |
`DESCRIPTION_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
123 |
`TYPE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
124 |
`TASK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
125 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
126 |
`URL_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
127 |
`CONTENT_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
128 |
`TIME_` datetime(3) DEFAULT NULL, |
|
129 |
PRIMARY KEY (`ID_`) |
|
130 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
131 |
|
|
132 |
-- ---------------------------- |
|
133 |
-- Records of act_hi_attachment |
|
134 |
-- ---------------------------- |
|
135 |
|
|
136 |
-- ---------------------------- |
|
137 |
-- Table structure for `act_hi_comment` |
|
138 |
-- ---------------------------- |
|
139 |
DROP TABLE IF EXISTS `act_hi_comment`; |
|
140 |
CREATE TABLE `act_hi_comment` ( |
|
141 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
142 |
`TYPE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
143 |
`TIME_` datetime(3) NOT NULL, |
|
144 |
`USER_ID_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
145 |
`TASK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
146 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
147 |
`ACTION_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
148 |
`MESSAGE_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
149 |
`FULL_MSG_` longblob, |
|
150 |
PRIMARY KEY (`ID_`) |
|
151 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
152 |
|
|
153 |
-- ---------------------------- |
|
154 |
-- Records of act_hi_comment |
|
155 |
-- ---------------------------- |
|
156 |
|
|
157 |
-- ---------------------------- |
|
158 |
-- Table structure for `act_hi_detail` |
|
159 |
-- ---------------------------- |
|
160 |
DROP TABLE IF EXISTS `act_hi_detail`; |
|
161 |
CREATE TABLE `act_hi_detail` ( |
|
162 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
163 |
`TYPE_` varchar(255) COLLATE utf8_bin NOT NULL, |
|
164 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
165 |
`EXECUTION_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
166 |
`TASK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
167 |
`ACT_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
168 |
`NAME_` varchar(255) COLLATE utf8_bin NOT NULL, |
|
169 |
`VAR_TYPE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
170 |
`REV_` int(11) DEFAULT NULL, |
|
171 |
`TIME_` datetime(3) NOT NULL, |
|
172 |
`BYTEARRAY_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
173 |
`DOUBLE_` double DEFAULT NULL, |
|
174 |
`LONG_` bigint(20) DEFAULT NULL, |
|
175 |
`TEXT_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
176 |
`TEXT2_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
177 |
PRIMARY KEY (`ID_`), |
|
178 |
KEY `ACT_IDX_HI_DETAIL_PROC_INST` (`PROC_INST_ID_`), |
|
179 |
KEY `ACT_IDX_HI_DETAIL_ACT_INST` (`ACT_INST_ID_`), |
|
180 |
KEY `ACT_IDX_HI_DETAIL_TIME` (`TIME_`), |
|
181 |
KEY `ACT_IDX_HI_DETAIL_NAME` (`NAME_`), |
|
182 |
KEY `ACT_IDX_HI_DETAIL_TASK_ID` (`TASK_ID_`) |
|
183 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
184 |
|
|
185 |
-- ---------------------------- |
|
186 |
-- Records of act_hi_detail |
|
187 |
-- ---------------------------- |
|
188 |
|
|
189 |
-- ---------------------------- |
|
190 |
-- Table structure for `act_hi_identitylink` |
|
191 |
-- ---------------------------- |
|
192 |
DROP TABLE IF EXISTS `act_hi_identitylink`; |
|
193 |
CREATE TABLE `act_hi_identitylink` ( |
|
194 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '', |
|
195 |
`GROUP_ID_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
196 |
`TYPE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
197 |
`USER_ID_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
198 |
`TASK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
199 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
200 |
PRIMARY KEY (`ID_`), |
|
201 |
KEY `ACT_IDX_HI_IDENT_LNK_USER` (`USER_ID_`), |
|
202 |
KEY `ACT_IDX_HI_IDENT_LNK_TASK` (`TASK_ID_`), |
|
203 |
KEY `ACT_IDX_HI_IDENT_LNK_PROCINST` (`PROC_INST_ID_`) |
|
204 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
205 |
|
|
206 |
-- ---------------------------- |
|
207 |
-- Records of act_hi_identitylink |
|
208 |
-- ---------------------------- |
|
209 |
|
|
210 |
-- ---------------------------- |
|
211 |
-- Table structure for `act_hi_procinst` |
|
212 |
-- ---------------------------- |
|
213 |
DROP TABLE IF EXISTS `act_hi_procinst`; |
|
214 |
CREATE TABLE `act_hi_procinst` ( |
|
215 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
216 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
217 |
`BUSINESS_KEY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
218 |
`PROC_DEF_ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
219 |
`START_TIME_` datetime(3) NOT NULL, |
|
220 |
`END_TIME_` datetime(3) DEFAULT NULL, |
|
221 |
`DURATION_` bigint(20) DEFAULT NULL, |
|
222 |
`START_USER_ID_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
223 |
`START_ACT_ID_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
224 |
`END_ACT_ID_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
225 |
`SUPER_PROCESS_INSTANCE_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
226 |
`DELETE_REASON_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
227 |
`TENANT_ID_` varchar(255) COLLATE utf8_bin DEFAULT '', |
|
228 |
`NAME_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
229 |
PRIMARY KEY (`ID_`), |
|
230 |
UNIQUE KEY `PROC_INST_ID_` (`PROC_INST_ID_`), |
|
231 |
KEY `ACT_IDX_HI_PRO_INST_END` (`END_TIME_`), |
|
232 |
KEY `ACT_IDX_HI_PRO_I_BUSKEY` (`BUSINESS_KEY_`) |
|
233 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
234 |
|
|
235 |
-- ---------------------------- |
|
236 |
-- Records of act_hi_procinst |
|
237 |
-- ---------------------------- |
|
238 |
|
|
239 |
-- ---------------------------- |
|
240 |
-- Table structure for `act_hi_taskinst` |
|
241 |
-- ---------------------------- |
|
242 |
DROP TABLE IF EXISTS `act_hi_taskinst`; |
|
243 |
CREATE TABLE `act_hi_taskinst` ( |
|
244 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
245 |
`PROC_DEF_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
246 |
`TASK_DEF_KEY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
247 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
248 |
`EXECUTION_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
249 |
`NAME_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
250 |
`PARENT_TASK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
251 |
`DESCRIPTION_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
252 |
`OWNER_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
253 |
`ASSIGNEE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
254 |
`START_TIME_` datetime(3) NOT NULL, |
|
255 |
`CLAIM_TIME_` datetime(3) DEFAULT NULL, |
|
256 |
`END_TIME_` datetime(3) DEFAULT NULL, |
|
257 |
`DURATION_` bigint(20) DEFAULT NULL, |
|
258 |
`DELETE_REASON_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
259 |
`PRIORITY_` int(11) DEFAULT NULL, |
|
260 |
`DUE_DATE_` datetime(3) DEFAULT NULL, |
|
261 |
`FORM_KEY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
262 |
`CATEGORY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
263 |
`TENANT_ID_` varchar(255) COLLATE utf8_bin DEFAULT '', |
|
264 |
PRIMARY KEY (`ID_`), |
|
265 |
KEY `ACT_IDX_HI_TASK_INST_PROCINST` (`PROC_INST_ID_`) |
|
266 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
267 |
|
|
268 |
-- ---------------------------- |
|
269 |
-- Records of act_hi_taskinst |
|
270 |
-- ---------------------------- |
|
271 |
|
|
272 |
-- ---------------------------- |
|
273 |
-- Table structure for `act_hi_varinst` |
|
274 |
-- ---------------------------- |
|
275 |
DROP TABLE IF EXISTS `act_hi_varinst`; |
|
276 |
CREATE TABLE `act_hi_varinst` ( |
|
277 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
278 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
279 |
`EXECUTION_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
280 |
`TASK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
281 |
`NAME_` varchar(255) COLLATE utf8_bin NOT NULL, |
|
282 |
`VAR_TYPE_` varchar(100) COLLATE utf8_bin DEFAULT NULL, |
|
283 |
`REV_` int(11) DEFAULT NULL, |
|
284 |
`BYTEARRAY_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
285 |
`DOUBLE_` double DEFAULT NULL, |
|
286 |
`LONG_` bigint(20) DEFAULT NULL, |
|
287 |
`TEXT_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
288 |
`TEXT2_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
289 |
`CREATE_TIME_` datetime(3) DEFAULT NULL, |
|
290 |
`LAST_UPDATED_TIME_` datetime(3) DEFAULT NULL, |
|
291 |
PRIMARY KEY (`ID_`), |
|
292 |
KEY `ACT_IDX_HI_PROCVAR_PROC_INST` (`PROC_INST_ID_`), |
|
293 |
KEY `ACT_IDX_HI_PROCVAR_NAME_TYPE` (`NAME_`,`VAR_TYPE_`), |
|
294 |
KEY `ACT_IDX_HI_PROCVAR_TASK_ID` (`TASK_ID_`) |
|
295 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
296 |
|
|
297 |
-- ---------------------------- |
|
298 |
-- Records of act_hi_varinst |
|
299 |
-- ---------------------------- |
|
300 |
|
|
301 |
-- ---------------------------- |
|
302 |
-- Table structure for `act_id_group` |
|
303 |
-- ---------------------------- |
|
304 |
DROP TABLE IF EXISTS `act_id_group`; |
|
305 |
CREATE TABLE `act_id_group` ( |
|
306 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '', |
|
307 |
`REV_` int(11) DEFAULT NULL, |
|
308 |
`NAME_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
309 |
`TYPE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
310 |
PRIMARY KEY (`ID_`) |
|
311 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
312 |
|
|
313 |
-- ---------------------------- |
|
314 |
-- Records of act_id_group |
|
315 |
-- ---------------------------- |
|
316 |
|
|
317 |
-- ---------------------------- |
|
318 |
-- Table structure for `act_id_info` |
|
319 |
-- ---------------------------- |
|
320 |
DROP TABLE IF EXISTS `act_id_info`; |
|
321 |
CREATE TABLE `act_id_info` ( |
|
322 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '', |
|
323 |
`REV_` int(11) DEFAULT NULL, |
|
324 |
`USER_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
325 |
`TYPE_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
326 |
`KEY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
327 |
`VALUE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
328 |
`PASSWORD_` longblob, |
|
329 |
`PARENT_ID_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
330 |
PRIMARY KEY (`ID_`) |
|
331 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
332 |
|
|
333 |
-- ---------------------------- |
|
334 |
-- Records of act_id_info |
|
335 |
-- ---------------------------- |
|
336 |
|
|
337 |
-- ---------------------------- |
|
338 |
-- Table structure for `act_id_membership` |
|
339 |
-- ---------------------------- |
|
340 |
DROP TABLE IF EXISTS `act_id_membership`; |
|
341 |
CREATE TABLE `act_id_membership` ( |
|
342 |
`USER_ID_` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '', |
|
343 |
`GROUP_ID_` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '', |
|
344 |
PRIMARY KEY (`USER_ID_`,`GROUP_ID_`), |
|
345 |
KEY `ACT_FK_MEMB_GROUP` (`GROUP_ID_`), |
|
346 |
CONSTRAINT `act_id_membership_ibfk_1` FOREIGN KEY (`GROUP_ID_`) REFERENCES `act_id_group` (`ID_`), |
|
347 |
CONSTRAINT `act_id_membership_ibfk_2` FOREIGN KEY (`USER_ID_`) REFERENCES `act_id_user` (`ID_`) |
|
348 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
349 |
|
|
350 |
-- ---------------------------- |
|
351 |
-- Records of act_id_membership |
|
352 |
-- ---------------------------- |
|
353 |
|
|
354 |
-- ---------------------------- |
|
355 |
-- Table structure for `act_id_user` |
|
356 |
-- ---------------------------- |
|
357 |
DROP TABLE IF EXISTS `act_id_user`; |
|
358 |
CREATE TABLE `act_id_user` ( |
|
359 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '', |
|
360 |
`REV_` int(11) DEFAULT NULL, |
|
361 |
`FIRST_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
362 |
`LAST_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
363 |
`EMAIL_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
364 |
`PWD_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
365 |
`PICTURE_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
366 |
PRIMARY KEY (`ID_`) |
|
367 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
368 |
|
|
369 |
-- ---------------------------- |
|
370 |
-- Records of act_id_user |
|
371 |
-- ---------------------------- |
|
372 |
|
|
373 |
-- ---------------------------- |
|
374 |
-- Table structure for `act_procdef_info` |
|
375 |
-- ---------------------------- |
|
376 |
DROP TABLE IF EXISTS `act_procdef_info`; |
|
377 |
CREATE TABLE `act_procdef_info` ( |
|
378 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
379 |
`PROC_DEF_ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
380 |
`REV_` int(11) DEFAULT NULL, |
|
381 |
`INFO_JSON_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
382 |
PRIMARY KEY (`ID_`), |
|
383 |
UNIQUE KEY `ACT_UNIQ_INFO_PROCDEF` (`PROC_DEF_ID_`), |
|
384 |
KEY `ACT_IDX_INFO_PROCDEF` (`PROC_DEF_ID_`), |
|
385 |
KEY `ACT_FK_INFO_JSON_BA` (`INFO_JSON_ID_`), |
|
386 |
CONSTRAINT `act_procdef_info_ibfk_1` FOREIGN KEY (`INFO_JSON_ID_`) REFERENCES `act_ge_bytearray` (`ID_`), |
|
387 |
CONSTRAINT `act_procdef_info_ibfk_2` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`) |
|
388 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
389 |
|
|
390 |
-- ---------------------------- |
|
391 |
-- Records of act_procdef_info |
|
392 |
-- ---------------------------- |
|
393 |
|
|
394 |
-- ---------------------------- |
|
395 |
-- Table structure for `act_re_deployment` |
|
396 |
-- ---------------------------- |
|
397 |
DROP TABLE IF EXISTS `act_re_deployment`; |
|
398 |
CREATE TABLE `act_re_deployment` ( |
|
399 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '', |
|
400 |
`NAME_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
401 |
`CATEGORY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
402 |
`KEY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
403 |
`TENANT_ID_` varchar(255) COLLATE utf8_bin DEFAULT '', |
|
404 |
`DEPLOY_TIME_` timestamp(3) NULL DEFAULT NULL, |
|
405 |
`ENGINE_VERSION_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
406 |
PRIMARY KEY (`ID_`) |
|
407 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
408 |
|
|
409 |
-- ---------------------------- |
|
410 |
-- Records of act_re_deployment |
|
411 |
-- ---------------------------- |
|
412 |
|
|
413 |
-- ---------------------------- |
|
414 |
-- Table structure for `act_re_model` |
|
415 |
-- ---------------------------- |
|
416 |
DROP TABLE IF EXISTS `act_re_model`; |
|
417 |
CREATE TABLE `act_re_model` ( |
|
418 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
419 |
`REV_` int(11) DEFAULT NULL, |
|
420 |
`NAME_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
421 |
`KEY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
422 |
`CATEGORY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
423 |
`CREATE_TIME_` timestamp(3) NULL DEFAULT NULL, |
|
424 |
`LAST_UPDATE_TIME_` timestamp(3) NULL DEFAULT NULL, |
|
425 |
`VERSION_` int(11) DEFAULT NULL, |
|
426 |
`META_INFO_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
427 |
`DEPLOYMENT_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
428 |
`EDITOR_SOURCE_VALUE_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
429 |
`EDITOR_SOURCE_EXTRA_VALUE_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
430 |
`TENANT_ID_` varchar(255) COLLATE utf8_bin DEFAULT '', |
|
431 |
PRIMARY KEY (`ID_`), |
|
432 |
KEY `ACT_FK_MODEL_SOURCE` (`EDITOR_SOURCE_VALUE_ID_`), |
|
433 |
KEY `ACT_FK_MODEL_SOURCE_EXTRA` (`EDITOR_SOURCE_EXTRA_VALUE_ID_`), |
|
434 |
KEY `ACT_FK_MODEL_DEPLOYMENT` (`DEPLOYMENT_ID_`), |
|
435 |
CONSTRAINT `act_re_model_ibfk_1` FOREIGN KEY (`DEPLOYMENT_ID_`) REFERENCES `act_re_deployment` (`ID_`), |
|
436 |
CONSTRAINT `act_re_model_ibfk_2` FOREIGN KEY (`EDITOR_SOURCE_VALUE_ID_`) REFERENCES `act_ge_bytearray` (`ID_`), |
|
437 |
CONSTRAINT `act_re_model_ibfk_3` FOREIGN KEY (`EDITOR_SOURCE_EXTRA_VALUE_ID_`) REFERENCES `act_ge_bytearray` (`ID_`) |
|
438 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
439 |
|
|
440 |
-- ---------------------------- |
|
441 |
-- Records of act_re_model |
|
442 |
-- ---------------------------- |
|
443 |
|
|
444 |
-- ---------------------------- |
|
445 |
-- Table structure for `act_re_procdef` |
|
446 |
-- ---------------------------- |
|
447 |
DROP TABLE IF EXISTS `act_re_procdef`; |
|
448 |
CREATE TABLE `act_re_procdef` ( |
|
449 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
450 |
`REV_` int(11) DEFAULT NULL, |
|
451 |
`CATEGORY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
452 |
`NAME_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
453 |
`KEY_` varchar(255) COLLATE utf8_bin NOT NULL, |
|
454 |
`VERSION_` int(11) NOT NULL, |
|
455 |
`DEPLOYMENT_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
456 |
`RESOURCE_NAME_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
457 |
`DGRM_RESOURCE_NAME_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
458 |
`DESCRIPTION_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
459 |
`HAS_START_FORM_KEY_` tinyint(4) DEFAULT NULL, |
|
460 |
`HAS_GRAPHICAL_NOTATION_` tinyint(4) DEFAULT NULL, |
|
461 |
`SUSPENSION_STATE_` int(11) DEFAULT NULL, |
|
462 |
`TENANT_ID_` varchar(255) COLLATE utf8_bin DEFAULT '', |
|
463 |
`ENGINE_VERSION_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
464 |
PRIMARY KEY (`ID_`), |
|
465 |
UNIQUE KEY `ACT_UNIQ_PROCDEF` (`KEY_`,`VERSION_`,`TENANT_ID_`) |
|
466 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
467 |
|
|
468 |
-- ---------------------------- |
|
469 |
-- Records of act_re_procdef |
|
470 |
-- ---------------------------- |
|
471 |
|
|
472 |
-- ---------------------------- |
|
473 |
-- Table structure for `act_ru_deadletter_job` |
|
474 |
-- ---------------------------- |
|
475 |
DROP TABLE IF EXISTS `act_ru_deadletter_job`; |
|
476 |
CREATE TABLE `act_ru_deadletter_job` ( |
|
477 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
478 |
`REV_` int(11) DEFAULT NULL, |
|
479 |
`TYPE_` varchar(255) COLLATE utf8_bin NOT NULL, |
|
480 |
`EXCLUSIVE_` tinyint(1) DEFAULT NULL, |
|
481 |
`EXECUTION_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
482 |
`PROCESS_INSTANCE_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
483 |
`PROC_DEF_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
484 |
`EXCEPTION_STACK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
485 |
`EXCEPTION_MSG_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
486 |
`DUEDATE_` timestamp(3) NULL DEFAULT NULL, |
|
487 |
`REPEAT_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
488 |
`HANDLER_TYPE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
489 |
`HANDLER_CFG_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
490 |
`TENANT_ID_` varchar(255) COLLATE utf8_bin DEFAULT '', |
|
491 |
PRIMARY KEY (`ID_`), |
|
492 |
KEY `ACT_FK_DEADLETTER_JOB_EXECUTION` (`EXECUTION_ID_`), |
|
493 |
KEY `ACT_FK_DEADLETTER_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`), |
|
494 |
KEY `ACT_FK_DEADLETTER_JOB_PROC_DEF` (`PROC_DEF_ID_`), |
|
495 |
KEY `ACT_FK_DEADLETTER_JOB_EXCEPTION` (`EXCEPTION_STACK_ID_`), |
|
496 |
CONSTRAINT `act_ru_deadletter_job_ibfk_1` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `act_ge_bytearray` (`ID_`), |
|
497 |
CONSTRAINT `act_ru_deadletter_job_ibfk_2` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`), |
|
498 |
CONSTRAINT `act_ru_deadletter_job_ibfk_3` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `act_ru_execution` (`ID_`), |
|
499 |
CONSTRAINT `act_ru_deadletter_job_ibfk_4` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`) |
|
500 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
501 |
|
|
502 |
-- ---------------------------- |
|
503 |
-- Records of act_ru_deadletter_job |
|
504 |
-- ---------------------------- |
|
505 |
|
|
506 |
-- ---------------------------- |
|
507 |
-- Table structure for `act_ru_event_subscr` |
|
508 |
-- ---------------------------- |
|
509 |
DROP TABLE IF EXISTS `act_ru_event_subscr`; |
|
510 |
CREATE TABLE `act_ru_event_subscr` ( |
|
511 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
512 |
`REV_` int(11) DEFAULT NULL, |
|
513 |
`EVENT_TYPE_` varchar(255) COLLATE utf8_bin NOT NULL, |
|
514 |
`EVENT_NAME_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
515 |
`EXECUTION_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
516 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
517 |
`ACTIVITY_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
518 |
`CONFIGURATION_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
519 |
`CREATED_` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3), |
|
520 |
`PROC_DEF_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
521 |
`TENANT_ID_` varchar(255) COLLATE utf8_bin DEFAULT '', |
|
522 |
PRIMARY KEY (`ID_`), |
|
523 |
KEY `ACT_IDX_EVENT_SUBSCR_CONFIG_` (`CONFIGURATION_`), |
|
524 |
KEY `ACT_FK_EVENT_EXEC` (`EXECUTION_ID_`), |
|
525 |
CONSTRAINT `act_ru_event_subscr_ibfk_1` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`) |
|
526 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
527 |
|
|
528 |
-- ---------------------------- |
|
529 |
-- Records of act_ru_event_subscr |
|
530 |
-- ---------------------------- |
|
531 |
|
|
532 |
-- ---------------------------- |
|
533 |
-- Table structure for `act_ru_execution` |
|
534 |
-- ---------------------------- |
|
535 |
DROP TABLE IF EXISTS `act_ru_execution`; |
|
536 |
CREATE TABLE `act_ru_execution` ( |
|
537 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '', |
|
538 |
`REV_` int(11) DEFAULT NULL, |
|
539 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
540 |
`BUSINESS_KEY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
541 |
`PARENT_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
542 |
`PROC_DEF_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
543 |
`SUPER_EXEC_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
544 |
`ROOT_PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
545 |
`ACT_ID_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
546 |
`IS_ACTIVE_` tinyint(4) DEFAULT NULL, |
|
547 |
`IS_CONCURRENT_` tinyint(4) DEFAULT NULL, |
|
548 |
`IS_SCOPE_` tinyint(4) DEFAULT NULL, |
|
549 |
`IS_EVENT_SCOPE_` tinyint(4) DEFAULT NULL, |
|
550 |
`IS_MI_ROOT_` tinyint(4) DEFAULT NULL, |
|
551 |
`SUSPENSION_STATE_` int(11) DEFAULT NULL, |
|
552 |
`CACHED_ENT_STATE_` int(11) DEFAULT NULL, |
|
553 |
`TENANT_ID_` varchar(255) COLLATE utf8_bin DEFAULT '', |
|
554 |
`NAME_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
555 |
`START_TIME_` datetime(3) DEFAULT NULL, |
|
556 |
`START_USER_ID_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
557 |
`LOCK_TIME_` timestamp(3) NULL DEFAULT NULL, |
|
558 |
`IS_COUNT_ENABLED_` tinyint(4) DEFAULT NULL, |
|
559 |
`EVT_SUBSCR_COUNT_` int(11) DEFAULT NULL, |
|
560 |
`TASK_COUNT_` int(11) DEFAULT NULL, |
|
561 |
`JOB_COUNT_` int(11) DEFAULT NULL, |
|
562 |
`TIMER_JOB_COUNT_` int(11) DEFAULT NULL, |
|
563 |
`SUSP_JOB_COUNT_` int(11) DEFAULT NULL, |
|
564 |
`DEADLETTER_JOB_COUNT_` int(11) DEFAULT NULL, |
|
565 |
`VAR_COUNT_` int(11) DEFAULT NULL, |
|
566 |
`ID_LINK_COUNT_` int(11) DEFAULT NULL, |
|
567 |
PRIMARY KEY (`ID_`), |
|
568 |
KEY `ACT_IDX_EXEC_BUSKEY` (`BUSINESS_KEY_`), |
|
569 |
KEY `ACT_IDC_EXEC_ROOT` (`ROOT_PROC_INST_ID_`), |
|
570 |
KEY `ACT_FK_EXE_PROCINST` (`PROC_INST_ID_`), |
|
571 |
KEY `ACT_FK_EXE_PARENT` (`PARENT_ID_`), |
|
572 |
KEY `ACT_FK_EXE_SUPER` (`SUPER_EXEC_`), |
|
573 |
KEY `ACT_FK_EXE_PROCDEF` (`PROC_DEF_ID_`), |
|
574 |
CONSTRAINT `act_ru_execution_ibfk_1` FOREIGN KEY (`PARENT_ID_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE CASCADE, |
|
575 |
CONSTRAINT `act_ru_execution_ibfk_2` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`), |
|
576 |
CONSTRAINT `act_ru_execution_ibfk_3` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE CASCADE ON UPDATE CASCADE, |
|
577 |
CONSTRAINT `act_ru_execution_ibfk_4` FOREIGN KEY (`SUPER_EXEC_`) REFERENCES `act_ru_execution` (`ID_`) ON DELETE CASCADE |
|
578 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
579 |
|
|
580 |
-- ---------------------------- |
|
581 |
-- Records of act_ru_execution |
|
582 |
-- ---------------------------- |
|
583 |
|
|
584 |
-- ---------------------------- |
|
585 |
-- Table structure for `act_ru_identitylink` |
|
586 |
-- ---------------------------- |
|
587 |
DROP TABLE IF EXISTS `act_ru_identitylink`; |
|
588 |
CREATE TABLE `act_ru_identitylink` ( |
|
589 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '', |
|
590 |
`REV_` int(11) DEFAULT NULL, |
|
591 |
`GROUP_ID_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
592 |
`TYPE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
593 |
`USER_ID_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
594 |
`TASK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
595 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
596 |
`PROC_DEF_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
597 |
PRIMARY KEY (`ID_`), |
|
598 |
KEY `ACT_IDX_IDENT_LNK_USER` (`USER_ID_`), |
|
599 |
KEY `ACT_IDX_IDENT_LNK_GROUP` (`GROUP_ID_`), |
|
600 |
KEY `ACT_IDX_ATHRZ_PROCEDEF` (`PROC_DEF_ID_`), |
|
601 |
KEY `ACT_FK_TSKASS_TASK` (`TASK_ID_`), |
|
602 |
KEY `ACT_FK_IDL_PROCINST` (`PROC_INST_ID_`), |
|
603 |
CONSTRAINT `act_ru_identitylink_ibfk_1` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`), |
|
604 |
CONSTRAINT `act_ru_identitylink_ibfk_2` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `act_ru_execution` (`ID_`), |
|
605 |
CONSTRAINT `act_ru_identitylink_ibfk_3` FOREIGN KEY (`TASK_ID_`) REFERENCES `act_ru_task` (`ID_`) |
|
606 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
607 |
|
|
608 |
-- ---------------------------- |
|
609 |
-- Records of act_ru_identitylink |
|
610 |
-- ---------------------------- |
|
611 |
|
|
612 |
-- ---------------------------- |
|
613 |
-- Table structure for `act_ru_job` |
|
614 |
-- ---------------------------- |
|
615 |
DROP TABLE IF EXISTS `act_ru_job`; |
|
616 |
CREATE TABLE `act_ru_job` ( |
|
617 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
618 |
`REV_` int(11) DEFAULT NULL, |
|
619 |
`TYPE_` varchar(255) COLLATE utf8_bin NOT NULL, |
|
620 |
`LOCK_EXP_TIME_` timestamp(3) NULL DEFAULT NULL, |
|
621 |
`LOCK_OWNER_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
622 |
`EXCLUSIVE_` tinyint(1) DEFAULT NULL, |
|
623 |
`EXECUTION_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
624 |
`PROCESS_INSTANCE_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
625 |
`PROC_DEF_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
626 |
`RETRIES_` int(11) DEFAULT NULL, |
|
627 |
`EXCEPTION_STACK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
628 |
`EXCEPTION_MSG_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
629 |
`DUEDATE_` timestamp(3) NULL DEFAULT NULL, |
|
630 |
`REPEAT_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
631 |
`HANDLER_TYPE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
632 |
`HANDLER_CFG_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
633 |
`TENANT_ID_` varchar(255) COLLATE utf8_bin DEFAULT '', |
|
634 |
PRIMARY KEY (`ID_`), |
|
635 |
KEY `ACT_FK_JOB_EXECUTION` (`EXECUTION_ID_`), |
|
636 |
KEY `ACT_FK_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`), |
|
637 |
KEY `ACT_FK_JOB_PROC_DEF` (`PROC_DEF_ID_`), |
|
638 |
KEY `ACT_FK_JOB_EXCEPTION` (`EXCEPTION_STACK_ID_`), |
|
639 |
CONSTRAINT `act_ru_job_ibfk_1` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `act_ge_bytearray` (`ID_`), |
|
640 |
CONSTRAINT `act_ru_job_ibfk_2` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`), |
|
641 |
CONSTRAINT `act_ru_job_ibfk_3` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `act_ru_execution` (`ID_`), |
|
642 |
CONSTRAINT `act_ru_job_ibfk_4` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`) |
|
643 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
644 |
|
|
645 |
-- ---------------------------- |
|
646 |
-- Records of act_ru_job |
|
647 |
-- ---------------------------- |
|
648 |
|
|
649 |
-- ---------------------------- |
|
650 |
-- Table structure for `act_ru_suspended_job` |
|
651 |
-- ---------------------------- |
|
652 |
DROP TABLE IF EXISTS `act_ru_suspended_job`; |
|
653 |
CREATE TABLE `act_ru_suspended_job` ( |
|
654 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
655 |
`REV_` int(11) DEFAULT NULL, |
|
656 |
`TYPE_` varchar(255) COLLATE utf8_bin NOT NULL, |
|
657 |
`EXCLUSIVE_` tinyint(1) DEFAULT NULL, |
|
658 |
`EXECUTION_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
659 |
`PROCESS_INSTANCE_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
660 |
`PROC_DEF_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
661 |
`RETRIES_` int(11) DEFAULT NULL, |
|
662 |
`EXCEPTION_STACK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
663 |
`EXCEPTION_MSG_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
664 |
`DUEDATE_` timestamp(3) NULL DEFAULT NULL, |
|
665 |
`REPEAT_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
666 |
`HANDLER_TYPE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
667 |
`HANDLER_CFG_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
668 |
`TENANT_ID_` varchar(255) COLLATE utf8_bin DEFAULT '', |
|
669 |
PRIMARY KEY (`ID_`), |
|
670 |
KEY `ACT_FK_SUSPENDED_JOB_EXECUTION` (`EXECUTION_ID_`), |
|
671 |
KEY `ACT_FK_SUSPENDED_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`), |
|
672 |
KEY `ACT_FK_SUSPENDED_JOB_PROC_DEF` (`PROC_DEF_ID_`), |
|
673 |
KEY `ACT_FK_SUSPENDED_JOB_EXCEPTION` (`EXCEPTION_STACK_ID_`), |
|
674 |
CONSTRAINT `act_ru_suspended_job_ibfk_1` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `act_ge_bytearray` (`ID_`), |
|
675 |
CONSTRAINT `act_ru_suspended_job_ibfk_2` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`), |
|
676 |
CONSTRAINT `act_ru_suspended_job_ibfk_3` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `act_ru_execution` (`ID_`), |
|
677 |
CONSTRAINT `act_ru_suspended_job_ibfk_4` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`) |
|
678 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
679 |
|
|
680 |
-- ---------------------------- |
|
681 |
-- Records of act_ru_suspended_job |
|
682 |
-- ---------------------------- |
|
683 |
|
|
684 |
-- ---------------------------- |
|
685 |
-- Table structure for `act_ru_task` |
|
686 |
-- ---------------------------- |
|
687 |
DROP TABLE IF EXISTS `act_ru_task`; |
|
688 |
CREATE TABLE `act_ru_task` ( |
|
689 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '', |
|
690 |
`REV_` int(11) DEFAULT NULL, |
|
691 |
`EXECUTION_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
692 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
693 |
`PROC_DEF_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
694 |
`NAME_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
695 |
`PARENT_TASK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
696 |
`DESCRIPTION_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
697 |
`TASK_DEF_KEY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
698 |
`OWNER_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
699 |
`ASSIGNEE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
700 |
`DELEGATION_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
701 |
`PRIORITY_` int(11) DEFAULT NULL, |
|
702 |
`CREATE_TIME_` timestamp(3) NULL DEFAULT NULL, |
|
703 |
`DUE_DATE_` datetime(3) DEFAULT NULL, |
|
704 |
`CATEGORY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
705 |
`SUSPENSION_STATE_` int(11) DEFAULT NULL, |
|
706 |
`TENANT_ID_` varchar(255) COLLATE utf8_bin DEFAULT '', |
|
707 |
`FORM_KEY_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
708 |
`CLAIM_TIME_` datetime(3) DEFAULT NULL, |
|
709 |
PRIMARY KEY (`ID_`), |
|
710 |
KEY `ACT_IDX_TASK_CREATE` (`CREATE_TIME_`), |
|
711 |
KEY `ACT_FK_TASK_EXE` (`EXECUTION_ID_`), |
|
712 |
KEY `ACT_FK_TASK_PROCINST` (`PROC_INST_ID_`), |
|
713 |
KEY `ACT_FK_TASK_PROCDEF` (`PROC_DEF_ID_`), |
|
714 |
CONSTRAINT `act_ru_task_ibfk_1` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`), |
|
715 |
CONSTRAINT `act_ru_task_ibfk_2` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`), |
|
716 |
CONSTRAINT `act_ru_task_ibfk_3` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `act_ru_execution` (`ID_`) |
|
717 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
718 |
|
|
719 |
-- ---------------------------- |
|
720 |
-- Records of act_ru_task |
|
721 |
-- ---------------------------- |
|
722 |
|
|
723 |
-- ---------------------------- |
|
724 |
-- Table structure for `act_ru_timer_job` |
|
725 |
-- ---------------------------- |
|
726 |
DROP TABLE IF EXISTS `act_ru_timer_job`; |
|
727 |
CREATE TABLE `act_ru_timer_job` ( |
|
728 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
729 |
`REV_` int(11) DEFAULT NULL, |
|
730 |
`TYPE_` varchar(255) COLLATE utf8_bin NOT NULL, |
|
731 |
`LOCK_EXP_TIME_` timestamp(3) NULL DEFAULT NULL, |
|
732 |
`LOCK_OWNER_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
733 |
`EXCLUSIVE_` tinyint(1) DEFAULT NULL, |
|
734 |
`EXECUTION_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
735 |
`PROCESS_INSTANCE_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
736 |
`PROC_DEF_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
737 |
`RETRIES_` int(11) DEFAULT NULL, |
|
738 |
`EXCEPTION_STACK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
739 |
`EXCEPTION_MSG_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
740 |
`DUEDATE_` timestamp(3) NULL DEFAULT NULL, |
|
741 |
`REPEAT_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
742 |
`HANDLER_TYPE_` varchar(255) COLLATE utf8_bin DEFAULT NULL, |
|
743 |
`HANDLER_CFG_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
744 |
`TENANT_ID_` varchar(255) COLLATE utf8_bin DEFAULT '', |
|
745 |
PRIMARY KEY (`ID_`), |
|
746 |
KEY `ACT_FK_TIMER_JOB_EXECUTION` (`EXECUTION_ID_`), |
|
747 |
KEY `ACT_FK_TIMER_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`), |
|
748 |
KEY `ACT_FK_TIMER_JOB_PROC_DEF` (`PROC_DEF_ID_`), |
|
749 |
KEY `ACT_FK_TIMER_JOB_EXCEPTION` (`EXCEPTION_STACK_ID_`), |
|
750 |
CONSTRAINT `act_ru_timer_job_ibfk_1` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `act_ge_bytearray` (`ID_`), |
|
751 |
CONSTRAINT `act_ru_timer_job_ibfk_2` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`), |
|
752 |
CONSTRAINT `act_ru_timer_job_ibfk_3` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `act_ru_execution` (`ID_`), |
|
753 |
CONSTRAINT `act_ru_timer_job_ibfk_4` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `act_re_procdef` (`ID_`) |
|
754 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
755 |
|
|
756 |
-- ---------------------------- |
|
757 |
-- Records of act_ru_timer_job |
|
758 |
-- ---------------------------- |
|
759 |
|
|
760 |
-- ---------------------------- |
|
761 |
-- Table structure for `act_ru_variable` |
|
762 |
-- ---------------------------- |
|
763 |
DROP TABLE IF EXISTS `act_ru_variable`; |
|
764 |
CREATE TABLE `act_ru_variable` ( |
|
765 |
`ID_` varchar(64) COLLATE utf8_bin NOT NULL, |
|
766 |
`REV_` int(11) DEFAULT NULL, |
|
767 |
`TYPE_` varchar(255) COLLATE utf8_bin NOT NULL, |
|
768 |
`NAME_` varchar(255) COLLATE utf8_bin NOT NULL, |
|
769 |
`EXECUTION_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
770 |
`PROC_INST_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
771 |
`TASK_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
772 |
`BYTEARRAY_ID_` varchar(64) COLLATE utf8_bin DEFAULT NULL, |
|
773 |
`DOUBLE_` double DEFAULT NULL, |
|
774 |
`LONG_` bigint(20) DEFAULT NULL, |
|
775 |
`TEXT_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
776 |
`TEXT2_` varchar(4000) COLLATE utf8_bin DEFAULT NULL, |
|
777 |
PRIMARY KEY (`ID_`), |
|
778 |
KEY `ACT_IDX_VARIABLE_TASK_ID` (`TASK_ID_`), |
|
779 |
KEY `ACT_FK_VAR_EXE` (`EXECUTION_ID_`), |
|
780 |
KEY `ACT_FK_VAR_PROCINST` (`PROC_INST_ID_`), |
|
781 |
KEY `ACT_FK_VAR_BYTEARRAY` (`BYTEARRAY_ID_`), |
|
782 |
CONSTRAINT `act_ru_variable_ibfk_1` FOREIGN KEY (`BYTEARRAY_ID_`) REFERENCES `act_ge_bytearray` (`ID_`), |
|
783 |
CONSTRAINT `act_ru_variable_ibfk_2` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `act_ru_execution` (`ID_`), |
|
784 |
CONSTRAINT `act_ru_variable_ibfk_3` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `act_ru_execution` (`ID_`) |
|
785 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
|
786 |
|
|
787 |
-- ---------------------------- |
|
788 |
-- Records of act_ru_variable |
|
789 |
-- ---------------------------- |