From 58684be7a9b8fec8c90e6f94ecea0c21c3ae5e59 Mon Sep 17 00:00:00 2001 From: Dave Arter Date: Mon, 17 Oct 2016 16:52:49 +0100 Subject: =?UTF-8?q?Add=20=E2=80=98description=E2=80=99=20field=20to=20Resp?= =?UTF-8?q?onsePriority=20model?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Used internally to provide more details about when a priority is applicable. --- bin/update-schema | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/update-schema b/bin/update-schema index 500e771f1..479a55c8e 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 '0047' if column_exists('response_priorities', 'description'); return '0046' if column_exists('users', 'extra'); return '0045' if table_exists('response_priorities'); return '0044' if table_exists('contact_response_templates'); -- cgit v1.2.3