X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=blobdiff_plain;f=includes%2Finstaller%2FSqliteUpdater.php;h=309f30f6935544100a0613f4ffa4c853542fb02c;hb=a68a0d610187d7ac913f1f266cae450607de1cf1;hp=afb8b224b94004e9cfccd9c3dae65681ab190077;hpb=095a2a05b2aaccff26d7b871194a4edccd092707;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/SqliteUpdater.php b/includes/installer/SqliteUpdater.php index afb8b224b9..309f30f693 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' ], @@ -198,8 +202,14 @@ class SqliteUpdater extends DatabaseUpdater { [ 'addTable', 'content', 'patch-content.sql' ], [ 'addTable', 'content_models', 'patch-content_models.sql' ], [ 'addTable', 'slots', 'patch-slots.sql' ], + [ 'addField', 'slots', 'slot_origin', 'patch-slot-origin.sql' ], [ 'addTable', 'slot_roles', 'patch-slot_roles.sql' ], [ 'migrateArchiveText' ], + [ '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' ], ]; }