Browse Source

[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>
2.0.7-release
LiuBodong 3 years ago committed by GitHub
parent
commit
a1e447d399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      sql/dolphinscheduler_h2.sql

6
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,

Loading…
Cancel
Save