lordk911 commented on issue #8790:
URL: 
https://github.com/apache/dolphinscheduler/issues/8790#issuecomment-1070899981


   table :
   t_ds_task_definition_log
   t_ds_task_definition
   
   why not use id as PRIMARY KEY and code + version as unique index.
   
   ```
   ALTER TABLE
       `dolphinscheduler`.`t_ds_task_definition` ADD CONSTRAINT uidx_tdef_cv 
UNIQUE (`code`,
       `version`)
   ```
   
   @caishunfeng 


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to