diff options
author | Struan Donald <struan@exo.org.uk> | 2018-03-01 12:31:48 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-03-15 14:49:00 +0000 |
commit | 8c23490f465fad0089d77ee362c566d066798d09 (patch) | |
tree | 91b6c9612f575b3ef68b742deb5f30b89351ce4b /bin | |
parent | 7b790604611322af72ac851ce0935587152d052f (diff) |
permit blank updates to be fetched over Open311
Add a per body configuration option to allow Open311 updates to contain
only a status change, rather than emitting a warning when this happens.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/update-schema | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/update-schema b/bin/update-schema index d9322d80b..9660837c6 100755 --- a/bin/update-schema +++ b/bin/update-schema @@ -212,6 +212,7 @@ else { # (assuming schema change files are never half-applied, which should be the case) sub get_db_version { return 'EMPTY' if ! table_exists('problem'); + return '0058' if column_exists('body', 'blank_updates_permitted'); return '0057' if column_exists('body', 'fetch_problems'); return '0056' if column_exists('users', 'email_verified'); return '0055' if column_exists('response_priorities', 'is_default'); |