r77183 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77182‎ | r77183 | r77184 >
Date:21:06, 23 November 2010
Author:hashar
Status:ok
Tags:
Comment:
Fix code_signoffs.cs_user creation on sqlite DB

Follow up r77087.
Modified paths:
  • /trunk/extensions/CodeReview/CodeReview.php (modified) (history)
  • /trunk/extensions/CodeReview/archives/code_signoffs_userid-sqlite.sql (added) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeReview.php
@@ -203,6 +203,8 @@
204204 case 'sqlite':
205205 $updater->addExtensionUpdate( array( 'addTable', 'code_rev', "$base/codereview.sql", true ) );
206206 $updater->addExtensionUpdate( array( 'addTable', 'code_signoffs', "$base/archives/code_signoffs.sql", true ) );
 207+ $updater->addExtensionUpdate( array( 'addField', 'code_signoffs', 'cs_user',
 208+ "$base/archives/code_signoffs_userid-sqlite.sql", true ) );
207209 break;
208210 case 'postgres':
209211 // TODO
Index: trunk/extensions/CodeReview/archives/code_signoffs_userid-sqlite.sql
@@ -0,0 +1,2 @@
 2+ALTER TABLE /*_*/code_signoffs
 3+ ADD COLUMN cs_user int NOT NULL DEFAULT 0;

Follow-up revisions

RevisionCommit summaryAuthorDate
r77191Followup r77183, svn:eol-style native. Bad hasharreedy22:03, 23 November 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77087*(bug 26015) Wikilink to signoff users to userpage if user is linked...reedy21:41, 21 November 2010

Status & tagging log