SQLite: Make patch-add-3d.sql a no-op
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 21 Nov 2018 16:13:52 +0000 (11:13 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 26 Nov 2018 18:58:03 +0000 (13:58 -0500)
commitbbb33fb9176c374f17d27079db889872089b4434
tree10b7402c726ec49dc4d5d68610670623487fea8c
parenta95290576c220473b1816a63ae0734dc3829d542
SQLite: Make patch-add-3d.sql a no-op

On a fresh install, update.php will apply patch-add-3d.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 patched don't detect
this, leading to image, oldimage, and filearchive missing the new
fields.

Since SQLite doesn't actually care about the values in the ENUM type
(it's just an alias for TEXT), let's just make patch-add-3d.sql do
nothing.

Change-Id: I335cb8d9626f535a66b0fe18e051640b22848ef7
maintenance/sqlite/archives/patch-actor-table.sql
maintenance/sqlite/archives/patch-add-3d.sql
maintenance/sqlite/archives/patch-comment-table.sql