diff options
author | Dave Arter <davea@mysociety.org> | 2016-08-22 10:37:32 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-08-22 10:37:32 +0100 |
commit | fde265673cd38e6d9d65d4bca7fe8c21a5955fc8 (patch) | |
tree | c77153734661e03568a55ac358b2674e3329c45d /bin/update-schema | |
parent | f3649ee94bb80e8b33f0eea8a817760475157b3b (diff) | |
parent | c7adf92943d28aae3d328871a89c745434c85c38 (diff) |
Merge branch 'issues/forcouncils/19-add-planned-list'
Diffstat (limited to 'bin/update-schema')
-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 99071f3ea..09155fa03 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 '0042' if table_exists('user_planned_reports'); return '0041' if column_exists('users', 'is_superuser') && ! constraint_exists('user_body_permissions_permission_type_check'); return '0040' if column_exists('users', 'is_superuser'); return '0039' if column_exists('users', 'facebook_id'); |