aboutsummaryrefslogtreecommitdiffstats
path: root/bin/update-schema
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2018-03-15 16:12:58 +0000
committerStruan Donald <struan@exo.org.uk>2018-03-15 16:12:58 +0000
commit9d9352ca6bbd757b30796d3cebd42f3ba06f6ddc (patch)
treee587f810b1adf59d6c947e1e887b341cb3e635e5 /bin/update-schema
parentd5fed14044a348d85061202265dd09e4ce1b776b (diff)
parent8c23490f465fad0089d77ee362c566d066798d09 (diff)
Merge branch 'rutland-integration'
Diffstat (limited to 'bin/update-schema')
-rwxr-xr-xbin/update-schema2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/update-schema b/bin/update-schema
index fea316bd6..9660837c6 100755
--- a/bin/update-schema
+++ b/bin/update-schema
@@ -212,6 +212,8 @@ 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');
return '0054' if table_exists('state');