aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-03-22 11:16:53 +0000
committerDave Arter <davea@mysociety.org>2018-03-29 16:04:31 +0100
commitbd23bc137f37a87147e4f2f52578d10bf81473b0 (patch)
tree38a34aa058f24c77954ff5f5a53bc277f6a5263a /bin
parent7974ee96b3cdbf81d13459a9280f08d8c85c43a7 (diff)
Add ResponseTemplate.external_status_code field
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update-schema1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/update-schema b/bin/update-schema
index 9660837c6..cfc963e75 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 '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');
return '0056' if column_exists('users', 'email_verified');