Page MenuHomePhabricator

4715-schema

Authored By
bzimport
Nov 21 2014, 9:02 PM
Size
25 KB
Referenced Files
None
Subscribers
None

4715-schema

Index: maintenance/archives/patch-rev_comment_size.sql
===================================================================
--- maintenance/archives/patch-rev_comment_size.sql (revision 0)
+++ maintenance/archives/patch-rev_comment_size.sql (revision 0)
@@ -0,0 +1 @@
+ALTER TABLE /*$wgDBprefix*/revision CHANGE rev_comment rev_comment varchar(1024) binary NOT NULL default '';
Property changes on: maintenance/archives/patch-rev_comment_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/archives/patch-img_description_size.sql
===================================================================
--- maintenance/archives/patch-img_description_size.sql (revision 0)
+++ maintenance/archives/patch-img_description_size.sql (revision 0)
@@ -0,0 +1 @@
+ALTER TABLE /*$wgDBprefix*/image CHANGE img_description img_description varchar(1024) binary NOT NULL default '';
Property changes on: maintenance/archives/patch-img_description_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/archives/patch-rc_comment_size.sql
===================================================================
--- maintenance/archives/patch-rc_comment_size.sql (revision 0)
+++ maintenance/archives/patch-rc_comment_size.sql (revision 0)
@@ -0,0 +1 @@
+ALTER TABLE /*$wgDBprefix*/recentchanges CHANGE rc_comment rc_comment varchar(1024) binary NOT NULL default '';
Property changes on: maintenance/archives/patch-rc_comment_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/archives/patch-fa_description_size.sql
===================================================================
--- maintenance/archives/patch-fa_description_size.sql (revision 0)
+++ maintenance/archives/patch-fa_description_size.sql (revision 0)
@@ -0,0 +1 @@
+ALTER TABLE /*$wgDBprefix*/filearchive CHANGE fa_description fa_description varchar(1024) binary;
Property changes on: maintenance/archives/patch-fa_description_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/archives/patch-log_comment_size.sql
===================================================================
--- maintenance/archives/patch-log_comment_size.sql (revision 0)
+++ maintenance/archives/patch-log_comment_size.sql (revision 0)
@@ -0,0 +1 @@
+ALTER TABLE /*$wgDBprefix*/logging CHANGE log_comment log_comment varchar(1024) binary NOT NULL default '';
Property changes on: maintenance/archives/patch-log_comment_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/archives/patch-ar_comment_size.sql
===================================================================
--- maintenance/archives/patch-ar_comment_size.sql (revision 0)
+++ maintenance/archives/patch-ar_comment_size.sql (revision 0)
@@ -0,0 +1 @@
+ALTER TABLE /*$wgDBprefix*/archive CHANGE ar_comment ar_comment varchar(1024) binary NOT NULL default '';
Property changes on: maintenance/archives/patch-ar_comment_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/archives/patch-pt_reason_size.sql
===================================================================
--- maintenance/archives/patch-pt_reason_size.sql (revision 0)
+++ maintenance/archives/patch-pt_reason_size.sql (revision 0)
@@ -0,0 +1 @@
+ALTER TABLE /*$wgDBprefix*/protected_titles CHANGE pt_reason pt_reason varchar(1024) binary;
Property changes on: maintenance/archives/patch-pt_reason_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/archives/patch-oi_description_size.sql
===================================================================
--- maintenance/archives/patch-oi_description_size.sql (revision 0)
+++ maintenance/archives/patch-oi_description_size.sql (revision 0)
@@ -0,0 +1 @@
+ALTER TABLE /*$wgDBprefix*/oldimage CHANGE oi_description oi_description varchar(1024) binary NOT NULL default '';
Property changes on: maintenance/archives/patch-oi_description_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/archives/patch-ipb_reason_size.sql
===================================================================
--- maintenance/archives/patch-ipb_reason_size.sql (revision 0)
+++ maintenance/archives/patch-ipb_reason_size.sql (revision 0)
@@ -0,0 +1 @@
+ALTER TABLE /*$wgDBprefix*/ipblocks CHANGE ipb_reason ipb_reason varchar(1024) binary NOT NULL default '';
Property changes on: maintenance/archives/patch-ipb_reason_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/oracle/archives/patch-oi_description_size.sql
===================================================================
--- maintenance/oracle/archives/patch-oi_description_size.sql (revision 0)
+++ maintenance/oracle/archives/patch-oi_description_size.sql (revision 0)
@@ -0,0 +1,2 @@
+define mw_prefix='{$wgDBprefix}';
+ALTER TABLE &mw_prefix.oldimage MODIFY oi_description VARCHAR2(1024);
Property changes on: maintenance/oracle/archives/patch-oi_description_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/oracle/archives/patch-pt_reason_size.sql
===================================================================
--- maintenance/oracle/archives/patch-pt_reason_size.sql (revision 0)
+++ maintenance/oracle/archives/patch-pt_reason_size.sql (revision 0)
@@ -0,0 +1,2 @@
+define mw_prefix='{$wgDBprefix}';
+ALTER TABLE &mw_prefix.protected_titles MODIFY pt_reason VARCHAR2(1024);
Property changes on: maintenance/oracle/archives/patch-pt_reason_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/oracle/archives/patch-rev_comment_size.sql
===================================================================
--- maintenance/oracle/archives/patch-rev_comment_size.sql (revision 0)
+++ maintenance/oracle/archives/patch-rev_comment_size.sql (revision 0)
@@ -0,0 +1,2 @@
+define mw_prefix='{$wgDBprefix}';
+ALTER TABLE &mw_prefix.revision MODIFY rev_comment VARCHAR2(1024);
Property changes on: maintenance/oracle/archives/patch-rev_comment_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/oracle/archives/patch-img_description_size.sql
===================================================================
--- maintenance/oracle/archives/patch-img_description_size.sql (revision 0)
+++ maintenance/oracle/archives/patch-img_description_size.sql (revision 0)
@@ -0,0 +1,2 @@
+define mw_prefix='{$wgDBprefix}';
+ALTER TABLE &mw_prefix.image MODIFY img_description varchar2(1024);
Property changes on: maintenance/oracle/archives/patch-img_description_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/oracle/archives/patch-ipb_reason_size.sql
===================================================================
--- maintenance/oracle/archives/patch-ipb_reason_size.sql (revision 0)
+++ maintenance/oracle/archives/patch-ipb_reason_size.sql (revision 0)
@@ -0,0 +1,2 @@
+define mw_prefix='{$wgDBprefix}';
+ALTER TABLE &mw_prefix.ipblocks MODIFY ipb_reason VARCHAR2(1024) NOT NULL;
Property changes on: maintenance/oracle/archives/patch-ipb_reason_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/oracle/archives/patch-log_comment_size.sql
===================================================================
--- maintenance/oracle/archives/patch-log_comment_size.sql (revision 0)
+++ maintenance/oracle/archives/patch-log_comment_size.sql (revision 0)
@@ -0,0 +1,2 @@
+define mw_prefix='{$wgDBprefix}';
+ALTER TABLE &mw_prefix.logging MODIFY log_comment VARCHAR2(1024);
Property changes on: maintenance/oracle/archives/patch-log_comment_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/oracle/archives/patch-ar_comment_size.sql
===================================================================
--- maintenance/oracle/archives/patch-ar_comment_size.sql (revision 0)
+++ maintenance/oracle/archives/patch-ar_comment_size.sql (revision 0)
@@ -0,0 +1,2 @@
+define mw_prefix='{$wgDBprefix}';
+ALTER TABLE &mw_prefix.archive MODIFY ar_comment VARCHAR2(1024);
Property changes on: maintenance/oracle/archives/patch-ar_comment_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/oracle/archives/patch-rc_comment_size.sql
===================================================================
--- maintenance/oracle/archives/patch-rc_comment_size.sql (revision 0)
+++ maintenance/oracle/archives/patch-rc_comment_size.sql (revision 0)
@@ -0,0 +1,2 @@
+define mw_prefix='{$wgDBprefix}';
+ALTER TABLE &mw_prefix.recentchanges MODIFY rc_comment VARCHAR2(1024);
Property changes on: maintenance/oracle/archives/patch-rc_comment_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/oracle/archives/patch-fa_description_size.sql
===================================================================
--- maintenance/oracle/archives/patch-fa_description_size.sql (revision 0)
+++ maintenance/oracle/archives/patch-fa_description_size.sql (revision 0)
@@ -0,0 +1,2 @@
+define mw_prefix='{$wgDBprefix}';
+ALTER TABLE &mw_prefix.filearchive MODIFY fa_description VARCHAR2(1024);
Property changes on: maintenance/oracle/archives/patch-fa_description_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/oracle/tables.sql
===================================================================
--- maintenance/oracle/tables.sql (revision 86825)
+++ maintenance/oracle/tables.sql (working copy)
@@ -89,7 +89,7 @@
rev_id NUMBER NOT NULL,
rev_page NUMBER NOT NULL,
rev_text_id NUMBER NULL,
- rev_comment VARCHAR2(255),
+ rev_comment VARCHAR2(1024),
rev_user NUMBER DEFAULT 0 NOT NULL,
rev_user_text VARCHAR2(255) NOT NULL,
rev_timestamp TIMESTAMP(6) WITH TIME ZONE NOT NULL,
@@ -119,7 +119,7 @@
ar_namespace NUMBER DEFAULT 0 NOT NULL,
ar_title VARCHAR2(255) NOT NULL,
ar_text CLOB,
- ar_comment VARCHAR2(255),
+ ar_comment VARCHAR2(1024),
ar_user NUMBER DEFAULT 0 NOT NULL,
ar_user_text VARCHAR2(255) NOT NULL,
ar_timestamp TIMESTAMP(6) WITH TIME ZONE NOT NULL,
@@ -250,7 +250,7 @@
ipb_user NUMBER DEFAULT 0 NOT NULL,
ipb_by NUMBER DEFAULT 0 NOT NULL,
ipb_by_text VARCHAR2(255) NOT NULL,
- ipb_reason VARCHAR2(255) NOT NULL,
+ ipb_reason VARCHAR2(1024) NOT NULL,
ipb_timestamp TIMESTAMP(6) WITH TIME ZONE NOT NULL,
ipb_auto CHAR(1) DEFAULT '0' NOT NULL,
ipb_anon_only CHAR(1) DEFAULT '0' NOT NULL,
@@ -282,7 +282,7 @@
img_media_type VARCHAR2(32),
img_major_mime VARCHAR2(32) DEFAULT 'unknown',
img_minor_mime VARCHAR2(100) DEFAULT 'unknown',
- img_description VARCHAR2(255),
+ img_description VARCHAR2(1024),
img_user NUMBER DEFAULT 0 NOT NULL,
img_user_text VARCHAR2(255) NOT NULL,
img_timestamp TIMESTAMP(6) WITH TIME ZONE,
@@ -303,7 +303,7 @@
oi_width NUMBER DEFAULT 0 NOT NULL,
oi_height NUMBER DEFAULT 0 NOT NULL,
oi_bits NUMBER DEFAULT 0 NOT NULL,
- oi_description VARCHAR2(255),
+ oi_description VARCHAR2(1024),
oi_user NUMBER DEFAULT 0 NOT NULL,
oi_user_text VARCHAR2(255) NOT NULL,
oi_timestamp TIMESTAMP(6) WITH TIME ZONE NOT NULL,
@@ -340,7 +340,7 @@
fa_media_type VARCHAR2(32) DEFAULT NULL,
fa_major_mime VARCHAR2(32) DEFAULT 'unknown',
fa_minor_mime VARCHAR2(100) DEFAULT 'unknown',
- fa_description VARCHAR2(255),
+ fa_description VARCHAR2(1024),
fa_user NUMBER DEFAULT 0 NOT NULL,
fa_user_text VARCHAR2(255) NOT NULL,
fa_timestamp TIMESTAMP(6) WITH TIME ZONE,
@@ -363,7 +363,7 @@
rc_user_text VARCHAR2(255) NOT NULL,
rc_namespace NUMBER DEFAULT 0 NOT NULL,
rc_title VARCHAR2(255) NOT NULL,
- rc_comment VARCHAR2(255),
+ rc_comment VARCHAR2(1024),
rc_minor CHAR(1) DEFAULT '0' NOT NULL,
rc_bot CHAR(1) DEFAULT '0' NOT NULL,
rc_new CHAR(1) DEFAULT '0' NOT NULL,
@@ -456,7 +456,7 @@
log_namespace NUMBER DEFAULT 0 NOT NULL,
log_title VARCHAR2(255) NOT NULL,
log_page NUMBER,
- log_comment VARCHAR2(255),
+ log_comment VARCHAR2(1024),
log_params CLOB,
log_deleted CHAR(1) DEFAULT '0' NOT NULL
);
@@ -547,7 +547,7 @@
pt_namespace NUMBER DEFAULT 0 NOT NULL,
pt_title VARCHAR2(255) NOT NULL,
pt_user NUMBER NOT NULL,
- pt_reason VARCHAR2(255),
+ pt_reason VARCHAR2(1024),
pt_timestamp TIMESTAMP(6) WITH TIME ZONE NOT NULL,
pt_expiry VARCHAR2(14) NOT NULL,
pt_create_perm VARCHAR2(60) NOT NULL
Index: maintenance/mssql/tables.sql
===================================================================
--- maintenance/mssql/tables.sql (revision 86825)
+++ maintenance/mssql/tables.sql (working copy)
@@ -162,7 +162,7 @@
ar_namespace SMALLINT NOT NULL DEFAULT 0,
ar_title NVARCHAR(255) NOT NULL DEFAULT '',
ar_text NVARCHAR(MAX) NOT NULL,
- ar_comment NVARCHAR(255) NOT NULL,
+ ar_comment NVARCHAR(1024) NOT NULL,
ar_user INT NULL REFERENCES /*$wgDBprefix*/[user](user_id) ON DELETE SET NULL,
ar_user_text NVARCHAR(255) NOT NULL,
ar_timestamp DATETIME NOT NULL DEFAULT GETDATE(),
@@ -384,7 +384,7 @@
ipb_user INT NOT NULL DEFAULT 0,
ipb_by INT NOT NULL DEFAULT 0,
ipb_by_text NVARCHAR(255) NOT NULL DEFAULT '',
- ipb_reason NVARCHAR(255) NOT NULL,
+ ipb_reason NVARCHAR(1024) NOT NULL,
ipb_timestamp DATETIME NOT NULL DEFAULT GETDATE(),
ipb_auto BIT NOT NULL DEFAULT 0,
ipb_anon_only BIT NOT NULL DEFAULT 0,
@@ -479,7 +479,7 @@
fa_media_type NVARCHAR(11) DEFAULT NULL,
fa_major_mime NVARCHAR(11) DEFAULT 'unknown',
fa_minor_mime NVARCHAR(32) DEFAULT 'unknown',
- fa_description NVARCHAR(255),
+ fa_description NVARCHAR(1024),
fa_user INT DEFAULT 0,
fa_user_text NVARCHAR(255) DEFAULT '',
fa_timestamp DATETIME DEFAULT GETDATE(),
@@ -507,7 +507,7 @@
rc_user_text NVARCHAR(255) DEFAULT '',
rc_namespace SMALLINT DEFAULT 0,
rc_title NVARCHAR(255) DEFAULT '',
- rc_comment NVARCHAR(255) DEFAULT '',
+ rc_comment NVARCHAR(1024) DEFAULT '',
rc_minor BIT DEFAULT 0,
rc_bot BIT DEFAULT 0,
rc_new BIT DEFAULT 0,
@@ -619,7 +619,7 @@
log_namespace INT NOT NULL DEFAULT 0,
log_title NVARCHAR(255) NOT NULL DEFAULT '',
log_page INT NULL DEFAULT NULL,
- log_comment NVARCHAR(255) NOT NULL DEFAULT '',
+ log_comment NVARCHAR(1024) NOT NULL DEFAULT '',
log_params NVARCHAR(MAX) NOT NULL,
log_deleted BIT NOT NULL DEFAULT 0,
);
Index: maintenance/ibm_db2/patch-rc_comment_size.sql
===================================================================
--- maintenance/ibm_db2/patch-rc_comment_size.sql (revision 0)
+++ maintenance/ibm_db2/patch-rc_comment_size.sql (revision 0)
@@ -0,0 +1 @@
+ALTER TABLE recentchanges ALTER COLUMN rc_comment SET DATA TYPE VARCHAR(1024);
Property changes on: maintenance/ibm_db2/patch-rc_comment_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/ibm_db2/patch-log_comment_size.sql
===================================================================
--- maintenance/ibm_db2/patch-log_comment_size.sql (revision 0)
+++ maintenance/ibm_db2/patch-log_comment_size.sql (revision 0)
@@ -0,0 +1 @@
+ALTER TABLE logging ALTER COLUMN log_comment SET DATA TYPE VARCHAR(1024);
Property changes on: maintenance/ibm_db2/patch-log_comment_size.sql
___________________________________________________________________
Added: svn:eol-style
+ native
Index: maintenance/ibm_db2/tables.sql
===================================================================
--- maintenance/ibm_db2/tables.sql (revision 86825)
+++ maintenance/ibm_db2/tables.sql (working copy)
@@ -405,7 +405,7 @@
rc_user_text VARCHAR(255) NOT NULL,
rc_namespace SMALLINT NOT NULL,
rc_title VARCHAR(255) NOT NULL,
- rc_comment VARCHAR(255),
+ rc_comment VARCHAR(1024),
rc_minor SMALLINT NOT NULL DEFAULT 0,
rc_bot SMALLINT NOT NULL DEFAULT 0,
rc_new SMALLINT NOT NULL DEFAULT 0,
@@ -512,7 +512,7 @@
log_namespace SMALLINT NOT NULL,
log_title VARCHAR(255) NOT NULL,
log_page BIGINT,
- log_comment VARCHAR(255),
+ log_comment VARCHAR(1024),
log_params CLOB(64K) INLINE LENGTH 4096,
log_deleted SMALLINT NOT NULL DEFAULT 0
);
Index: maintenance/tables.sql
===================================================================
--- maintenance/tables.sql (revision 86825)
+++ maintenance/tables.sql (working copy)
@@ -284,7 +284,7 @@
-- Text comment summarizing the change.
-- This text is shown in the history and other changes lists,
-- rendered in a subset of wiki markup by Linker::formatComment()
- rev_comment tinyblob NOT NULL,
+ rev_comment varchar(1024) binary NOT NULL default '',
-- Key to user.user_id of the user who made this edit.
-- Stores 0 for anonymous edits and for some mass imports.
@@ -372,7 +372,7 @@
ar_text mediumblob NOT NULL,
-- Basic revision stuff...
- ar_comment tinyblob NOT NULL,
+ ar_comment varchar(1024) binary NOT NULL default '',
ar_user int unsigned NOT NULL default 0,
ar_user_text varchar(255) binary NOT NULL,
ar_timestamp binary(14) NOT NULL default '',
@@ -724,7 +724,7 @@
ipb_by_text varchar(255) binary NOT NULL default '',
-- Text comment made by blocker.
- ipb_reason tinyblob NOT NULL,
+ ipb_reason varchar(1024) binary NOT NULL default '',
-- Creation (or refresh) date in standard YMDHMS form.
-- IP blocks expire automatically.
@@ -811,7 +811,7 @@
-- Description field as entered by the uploader.
-- This is displayed in image upload history and logs.
- img_description tinyblob NOT NULL,
+ img_description varchar(1024) binary NOT NULL default '',
-- user_id and user_name of uploader.
img_user int unsigned NOT NULL default 0,
@@ -851,7 +851,7 @@
oi_width int NOT NULL default 0,
oi_height int NOT NULL default 0,
oi_bits int NOT NULL default 0,
- oi_description tinyblob NOT NULL,
+ oi_description varchar(1024) binary NOT NULL default '',
oi_user int unsigned NOT NULL default 0,
oi_user_text varchar(255) binary NOT NULL,
oi_timestamp binary(14) NOT NULL default '',
@@ -910,7 +910,7 @@
fa_media_type ENUM("UNKNOWN", "BITMAP", "DRAWING", "AUDIO", "VIDEO", "MULTIMEDIA", "OFFICE", "TEXT", "EXECUTABLE", "ARCHIVE") default NULL,
fa_major_mime ENUM("unknown", "application", "audio", "image", "text", "video", "message", "model", "multipart") default "unknown",
fa_minor_mime varbinary(100) default "unknown",
- fa_description tinyblob,
+ fa_description varchar(1024) binary,
fa_user int unsigned default 0,
fa_user_text varchar(255) binary,
fa_timestamp binary(14) default '',
@@ -948,7 +948,7 @@
rc_title varchar(255) binary NOT NULL default '',
-- as in revision...
- rc_comment varchar(255) binary NOT NULL default '',
+ rc_comment varchar(1024) binary NOT NULL default '',
rc_minor tinyint unsigned NOT NULL default 0,
-- Edits by user accounts with the 'bot' rights key are
@@ -1151,7 +1151,7 @@
log_page int unsigned NULL,
-- Freeform text. Interpreted as edit history comments.
- log_comment varchar(255) NOT NULL default '',
+ log_comment varchar(1024) binary NOT NULL default '',
-- LF separated list of miscellaneous parameters
log_params blob NOT NULL,
@@ -1294,7 +1294,7 @@
pt_namespace int NOT NULL,
pt_title varchar(255) binary NOT NULL,
pt_user int unsigned NOT NULL,
- pt_reason tinyblob,
+ pt_reason varchar(1024) binary,
pt_timestamp binary(14) NOT NULL,
pt_expiry varbinary(14) NOT NULL default '',
pt_create_perm varbinary(60) NOT NULL
Index: includes/installer/OracleUpdater.php
===================================================================
--- includes/installer/OracleUpdater.php (revision 86825)
+++ includes/installer/OracleUpdater.php (working copy)
@@ -21,6 +21,17 @@
array( 'doFunctions17' ),
array( 'doSchemaUpgrade17' ),
array( 'doInserPage0' ),
+
+ // 1.18
+ array( 'modifyField', 'archive', 'ar_comment', 'patch-ar_comment_size.sql' ),
+ array( 'modifyField', 'filearchive', 'fa_description', 'patch-fa_description_size.sql' ),
+ array( 'modifyField', 'image', 'img_description', 'patch-img_description_size.sql' ),
+ array( 'modifyField', 'ipblocks', 'ipb_reason', 'patch-ipb_reason_size.sql' ),
+ array( 'modifyField', 'logging', 'log_comment', 'patch-log_comment_size.sql' ),
+ array( 'modifyField', 'oldimage', 'oi_description', 'patch-oi_description_size.sql' ),
+ array( 'modifyField', 'protected_titles', 'pt_reason', 'patch-pt_reason_size.sql' ),
+ array( 'modifyField', 'recentchanges', 'rc_comment', 'patch-rc_comment_size.sql' ),
+ array( 'modifyField', 'revision', 'rev_comment', 'patch-rev_comment_size.sql' ),
);
}
Index: includes/installer/MysqlUpdater.php
===================================================================
--- includes/installer/MysqlUpdater.php (revision 86825)
+++ includes/installer/MysqlUpdater.php (working copy)
@@ -179,6 +179,15 @@
// 1.18
array( 'doUserNewTalkTimestampNotNull' ),
array( 'addIndex', 'user', 'user_email', 'patch-user_email_index.sql' ),
+ array( 'modifyField', 'archive', 'ar_comment', 'patch-ar_comment_size.sql' ),
+ array( 'modifyField', 'filearchive', 'fa_description', 'patch-fa_description_size.sql' ),
+ array( 'modifyField', 'image', 'img_description', 'patch-img_description_size.sql' ),
+ array( 'modifyField', 'ipblocks', 'ipb_reason', 'patch-ipb_reason_size.sql' ),
+ array( 'modifyField', 'logging', 'log_comment', 'patch-log_comment_size.sql' ),
+ array( 'modifyField', 'oldimage', 'oi_description', 'patch-oi_description_size.sql' ),
+ array( 'modifyField', 'protected_titles', 'pt_reason', 'patch-pt_reason_size.sql' ),
+ array( 'modifyField', 'recentchanges', 'rc_comment', 'patch-rc_comment_size.sql' ),
+ array( 'modifyField', 'revision', 'rev_comment', 'patch-rev_comment_size.sql' ),
);
}
Index: includes/installer/Ibm_db2Updater.php
===================================================================
--- includes/installer/Ibm_db2Updater.php (revision 86825)
+++ includes/installer/Ibm_db2Updater.php (working copy)
@@ -64,6 +64,10 @@
array( 'addField', 'categorylinks', 'cl_type', 'patch-cl_type-field.sql' ),
array( 'addField', 'interwiki', 'iw_api', 'patch-iw_api-field.sql' ),
array( 'addField', 'interwiki', 'iw_wikiid', 'patch-iw_wikiid-field.sql' )
+
+ // 1.18
+ array( 'modifyField', 'logging', 'log_comment', 'patch-log_comment_size.sql' ),
+ array( 'modifyField', 'recentchanges', 'rc_comment', 'patch-rc_comment_size.sql' ),
);
}
-}
\ No newline at end of file
+}
Index: includes/installer/SqliteUpdater.php
===================================================================
--- includes/installer/SqliteUpdater.php (revision 86825)
+++ includes/installer/SqliteUpdater.php (working copy)
@@ -52,6 +52,17 @@
array( 'doCollationUpdate' ),
array( 'addTable', 'msg_resource', 'patch-msg_resource.sql' ),
array( 'addTable', 'module_deps', 'patch-module_deps.sql' ),
+
+ // 1.18
+ array( 'modifyField', 'archive', 'ar_comment', 'patch-ar_comment_size.sql' ),
+ array( 'modifyField', 'filearchive', 'fa_description', 'patch-fa_description_size.sql' ),
+ array( 'modifyField', 'image', 'img_description', 'patch-img_description_size.sql' ),
+ array( 'modifyField', 'ipblocks', 'ipb_reason', 'patch-ipb_reason_size.sql' ),
+ array( 'modifyField', 'logging', 'log_comment', 'patch-log_comment_size.sql' ),
+ array( 'modifyField', 'oldimage', 'oi_description', 'patch-oi_description_size.sql' ),
+ array( 'modifyField', 'protected_titles', 'pt_reason', 'patch-pt_reason_size.sql' ),
+ array( 'modifyField', 'recentchanges', 'rc_comment', 'patch-rc_comment_size.sql' ),
+ array( 'modifyField', 'revision', 'rev_comment', 'patch-rev_comment_size.sql' ),
);
}

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2161
Default Alt Text
4715-schema (25 KB)

Event Timeline