Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F10704
bug-48820.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 22 2014, 1:31 AM
2014-11-22 01:31:24 (UTC+0)
Size
990 B
Referenced Files
None
Subscribers
None
bug-48820.patch
View Options
diff --git a/mediawiki/includes/installer/MysqlUpdater.php b/mediawiki/includes/installer/MysqlUpdater.php
index 9d73e62..030c57f 100644
--- a/mediawiki/includes/installer/MysqlUpdater.php
+++ b/mediawiki/includes/installer/MysqlUpdater.php
@@ -200,9 +200,9 @@ class MysqlUpdater extends DatabaseUpdater {
// 1.19
array( 'addIndex', 'logging', 'type_action', 'patch-logging-type-action-index.sql'),
+ array( 'addField', 'revision', 'rev_sha1', 'patch-rev_sha1.sql' ),
array( 'doMigrateUserOptions' ),
array( 'dropField', 'user', 'user_options', 'patch-drop-user_options.sql' ),
- array( 'addField', 'revision', 'rev_sha1', 'patch-rev_sha1.sql' ),
array( 'addField', 'archive', 'ar_sha1', 'patch-ar_sha1.sql' ),
array( 'addIndex', 'page', 'page_redirect_namespace_len', 'patch-page_redirect_namespace_len.sql' ),
array( 'addField', 'uploadstash', 'us_chunk_inx', 'patch-uploadstash_chunk.sql' ),
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10182
Default Alt Text
bug-48820.patch (990 B)
Attached To
Mode
T50820: Error upgrading MediaWiki from version prior to 1.19 to 1.21: Revision query error during convertUserOptions (missing rev_sha1 column)
Attached
Detach File
Event Timeline
Log In to Comment