Index: trunk/extensions/CodeReview/codereview.sql |
— | — | @@ -123,7 +123,8 @@ |
124 | 124 | -- -> cr_id |
125 | 125 | cf_to int not null, |
126 | 126 | |
127 | | - primary key (cf_repo_id, cf_from, cf_to) |
| 127 | + primary key (cf_repo_id, cf_from, cf_to), |
| 128 | + key (cf_repo_id, cf_to, cf_from) |
128 | 129 | ) /*$wgDBTableOptions*/; |
129 | 130 | |
130 | 131 | -- Freetext tagging for revisions |
Index: trunk/extensions/CodeReview/archives/code_relations_index.sql |
— | — | @@ -0,0 +1,2 @@ |
| 2 | +ALTER TABLE /*$wgDBprefix*/code_relations |
| 3 | + ADD key (cf_repo_id, cf_to, cf_from); |
Property changes on: trunk/extensions/CodeReview/archives/code_relations_index.sql |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 4 | + native |