diff --git a/sql/dolphinscheduler_h2.sql b/sql/dolphinscheduler_h2.sql index f98295aac2..ab1baecb5e 100644 --- a/sql/dolphinscheduler_h2.sql +++ b/sql/dolphinscheduler_h2.sql @@ -314,7 +314,7 @@ CREATE TABLE t_ds_command ( id int(11) NOT NULL AUTO_INCREMENT, command_type tinyint(4) DEFAULT NULL, - process_definition_id int(11) DEFAULT NULL, + process_definition_code bigint(20) DEFAULT NULL, command_param text, task_depend_type tinyint(4) DEFAULT NULL, failure_strategy tinyint(4) DEFAULT '0', @@ -365,7 +365,7 @@ CREATE TABLE t_ds_error_command id int(11) NOT NULL, command_type tinyint(4) DEFAULT NULL, executor_id int(11) DEFAULT NULL, - process_definition_id int(11) DEFAULT NULL, + process_definition_code bigint(20) DEFAULT NULL, command_param text, task_depend_type tinyint(4) DEFAULT NULL, failure_strategy tinyint(4) DEFAULT '0', @@ -761,7 +761,7 @@ DROP TABLE IF EXISTS t_ds_schedules; CREATE TABLE t_ds_schedules ( id int(11) NOT NULL AUTO_INCREMENT, - process_definition_id int(11) NOT NULL, + process_definition_code bigint(20) NOT NULL, start_time datetime NOT NULL, end_time datetime NOT NULL, timezone_id varchar(40) DEFAULT NULL,