X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FMssqlUpdater.php;h=2e339997c4117d503736da425186ee4996b5459a;hb=52b74d44d522c2a1b67f9ccc2b8f7e44b6b52d7c;hp=908dc940c242d1f0dc5e4f4d5e028ea0fdf92483;hpb=cc1191e5bdd5b4878ee29fc0b103e55420011e92;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/MssqlUpdater.php b/includes/installer/MssqlUpdater.php index 908dc940c2..2e339997c4 100644 --- a/includes/installer/MssqlUpdater.php +++ b/includes/installer/MssqlUpdater.php @@ -108,6 +108,9 @@ class MssqlUpdater extends DatabaseUpdater { // Should have been in 1.30 [ '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' ], + // Should have been in 1.30 [ 'migrateComments' ], // 1.31 @@ -120,6 +123,11 @@ class MssqlUpdater 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' ], + [ 'modifyField', 'recentchanges', 'rc_patrolled', 'patch-rc_patrolled_type.sql' ], + [ 'addIndex', 'recentchanges', 'rc_namespace_title_timestamp', + 'patch-recentchanges-nttindex.sql' ], ]; }