diff options
Diffstat (limited to 'bin/update-schema')
-rwxr-xr-x | bin/update-schema | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/update-schema b/bin/update-schema index 479a55c8e..171b87576 100755 --- a/bin/update-schema +++ b/bin/update-schema @@ -194,6 +194,9 @@ 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 '0050' if table_exists('defect_types'); + 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'); return '0045' if table_exists('response_priorities'); |