diff options
author | Dave Arter <davea@mysociety.org> | 2016-09-16 14:26:53 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-09-23 11:53:24 +0100 |
commit | 49edaddb8f7e31b9c9846da585df6e48590b3dcd (patch) | |
tree | 040e6f640e1e7549d12db21678213041743167bf /bin | |
parent | 78b34d4543c1c3808851351a9f083789a99c72c9 (diff) |
Add 'extra' field to User model
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 bb0360fb2..500e771f1 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 '0046' if column_exists('users', 'extra'); return '0045' if table_exists('response_priorities'); return '0044' if table_exists('contact_response_templates'); return '0043' if column_exists('users', 'area_id'); |