SQLite: Split actor and comment filearchive updates to a separate file
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 28 Nov 2018 18:53:17 +0000 (13:53 -0500)
committerReedy <reedy@wikimedia.org>
Mon, 30 Sep 2019 16:17:06 +0000 (17:17 +0100)
commitf9ad69d2a5312b0565a5b1a3762aa812f6b5cfb9
tree76bf3e0a89c26f5eb71d497cf8324a37d47861e0
parentf1f96285b0aa5dae9dc3e394055baa82f7b4700f
SQLite: Split actor and comment filearchive updates to a separate file

On a fresh install, update.php will apply patch-editsummary-length.sql
even though it doesn't need to. But this partially wipes out the new schema from
tables.sql, and the omnibus comment and actor table patches don't detect
this, leading to filearchive missing the new fields.

Unlike the case with patch-add-3d.sql in I335cb8d9, here the patch does
make a change (if only a tiny one): fa_deleted_reason changes from TEXT
to BLOB.

Change-Id: I08047ff1207d471660365c0eb3faabc0b47746bb
includes/installer/SqliteUpdater.php
maintenance/sqlite/archives/patch-actor-table.sql
maintenance/sqlite/archives/patch-filearchive-fa_actor.sql [new file with mode: 0644]
maintenance/sqlite/archives/patch-filearchive-fa_description_id.sql [new file with mode: 0644]