DB: Add img_description_id column
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 7 Mar 2018 15:40:27 +0000 (10:40 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 13 Mar 2018 20:54:25 +0000 (16:54 -0400)
commit267af09d32ff4e4f4da751e83adf97c7022edfce
treebeb58555737e616b650bfc187b4d6c98396fe823
parentb4eb1feed05b505c55c522edfeb6e2806b7f5055
DB: Add img_description_id column

This begins the process of merging image_comment_temp into the image
table by adding the needed column. Iab5f5215 will adjust the code
to use it and to add the necessary migration script.

Note this patch puts the new schema change in the 1.30 section rather
than the 1.31 section. This allows Iab5f5215 to have migrateComments.php
migrate the comments directly to the new field instead of having to
populate and then depopulate the temporary table.

Bug: T188132
Change-Id: I2485c5a758bf03bb2b4991eea920abd9d0d30bda
14 files changed:
includes/installer/MssqlUpdater.php
includes/installer/MysqlUpdater.php
includes/installer/OracleUpdater.php
includes/installer/PostgresUpdater.php
includes/installer/SqliteUpdater.php
maintenance/archives/patch-image-img_description_id.sql [new file with mode: 0644]
maintenance/mssql/archives/patch-image-img_description_id.sql [new file with mode: 0644]
maintenance/mssql/tables.sql
maintenance/oracle/archives/patch-image-img_description_id.sql [new file with mode: 0644]
maintenance/oracle/tables.sql
maintenance/postgres/tables.sql
maintenance/sqlite/archives/patch-actor-table.sql
maintenance/sqlite/archives/patch-image-img_description_id.sql [new file with mode: 0644]
maintenance/tables.sql