X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Finstaller%2FSqliteUpdater.php;h=15b3a5a2c14ebc740d42f512ddcf85e16ea1f057;hp=7c3878ce44ee211dc954905814419fb75f38178b;hb=4f3d131492de5491d4be6d8d67d786b0703a8c49;hpb=5d2058ade0c5cf38d7cc603907ecdcb5aa71f8c7 diff --git a/includes/installer/SqliteUpdater.php b/includes/installer/SqliteUpdater.php index 7c3878ce44..15b3a5a2c1 100644 --- a/includes/installer/SqliteUpdater.php +++ b/includes/installer/SqliteUpdater.php @@ -186,6 +186,19 @@ class SqliteUpdater extends DatabaseUpdater { [ 'renameIndex', 'user_properties', 'user_properties_user_property', 'PRIMARY', false, 'patch-user_properties-fix-pk.sql' ], [ 'addTable', 'comment', 'patch-comment-table.sql' ], + [ 'addTable', 'revision_comment_temp', 'patch-revision_comment_temp-table.sql' ], + // image_comment_temp is no longer needed when upgrading to MW 1.31 or newer, + // as it is dropped later in the update process as part of 'migrateImageCommentTemp'. + // File kept on disk and the updater entry here for historical purposes. + // [ 'addTable', 'image_comment_temp', 'patch-image_comment_temp-table.sql' ], + [ 'addField', 'archive', 'ar_comment_id', 'patch-archive-ar_comment_id.sql' ], + [ 'modifyField', 'image', 'img_description', 'patch-image-img_description-default.sql' ], + [ 'addField', 'ipblocks', 'ipb_reason_id', 'patch-ipblocks-ipb_reason_id.sql' ], + [ 'addField', 'logging', 'log_comment_id', 'patch-logging-log_comment_id.sql' ], + [ 'addField', 'oldimage', 'oi_description_id', 'patch-oldimage-oi_description_id.sql' ], + [ 'addField', 'protected_titles', 'pt_reason_id', 'patch-protected_titles-pt_reason_id.sql' ], + [ 'addField', 'recentchanges', 'rc_comment_id', 'patch-recentchanges-rc_comment_id.sql' ], + [ 'modifyField', 'revision', 'rev_comment', 'patch-revision-rev_comment-default.sql' ], // This field was added in 1.31, but is put here so it can be used by 'migrateComments' [ 'addField', 'image', 'img_description_id', 'patch-image-img_description_id.sql' ],