aboutsummaryrefslogtreecommitdiffstats
path: root/bin/update-schema
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-08-19 15:55:41 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-08-19 15:55:41 +0100
commit8dfdbf84b57d8bbc179dcb895d6eb08c61fdef59 (patch)
tree4c463f153d69290e4850cbb71c016066e5ed5879 /bin/update-schema
parent0784bdae637e3d0ca20dc3d66ec50c5d68e489ec (diff)
parentb812f8526525c0f38d72bdc469ddc08b376854d2 (diff)
Merge branch 'bodies_str-factoring'
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 57d1d8ad3..dff2255d5 100755
--- a/bin/update-schema
+++ b/bin/update-schema
@@ -195,6 +195,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 '0035' if column_exists('problem', 'bodies_missing');
return '0034' if ! function_exists('ms_current_timestamp');
return '0033' if ! function_exists('angle_between');
return '0032' if table_exists('moderation_original_data');