aboutsummaryrefslogtreecommitdiffstats
path: root/bin/update-schema
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-07-17 14:03:41 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-07-17 14:03:41 +0100
commit104a583de563aa340ecbd8e86f14683bc46194c7 (patch)
tree4d09c5f9413e2dfd47de2522acdfe8ea8a82fd76 /bin/update-schema
parent8c3f0fbfb4bcd33fa8dbc93c2ecb8e0f25ebf383 (diff)
Include schema check for 0051 missed in 466c5cac.
Diffstat (limited to 'bin/update-schema')
-rwxr-xr-xbin/update-schema1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/update-schema b/bin/update-schema
index 171b87576..cf9a6175c 100755
--- a/bin/update-schema
+++ b/bin/update-schema
@@ -194,6 +194,7 @@ else {
# By querying the database schema, we can see where we're currently at
# (assuming schema change files are never half-applied, which should be the case)
sub get_db_version {
+ return '0051' if column_exists('contacts', 'state');
return '0050' if table_exists('defect_types');
return '0049' if column_exists('response_priorities', 'external_id');
return '0048' if column_exists('response_templates', 'state');