|
|
@ -327,6 +327,7 @@ CREATE TABLE t_ds_command |
|
|
|
process_instance_priority int(11) DEFAULT NULL, |
|
|
|
process_instance_priority int(11) DEFAULT NULL, |
|
|
|
worker_group varchar(64), |
|
|
|
worker_group varchar(64), |
|
|
|
environment_code bigint(20) DEFAULT '-1', |
|
|
|
environment_code bigint(20) DEFAULT '-1', |
|
|
|
|
|
|
|
dry_run int NULL DEFAULT 0, |
|
|
|
PRIMARY KEY (id), |
|
|
|
PRIMARY KEY (id), |
|
|
|
KEY priority_id_index (process_instance_priority, id) |
|
|
|
KEY priority_id_index (process_instance_priority, id) |
|
|
|
); |
|
|
|
); |
|
|
@ -379,6 +380,7 @@ CREATE TABLE t_ds_error_command |
|
|
|
worker_group varchar(64), |
|
|
|
worker_group varchar(64), |
|
|
|
environment_code bigint(20) DEFAULT '-1', |
|
|
|
environment_code bigint(20) DEFAULT '-1', |
|
|
|
message text, |
|
|
|
message text, |
|
|
|
|
|
|
|
dry_run int NULL DEFAULT 0, |
|
|
|
PRIMARY KEY (id) |
|
|
|
PRIMARY KEY (id) |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
@ -591,6 +593,7 @@ CREATE TABLE t_ds_process_instance |
|
|
|
timeout int(11) DEFAULT '0', |
|
|
|
timeout int(11) DEFAULT '0', |
|
|
|
tenant_id int(11) NOT NULL DEFAULT '-1', |
|
|
|
tenant_id int(11) NOT NULL DEFAULT '-1', |
|
|
|
var_pool longtext, |
|
|
|
var_pool longtext, |
|
|
|
|
|
|
|
dry_run int NULL DEFAULT 0, |
|
|
|
PRIMARY KEY (id) |
|
|
|
PRIMARY KEY (id) |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
@ -835,6 +838,7 @@ CREATE TABLE t_ds_task_instance |
|
|
|
first_submit_time datetime DEFAULT NULL, |
|
|
|
first_submit_time datetime DEFAULT NULL, |
|
|
|
delay_time int(4) DEFAULT '0', |
|
|
|
delay_time int(4) DEFAULT '0', |
|
|
|
var_pool longtext, |
|
|
|
var_pool longtext, |
|
|
|
|
|
|
|
dry_run int NULL DEFAULT 0, |
|
|
|
PRIMARY KEY (id), |
|
|
|
PRIMARY KEY (id), |
|
|
|
FOREIGN KEY (process_instance_id) REFERENCES t_ds_process_instance (id) ON DELETE CASCADE |
|
|
|
FOREIGN KEY (process_instance_id) REFERENCES t_ds_process_instance (id) ON DELETE CASCADE |
|
|
|
); |
|
|
|
); |
|
|
@ -1026,6 +1030,6 @@ CREATE TABLE t_ds_environment_worker_group_relation |
|
|
|
operator int DEFAULT NULL, |
|
|
|
operator int DEFAULT NULL, |
|
|
|
create_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, |
|
|
|
create_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, |
|
|
|
update_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
|
|
|
update_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
|
|
|
PRIMARY KEY (id) , |
|
|
|
PRIMARY KEY (id), |
|
|
|
UNIQUE KEY environment_worker_group_unique (environment_code,worker_group) |
|
|
|
UNIQUE KEY environment_worker_group_unique (environment_code,worker_group) |
|
|
|
); |
|
|
|
); |
|
|
|