You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ke...@apache.org on 2022/11/16 03:07:42 UTC

[dolphinscheduler] branch 3.1.2-prepare updated: cherry-pick [Upgrade][SQL]Modify the table t_ds_worker_group to add a description field in the postgresql upgrade script #12883

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

kerwin pushed a commit to branch 3.1.2-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/3.1.2-prepare by this push:
     new 018e9219ed cherry-pick [Upgrade][SQL]Modify the table t_ds_worker_group to add a description field in the postgresql upgrade script #12883
018e9219ed is described below

commit 018e9219ed765a21fd2b6ca4b17cc4ea1d7f7048
Author: Kerwin <37...@users.noreply.github.com>
AuthorDate: Tue Nov 15 17:26:41 2022 +0800

    cherry-pick [Upgrade][SQL]Modify the table t_ds_worker_group to add a description field in the postgresql upgrade script #12883
---
 .../sql/upgrade/3.1.1_schema/postgresql/dolphinscheduler_ddl.sql        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.1_schema/postgresql/dolphinscheduler_ddl.sql b/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.1_schema/postgresql/dolphinscheduler_ddl.sql
index 1d10ad01d0..902b6009cc 100644
--- a/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.1_schema/postgresql/dolphinscheduler_ddl.sql
+++ b/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.1_schema/postgresql/dolphinscheduler_ddl.sql
@@ -15,4 +15,4 @@
  * limitations under the License.
 */
 --- add column
-ALTER TABLE t_ds_task_group alter COLUMN description type varchar(255);
\ No newline at end of file
+ALTER TABLE t_ds_worker_group ADD COLUMN IF NOT EXISTS description varchar(255) DEFAULT NULL;