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)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 28 Nov 2018 18:59:19 +0000 (13:59 -0500)
commit23ecc9744afbdd583f435779e9ffd1a4479e6c93
tree3459cbe62aa07643667082071dec2273b3214922
parent6a9c80613ffa76710bd9c81581bfabb9394f06a0
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-comment-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]