X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FSqliteUpdater.php;h=b107fd11eca340b0b175ea4be9b297bfb3cdd632;hb=59636d1d0c95b2fb86ad93cfc3e25176e730e133;hp=7ed6f8680d5b3eb94ca1089ac972991c1bebbf38;hpb=edf7224639b6f45c0e6762a664cfb2e84beb8e0a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/SqliteUpdater.php b/includes/installer/SqliteUpdater.php index 7ed6f8680d..b107fd11ec 100644 --- a/includes/installer/SqliteUpdater.php +++ b/includes/installer/SqliteUpdater.php @@ -190,6 +190,10 @@ 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' ], + + // 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' ], + [ 'migrateComments' ], [ 'renameIndex', 'l10n_cache', 'lc_lang_key', 'PRIMARY', false, 'patch-l10n_cache-primary-key.sql' ], @@ -204,6 +208,10 @@ class SqliteUpdater extends DatabaseUpdater { [ 'addTable', 'actor', 'patch-actor-table.sql' ], [ 'migrateActors' ], [ 'modifyField', 'revision', 'rev_text_id', 'patch-rev_text_id-default.sql' ], + [ 'modifyTable', 'site_stats', 'patch-site_stats-modify.sql' ], + [ 'populateArchiveRevId' ], + [ 'addIndex', 'recentchanges', 'rc_namespace_title_timestamp', + 'patch-recentchanges-nttindex.sql' ], ]; }