kyoty commented on a change in pull request #5611:
URL: https://github.com/apache/dolphinscheduler/pull/5611#discussion_r651456981



##########
File path: sql/dolphinscheduler_postgre.sql
##########
@@ -303,7 +303,7 @@ CREATE TABLE t_ds_process_definition (
   tenant_id int DEFAULT '-1' ,
   create_time timestamp DEFAULT NULL ,
   update_time timestamp DEFAULT NULL ,
-  PRIMARY KEY (id) ,
+  PRIMARY KEY (id, code) ,

Review comment:
       Thanks @wen-hemin 
   you mean **the primary key should be `id` instead of `(`id`,`code`)`?**
   If so, the schema defined early by other developers in  
`dolphinscheduler_mysql.sql`(https://github.com/apache/dolphinscheduler/blob/5d3b75a0a32da02ad562386a8253727ab0dc6b75/sql/dolphinscheduler_mysql.sql#L411)
 is wrong. Can you confirm this? I'm not familiar with the relevant background
   




-- 
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:
[email protected]


Reply via email to