|
|
@ -331,7 +331,7 @@ CREATE TABLE `t_ds_command` ( |
|
|
|
`update_time` datetime DEFAULT NULL COMMENT 'update time', |
|
|
|
`update_time` datetime DEFAULT NULL COMMENT 'update time', |
|
|
|
`process_instance_priority` int(11) DEFAULT NULL COMMENT 'process instance priority: 0 Highest,1 High,2 Medium,3 Low,4 Lowest', |
|
|
|
`process_instance_priority` int(11) DEFAULT NULL COMMENT 'process instance priority: 0 Highest,1 High,2 Medium,3 Low,4 Lowest', |
|
|
|
`worker_group` varchar(64) COMMENT 'worker group', |
|
|
|
`worker_group` varchar(64) COMMENT 'worker group', |
|
|
|
`environment_code` bigint(20) NOT NULL COMMENT 'environment code', |
|
|
|
`environment_code` bigint(20) DEFAULT '-1' COMMENT 'environment code', |
|
|
|
PRIMARY KEY (`id`) |
|
|
|
PRIMARY KEY (`id`) |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; |
|
|
|
|
|
|
|
|
|
|
@ -379,7 +379,7 @@ CREATE TABLE `t_ds_error_command` ( |
|
|
|
`update_time` datetime DEFAULT NULL COMMENT 'update time', |
|
|
|
`update_time` datetime DEFAULT NULL COMMENT 'update time', |
|
|
|
`process_instance_priority` int(11) DEFAULT NULL COMMENT 'process instance priority, 0 Highest,1 High,2 Medium,3 Low,4 Lowest', |
|
|
|
`process_instance_priority` int(11) DEFAULT NULL COMMENT 'process instance priority, 0 Highest,1 High,2 Medium,3 Low,4 Lowest', |
|
|
|
`worker_group` varchar(64) COMMENT 'worker group', |
|
|
|
`worker_group` varchar(64) COMMENT 'worker group', |
|
|
|
`environment_code` bigint(20) NOT NULL COMMENT 'environment code', |
|
|
|
`environment_code` bigint(20) DEFAULT '-1' COMMENT 'environment code', |
|
|
|
`message` text COMMENT 'message', |
|
|
|
`message` text COMMENT 'message', |
|
|
|
PRIMARY KEY (`id`) USING BTREE |
|
|
|
PRIMARY KEY (`id`) USING BTREE |
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; |
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; |
|
|
@ -460,7 +460,7 @@ CREATE TABLE `t_ds_task_definition` ( |
|
|
|
`flag` tinyint(2) DEFAULT NULL COMMENT '0 not available, 1 available', |
|
|
|
`flag` tinyint(2) DEFAULT NULL COMMENT '0 not available, 1 available', |
|
|
|
`task_priority` tinyint(4) DEFAULT NULL COMMENT 'job priority', |
|
|
|
`task_priority` tinyint(4) DEFAULT NULL COMMENT 'job priority', |
|
|
|
`worker_group` varchar(200) DEFAULT NULL COMMENT 'worker grouping', |
|
|
|
`worker_group` varchar(200) DEFAULT NULL COMMENT 'worker grouping', |
|
|
|
`environment_code` bigint(20) NOT NULL COMMENT 'environment code', |
|
|
|
`environment_code` bigint(20) DEFAULT '-1' COMMENT 'environment code', |
|
|
|
`fail_retry_times` int(11) DEFAULT NULL COMMENT 'number of failed retries', |
|
|
|
`fail_retry_times` int(11) DEFAULT NULL COMMENT 'number of failed retries', |
|
|
|
`fail_retry_interval` int(11) DEFAULT NULL COMMENT 'failed retry interval', |
|
|
|
`fail_retry_interval` int(11) DEFAULT NULL COMMENT 'failed retry interval', |
|
|
|
`timeout_flag` tinyint(2) DEFAULT '0' COMMENT 'timeout flag:0 close, 1 open', |
|
|
|
`timeout_flag` tinyint(2) DEFAULT '0' COMMENT 'timeout flag:0 close, 1 open', |
|
|
@ -491,7 +491,7 @@ CREATE TABLE `t_ds_task_definition_log` ( |
|
|
|
`flag` tinyint(2) DEFAULT NULL COMMENT '0 not available, 1 available', |
|
|
|
`flag` tinyint(2) DEFAULT NULL COMMENT '0 not available, 1 available', |
|
|
|
`task_priority` tinyint(4) DEFAULT NULL COMMENT 'job priority', |
|
|
|
`task_priority` tinyint(4) DEFAULT NULL COMMENT 'job priority', |
|
|
|
`worker_group` varchar(200) DEFAULT NULL COMMENT 'worker grouping', |
|
|
|
`worker_group` varchar(200) DEFAULT NULL COMMENT 'worker grouping', |
|
|
|
`environment_code` bigint(20) NOT NULL COMMENT 'environment code', |
|
|
|
`environment_code` bigint(20) DEFAULT '-1' COMMENT 'environment code', |
|
|
|
`fail_retry_times` int(11) DEFAULT NULL COMMENT 'number of failed retries', |
|
|
|
`fail_retry_times` int(11) DEFAULT NULL COMMENT 'number of failed retries', |
|
|
|
`fail_retry_interval` int(11) DEFAULT NULL COMMENT 'failed retry interval', |
|
|
|
`fail_retry_interval` int(11) DEFAULT NULL COMMENT 'failed retry interval', |
|
|
|
`timeout_flag` tinyint(2) DEFAULT '0' COMMENT 'timeout flag:0 close, 1 open', |
|
|
|
`timeout_flag` tinyint(2) DEFAULT '0' COMMENT 'timeout flag:0 close, 1 open', |
|
|
@ -582,6 +582,7 @@ CREATE TABLE `t_ds_process_instance` ( |
|
|
|
`history_cmd` text COMMENT 'history commands of process instance operation', |
|
|
|
`history_cmd` text COMMENT 'history commands of process instance operation', |
|
|
|
`process_instance_priority` int(11) DEFAULT NULL COMMENT 'process instance priority. 0 Highest,1 High,2 Medium,3 Low,4 Lowest', |
|
|
|
`process_instance_priority` int(11) DEFAULT NULL COMMENT 'process instance priority. 0 Highest,1 High,2 Medium,3 Low,4 Lowest', |
|
|
|
`worker_group` varchar(64) DEFAULT NULL COMMENT 'worker group id', |
|
|
|
`worker_group` varchar(64) DEFAULT NULL COMMENT 'worker group id', |
|
|
|
|
|
|
|
`environment_code` bigint(20) DEFAULT '-1' COMMENT 'environment code', |
|
|
|
`timeout` int(11) DEFAULT '0' COMMENT 'time out', |
|
|
|
`timeout` int(11) DEFAULT '0' COMMENT 'time out', |
|
|
|
`tenant_id` int(11) NOT NULL DEFAULT '-1' COMMENT 'tenant id', |
|
|
|
`tenant_id` int(11) NOT NULL DEFAULT '-1' COMMENT 'tenant id', |
|
|
|
`var_pool` longtext COMMENT 'var_pool', |
|
|
|
`var_pool` longtext COMMENT 'var_pool', |
|
|
@ -761,7 +762,7 @@ CREATE TABLE `t_ds_schedules` ( |
|
|
|
`warning_group_id` int(11) DEFAULT NULL COMMENT 'alert group id', |
|
|
|
`warning_group_id` int(11) DEFAULT NULL COMMENT 'alert group id', |
|
|
|
`process_instance_priority` int(11) DEFAULT NULL COMMENT 'process instance priority:0 Highest,1 High,2 Medium,3 Low,4 Lowest', |
|
|
|
`process_instance_priority` int(11) DEFAULT NULL COMMENT 'process instance priority:0 Highest,1 High,2 Medium,3 Low,4 Lowest', |
|
|
|
`worker_group` varchar(64) DEFAULT '' COMMENT 'worker group id', |
|
|
|
`worker_group` varchar(64) DEFAULT '' COMMENT 'worker group id', |
|
|
|
`environment_code` bigint(20) NOT NULL COMMENT 'environment code', |
|
|
|
`environment_code` bigint(20) DEFAULT '-1' COMMENT 'environment code', |
|
|
|
`create_time` datetime NOT NULL COMMENT 'create time', |
|
|
|
`create_time` datetime NOT NULL COMMENT 'create time', |
|
|
|
`update_time` datetime NOT NULL COMMENT 'update time', |
|
|
|
`update_time` datetime NOT NULL COMMENT 'update time', |
|
|
|
PRIMARY KEY (`id`) |
|
|
|
PRIMARY KEY (`id`) |
|
|
@ -815,7 +816,7 @@ CREATE TABLE `t_ds_task_instance` ( |
|
|
|
`max_retry_times` int(2) DEFAULT NULL COMMENT 'max retry times', |
|
|
|
`max_retry_times` int(2) DEFAULT NULL COMMENT 'max retry times', |
|
|
|
`task_instance_priority` int(11) DEFAULT NULL COMMENT 'task instance priority:0 Highest,1 High,2 Medium,3 Low,4 Lowest', |
|
|
|
`task_instance_priority` int(11) DEFAULT NULL COMMENT 'task instance priority:0 Highest,1 High,2 Medium,3 Low,4 Lowest', |
|
|
|
`worker_group` varchar(64) DEFAULT NULL COMMENT 'worker group id', |
|
|
|
`worker_group` varchar(64) DEFAULT NULL COMMENT 'worker group id', |
|
|
|
`environment_code` bigint(20) NOT NULL COMMENT 'environment code', |
|
|
|
`environment_code` bigint(20) DEFAULT '-1' COMMENT 'environment code', |
|
|
|
`environment_config` text DEFAULT '' COMMENT 'this config contains many environment variables config', |
|
|
|
`environment_config` text DEFAULT '' COMMENT 'this config contains many environment variables config', |
|
|
|
`executor_id` int(11) DEFAULT NULL, |
|
|
|
`executor_id` int(11) DEFAULT NULL, |
|
|
|
`first_submit_time` datetime DEFAULT NULL COMMENT 'task first submit time', |
|
|
|
`first_submit_time` datetime DEFAULT NULL COMMENT 'task first submit time', |
|
|
|