Index: trunk/extensions/CodeReview/codereview.sql |
— | — | @@ -161,5 +161,6 @@ |
162 | 162 | cc_review int, |
163 | 163 | |
164 | 164 | primary key (cc_id), |
165 | | - key (cc_repo_id,cc_rev_id,cc_sortkey) |
| 165 | + key (cc_repo_id,cc_rev_id,cc_sortkey), |
| 166 | + key cc_repo_time (cc_repo_id,cc_timestamp) |
166 | 167 | ) /*$wgDBTableOptions*/; |