diff options
author | Dave Arter <davea@mysociety.org> | 2017-01-16 15:53:09 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2017-01-16 15:53:09 +0000 |
commit | e1bd00f5416cdea50919f645d649e3ef2cd14dae (patch) | |
tree | fe1cd3b5a5513bfbea88e354745a4a3cec90c644 /bin | |
parent | 4d872d6f1c6f840f172b49dc02464a67eece8e7a (diff) |
Add 0048 migration check to update-schema
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 479a55c8e..b85ff87f4 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 '0048' if column_exists('response_templates', 'state'); return '0047' if column_exists('response_priorities', 'description'); return '0046' if column_exists('users', 'extra'); return '0045' if table_exists('response_priorities'); |