From bbb067ec5ddc88862be50819076bfe63c744122e Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 20 Jul 2016 14:58:34 +0100 Subject: Add user planned reports. A user with the appropriate permission can add/remove reports from their list of planned reports using a button on a report page. The list can be viewed at /my/planned. --- bin/update-schema | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') 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'); -- cgit v1.2.3