r81060 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81059‎ | r81060 | r81061 >
Date:22:25, 26 January 2011
Author:catrope
Status:ok
Tags:
Comment:
CodeReview: Update code_signoff.sql for r77302 (cs_timestamp_struck) so the entire code_signoff table can be created from one .sql file
Modified paths:
  • /trunk/extensions/CodeReview/archives/code_signoffs.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/archives/code_signoffs.sql
@@ -12,7 +12,10 @@
1313 cs_flag varchar(25) not null,
1414
1515 -- Timestamp of the sign-off
16 - cs_timestamp binary(14) not null default ''
 16+ cs_timestamp binary(14) not null default '',
 17+
 18+ -- Timestamp the sign-off was struck, or Block::infinity() if not struck
 19+ cs_timestamp_struck varbinary(14) not null default 'infinity'
1720 ) /*$wgDBTableOptions*/;
18 -CREATE UNIQUE INDEX /*i*/cs_repo_rev_user_flag ON /*_*/code_signoffs (cs_repo_id, cs_rev_id, cs_user_text, cs_flag);
 21+CREATE UNIQUE INDEX /*i*/cs_repo_rev_user_flag_tstruck ON /*_*/code_signoffs (cs_repo_id, cs_rev_id, cs_user_text, cs_flag, cs_timestamp_struck);
1922 CREATE INDEX /*i*/cs_repo_repo_rev_timestamp ON /*_*/code_signoffs (cs_repo_id, cs_rev_id, cs_timestamp);

Follow-up revisions

RevisionCommit summaryAuthorDate
r810791.17: MFT r80507, r80634, r80770, r80961, r80978, r80985, r81042, r81060, r81...catrope01:15, 27 January 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77302(bug 26014) Allow users to strike their own sign-offs. Implemented with a tim...catrope21:39, 25 November 2010

Status & tagging log