zhongjiajie commented on code in PR #14127:
URL:
https://github.com/apache/dolphinscheduler/pull/14127#discussion_r1217768795
##########
dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_h2.sql:
##########
@@ -2042,3 +2042,16 @@ CREATE TABLE t_ds_trigger_relation
PRIMARY KEY (id),
UNIQUE KEY t_ds_trigger_relation_UN(trigger_type,job_id,trigger_code)
);
+
+
+DROP TABLE IF EXISTS t_ds_relation_sub_workflow;
+CREATE TABLE t_ds_relation_sub_workflow (
+ id BIGINT AUTO_INCREMENT NOT NULL,
+ parent_workflow_instance_id BIGINT NOT NULL,
+ parent_task_code BIGINT NOT NULL,
+ sub_workflow_instance_id BIGINT NOT NULL,
+ PRIMARY KEY (id),
+ INDEX idx_parent_workflow_instance_id (parent_workflow_instance_id),
+ INDEX idx_parent_task_code (parent_task_code),
+ INDEX idx_sub_workflow_instance_id (sub_workflow_instance_id)
+) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
Review Comment:
```suggestion
);
```
--
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]