You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by le...@apache.org on 2021/12/07 06:20:18 UTC

[dolphinscheduler] branch dev updated: fix postgre upgrade (#7230)

This is an automated email from the ASF dual-hosted git repository.

leonbao pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 9d65bf1  fix postgre upgrade (#7230)
9d65bf1 is described below

commit 9d65bf1452e676167474aad0fe503e4b21073cd2
Author: wind <ca...@users.noreply.github.com>
AuthorDate: Tue Dec 7 14:19:32 2021 +0800

    fix postgre upgrade (#7230)
    
    Co-authored-by: caishunfeng <53...@qq.com>
---
 .../sql/upgrade/2.0.0_schema/postgresql/dolphinscheduler_ddl.sql       | 2 ++
 .../sql/upgrade/2.0.1_schema/postgresql/dolphinscheduler_ddl.sql       | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.0_schema/postgresql/dolphinscheduler_ddl.sql b/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.0_schema/postgresql/dolphinscheduler_ddl.sql
index 651dfda..fb755fb 100644
--- a/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.0_schema/postgresql/dolphinscheduler_ddl.sql
+++ b/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.0_schema/postgresql/dolphinscheduler_ddl.sql
@@ -316,4 +316,6 @@ BEGIN
 END;
 $BODY$;
 
+select dolphin_update_metadata();
+
 d//
diff --git a/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.1_schema/postgresql/dolphinscheduler_ddl.sql b/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.1_schema/postgresql/dolphinscheduler_ddl.sql
index 97acb02..b2d20e1 100644
--- a/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.1_schema/postgresql/dolphinscheduler_ddl.sql
+++ b/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.1_schema/postgresql/dolphinscheduler_ddl.sql
@@ -37,4 +37,7 @@ BEGIN
         return SQLERRM;
 END;
 $BODY$;
+
+select dolphin_update_metadata();
+
 d//
\ No newline at end of file