|
|
|
@ -398,7 +398,7 @@ CREATE TABLE `t_ds_task_definition` (
|
|
|
|
|
`timeout_notify_strategy` tinyint(4) DEFAULT NULL COMMENT 'timeout notification policy: 0 warning, 1 fail', |
|
|
|
|
`timeout` int(11) DEFAULT '0' COMMENT 'timeout length,unit: minute', |
|
|
|
|
`delay_time` int(11) DEFAULT '0' COMMENT 'delay execution time,unit: minute', |
|
|
|
|
`resource_ids` varchar(255) DEFAULT NULL COMMENT 'resource id, separated by comma', |
|
|
|
|
`resource_ids` text COMMENT 'resource id, separated by comma', |
|
|
|
|
`create_time` datetime NOT NULL COMMENT 'create time', |
|
|
|
|
`update_time` datetime DEFAULT NULL COMMENT 'update time', |
|
|
|
|
PRIMARY KEY (`id`,`code`) |
|
|
|
@ -428,7 +428,7 @@ CREATE TABLE `t_ds_task_definition_log` (
|
|
|
|
|
`timeout_notify_strategy` tinyint(4) DEFAULT NULL COMMENT 'timeout notification policy: 0 warning, 1 fail', |
|
|
|
|
`timeout` int(11) DEFAULT '0' COMMENT 'timeout length,unit: minute', |
|
|
|
|
`delay_time` int(11) DEFAULT '0' COMMENT 'delay execution time,unit: minute', |
|
|
|
|
`resource_ids` varchar(255) DEFAULT NULL COMMENT 'resource id, separated by comma', |
|
|
|
|
`resource_ids` text COMMENT 'resource id, separated by comma', |
|
|
|
|
`operator` int(11) DEFAULT NULL COMMENT 'operator user id', |
|
|
|
|
`operate_time` datetime DEFAULT NULL COMMENT 'operate time', |
|
|
|
|
`create_time` datetime NOT NULL COMMENT 'create time', |
|
|
|
@ -443,6 +443,9 @@ ALTER TABLE t_ds_process_instance ADD COLUMN `environment_code` bigint(20) defau
|
|
|
|
|
ALTER TABLE t_ds_task_instance ADD COLUMN `environment_code` bigint(20) default '-1' COMMENT 'environment code' AFTER `worker_group`; |
|
|
|
|
ALTER TABLE t_ds_task_instance ADD COLUMN `environment_config` text COMMENT 'environment config' AFTER `environment_code`; |
|
|
|
|
|
|
|
|
|
ALTER TABLE t_ds_task_definition MODIFY COLUMN `resource_ids` text; |
|
|
|
|
ALTER TABLE t_ds_task_definition_log MODIFY COLUMN `resource_ids` text; |
|
|
|
|
|
|
|
|
|
-- ---------------------------- |
|
|
|
|
-- Table structure for t_ds_environment_worker_group_relation |
|
|
|
|
-- ---------------------------- |
|
|
|
|