refactor(测试跟踪): 增加关联表索引
This commit is contained in:
parent
cb4db5a073
commit
3a094212de
|
@ -16,3 +16,16 @@ update project set case_template_id = (
|
||||||
and `system` = 1
|
and `system` = 1
|
||||||
and project_id = 'global' limit 1
|
and project_id = 'global' limit 1
|
||||||
) where case_template_id is null or case_template_id = '';
|
) where case_template_id is null or case_template_id = '';
|
||||||
|
|
||||||
|
CREATE INDEX test_plan_test_case_plan_id_index
|
||||||
|
ON test_plan_test_case(plan_id);
|
||||||
|
|
||||||
|
CREATE INDEX custom_field_template_field_id_index
|
||||||
|
ON custom_field_template(field_id);
|
||||||
|
|
||||||
|
CREATE INDEX custom_field_template_template_id_index
|
||||||
|
ON custom_field_template(template_id);
|
||||||
|
|
||||||
|
CREATE INDEX test_case_review_test_case_review_id_index
|
||||||
|
ON test_case_review_test_case(review_id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue