diff options
author | Struan Donald <struan@exo.org.uk> | 2018-03-29 11:45:37 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-03-29 16:04:33 +0100 |
commit | 90cf72fd66099bde47557c4eadf10856b8afffb2 (patch) | |
tree | 0e4016d8691ea6dd382d3ac9962b048ddee623b3 /bin | |
parent | 9e806177d239f20ce3b11bf220800b0623ebc075 (diff) |
add convert_latlong option to body table
For controlling if reports pulled in via Open311 should have the
position converted from Easting/Northing to lat/long.
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 cfc963e75..bbfd732f2 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 '0060' if column_exists('body', 'convert_latlong'); return '0059' if column_exists('response_templates', 'external_status_code'); return '0058' if column_exists('body', 'blank_updates_permitted'); return '0057' if column_exists('body', 'fetch_problems'); |