Add SQL for postgres, and fail gracefully in populateIpChanges
authorMusikAnimal <musikanimal@gmail.com>
Mon, 13 Nov 2017 18:52:55 +0000 (13:52 -0500)
committerReedy <reedy@wikimedia.org>
Wed, 29 Nov 2017 00:52:49 +0000 (00:52 +0000)
commit70a602dde40e3694f8ef8b9c779a528c17a48f42
tree33ef91323e923b5fa43e677a8db0920501912fb9
parent744f4c11b0df98d595748cbd34eef6673068cfa8
Add SQL for postgres, and fail gracefully in populateIpChanges

If the ip_changes table doesn't exist, the populateIpChanges maintenance
script will fail gracefully, throwing a descriptive error.

The postgres SQL is untested.

Bug: T177258
Change-Id: Ic11c64813ee04e8520771bfa156f8e51404273e7
includes/installer/PostgresUpdater.php
maintenance/populateIpChanges.php
maintenance/postgres/archives/patch-ip_changes.sql [new file with mode: 0644]