r84864 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84863‎ | r84864 | r84865 >
Date:17:43, 27 March 2011
Author:demon
Status:ok
Tags:
Comment:
/*$wgDBprefix*/ -> /*_*/
Use /*$wgDBTableOptions*/;
Modified paths:
  • /trunk/extensions/ConfirmAccount/ConfirmAccount.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/ConfirmAccount.sql
@@ -5,7 +5,7 @@
66
77 -- This stores all of our reviews,
88 -- the corresponding tags are stored in the tag table
9 -CREATE TABLE /*$wgDBprefix*/account_requests (
 9+CREATE TABLE /*_*/account_requests (
1010 acr_id int unsigned NOT NULL auto_increment,
1111 -- Usernames must be unique, must not be in the form of
1212 -- an IP address. _Shouldn't_ allow slashes or case
@@ -62,11 +62,11 @@
6363 UNIQUE KEY (acr_email(255)),
6464 INDEX (acr_email_token),
6565 INDEX acr_type_del_reg (acr_type,acr_deleted,acr_registration)
66 -) TYPE=InnoDB;
 66+) /*$wgDBTableOptions*/;
6767
6868 -- This stores all of credential information
6969 -- When accounts are confirmed, the identity info goes here
70 -CREATE TABLE /*$wgDBprefix*/account_credentials (
 70+CREATE TABLE /*_*/account_credentials (
7171 -- Revision ID #
7272 acd_id int unsigned NOT NULL auto_increment,
7373 -- Foreign key to user.user_id
@@ -107,4 +107,4 @@
108108 PRIMARY KEY (acd_user_id,acd_id),
109109 UNIQUE KEY (acd_id)
110110
111 -) TYPE=InnoDB;
 111+) /*$wgDBTableOptions*/;

Follow-up revisions

RevisionCommit summaryAuthorDate
r84866Follow-up r84864: total war on TYPE=<...> instead of ENGINE=<...> in extensio...maxsem17:55, 27 March 2011

Status & tagging log