You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/06/09 02:03:39 UTC

[GitHub] [dolphinscheduler] ruanwenjun commented on a change in pull request #5606: [Fix-5583][sql] fix table name error in sql upgrade script

ruanwenjun commented on a change in pull request #5606:
URL: https://github.com/apache/dolphinscheduler/pull/5606#discussion_r647911775



##########
File path: sql/upgrade/1.4.0_schema/postgresql/dolphinscheduler_ddl.sql
##########
@@ -294,7 +294,7 @@ BEGIN
           WHERE relname='t_ds_datasource'
                             AND indexrelname ='t_ds_datasource_name_UN')
       THEN
-         ALTER TABLE t_ds_process_definition ADD CONSTRAINT t_ds_datasource_name_UN UNIQUE (name, type);
+         ALTER TABLE t_ds_alertgroup ADD CONSTRAINT t_ds_alertgroup_name_UN UNIQUE (name, type);

Review comment:
       The table `t_ds_process_definition` should change to `t_ds_datasource`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org