r41473 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41472‎ | r41473 | r41474 >
Date:11:55, 1 October 2008
Author:aaron
Status:old (Comments)
Tags:
Comment:
Add (cr_repo_id, cr_author) index to list authors at /authors
Modified paths:
  • /trunk/extensions/CodeReview/codereview.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/codereview.sql
@@ -54,7 +54,8 @@
5555 cr_status enum('new', 'fixme', 'resolved', 'ok') not null default 'new',
5656
5757 primary key (cr_repo_id, cr_id),
58 - key (cr_repo_id, cr_timestamp)
 58+ key (cr_repo_id, cr_timestamp),
 59+ key cr_repo_author (cr_repo_id, cr_author)
5960 ) /*$wgDBTableOptions*/;
6061
6162 --

Comments

#Comment by Brion VIBBER (talk | contribs)   16:38, 1 October 2008

If this is going to be used for author list, it should include timestamp as well probably.

#Comment by Voice of All (talk | contribs)   00:26, 3 October 2008

timestamp added; applied

Status & tagging log