You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by wa...@apache.org on 2022/11/23 08:58:41 UTC
[dolphinscheduler] branch 3.0.0/version-upgrade updated: sql fix
This is an automated email from the ASF dual-hosted git repository.
wangjipeng pushed a commit to branch 3.0.0/version-upgrade
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/3.0.0/version-upgrade by this push:
new e64a263007 sql fix
e64a263007 is described below
commit e64a2630073a5f16f4a51a3d9c229668f96881a6
Author: WangJPLeo <wa...@gmail.com>
AuthorDate: Wed Nov 23 16:58:30 2022 +0800
sql fix
---
.../resources/sql/upgrade/3.0.0_schema/mysql/dolphinscheduler_ddl.sql | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.0_schema/mysql/dolphinscheduler_ddl.sql b/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.0_schema/mysql/dolphinscheduler_ddl.sql
index 86ab1378a9..ea15113093 100644
--- a/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.0_schema/mysql/dolphinscheduler_ddl.sql
+++ b/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.0_schema/mysql/dolphinscheduler_ddl.sql
@@ -469,6 +469,8 @@ BEGIN
ALTER TABLE `t_ds_alert` ADD COLUMN `project_code` bigint DEFAULT NULL COMMENT 'project_code';
ALTER TABLE `t_ds_alert` ADD COLUMN `process_definition_code` bigint DEFAULT NULL COMMENT 'process_definition_code';
ALTER TABLE `t_ds_alert` ADD COLUMN `process_instance_id` int DEFAULT NULL COMMENT 'process_instance_id';
+ALTER TABLE `t_ds_process_definition` ADD COLUMN `execution_type` tinyint(4) NULL DEFAULT 0 COMMENT 'execution_type 0:parallel,1:serial wait,2:serial discard,3:serial priority';
+ALTER TABLE `t_ds_process_definition_log` ADD COLUMN `execution_type` tinyint(4) NULL DEFAULT 0 COMMENT 'execution_type 0:parallel,1:serial wait,2:serial discard,3:serial priority';
-- ALTER TABLE `t_ds_alert` ADD COLUMN `alert_type` int DEFAULT NULL COMMENT 'alert_type';
END IF;
END;