caishunfeng commented on a change in pull request #8290:
URL: https://github.com/apache/dolphinscheduler/pull/8290#discussion_r814429373



##########
File path: 
dolphinscheduler-dao/src/main/resources/sql/upgrade/2.1.0_schema/mysql/dolphinscheduler_ddl.sql
##########
@@ -20,6 +20,10 @@ ALTER TABLE `t_ds_task_instance` MODIFY COLUMN `task_params` 
longtext COMMENT 'j
 ALTER TABLE `t_ds_process_task_relation` ADD KEY `idx_code` (`project_code`, 
`process_definition_code`) USING BTREE;
 ALTER TABLE `t_ds_process_task_relation_log` ADD KEY 
`idx_process_code_version` 
(`process_definition_code`,`process_definition_version`) USING BTREE;
 
+ALTER TABLE `t_ds_relation_process_instance` ADD INDEX 
`idx_relation_process_instance_pproc_inst_id_ptask_inst_id` 
(`parent_process_instance_id`, `parent_task_instance_id`);

Review comment:
       miss the ddl in upgrade too. 




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