未验证 提交 a1e447d3 编写于 作者: L LiuBodong 提交者: GitHub

[StandaloneServer][BUG]Fix workflow can't save correctly (#6214) (#6215)

* [StandaloneServer][BUG]Fix workflow can't save correctly (#6214)

* [StandaloneServer][BUG] Command can't be saved to h2 database (#6214)

* [API][BUG] Update embedded h2 sql, use process_definition_code instead of unused process_definition_id (#6214)

* Update dolphinscheduler_h2.sql

update scale of process_definition_code in t_ds_error_command

Co-authored-by: liubodong <liubodong>
上级 6aafa81a
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册