diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-02-12 14:01:38 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-02-14 16:55:24 +0000 |
commit | c2089e945132d36468f1d9a3bf08ae4d661cf44a (patch) | |
tree | 755780edf643ebd8babb910632eb259623fd8a24 /bin/update-schema | |
parent | 1825a09bbdfee97928a251a84534d859b1a43387 (diff) |
Allow user to be associated with multiple areas.
Update database to store an array of IDs rather than only one;
consequential changes to the admin and the dashboard to allow
selection.
Diffstat (limited to 'bin/update-schema')
-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 1e1afa72c..9aff9ec5b 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 '0066' if column_exists('users', 'area_ids'); return '0065' if constraint_contains('admin_log_object_type_check', 'moderation'); return '0064' if index_exists('moderation_original_data_problem_id_comment_id_idx'); return '0063' if column_exists('moderation_original_data', 'extra'); |