diff options
author | Dave Arter <davea@mysociety.org> | 2016-12-14 17:31:02 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2017-02-15 17:34:30 +0000 |
commit | bb99a8917a9b7fc38f0c0847f45c68659791b54a (patch) | |
tree | ef74ba99d4514d0afd85762efce9376ad97c45e2 /bin | |
parent | 34795d026faf45b0a1bfc103362eb118766c46d7 (diff) |
Add external_id field to ResponsePriority for use with Exor
Diffstat (limited to 'bin')
-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 b85ff87f4..94c42d8ae 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 '0049' if column_exists('response_priorities', 'external_id'); return '0048' if column_exists('response_templates', 'state'); return '0047' if column_exists('response_priorities', 'description'); return '0046' if column_exists('users', 'extra'); |