From 735536dc5e269f2094d122e49f2c648928db4acb Mon Sep 17 00:00:00 2001 From: Hakim Cassimally Date: Thu, 19 Feb 2015 16:41:22 +0000 Subject: [Zurich] Response templates for report admin. This provides a ResponseTemplate model that an admin/staff user can choose from when responding to problems. For mysociety/FixMyStreet-Commercial#671. --- bin/update-schema | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/update-schema b/bin/update-schema index d40df1689..d98fe6e9c 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 '0037' if table_exists('response_templates'); return '0036' if constraint_contains('problem_cobrand_check', 'a-z0-9_'); return '0035' if column_exists('problem', 'bodies_missing'); return '0034' if ! function_exists('ms_current_timestamp'); -- cgit v1.2.3