diff options
author | Struan Donald <struan@exo.org.uk> | 2018-04-05 16:32:25 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2018-04-11 10:42:52 +0100 |
commit | 0302be8672651348c6357c1afcb917420e956dc6 (patch) | |
tree | f6855aa79d5d9c3e6ad476fc3201f6c0a515522a /bin | |
parent | 3328c572d4a5fbfd93cc95001273152691e71c50 (diff) |
add extra column to body table
Adds and extra column for bodies and the associated Extra role.
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 bbfd732f2..fb88c84a1 100755 --- a/bin/update-schema +++ b/bin/update-schema @@ -212,6 +212,7 @@ else { # (assuming schema change files are never half-applied, which should be the case) sub get_db_version { return 'EMPTY' if ! table_exists('problem'); + return '0061' if column_exists('body', 'extra'); return '0060' if column_exists('body', 'convert_latlong'); return '0059' if column_exists('response_templates', 'external_status_code'); return '0058' if column_exists('body', 'blank_updates_permitted'); |