diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-15 17:51:30 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-30 13:02:51 +0100 |
commit | bfdae700a840b74595bb4798ae6d50bb9172fa72 (patch) | |
tree | d2ff6bd923eaa154cb8a42db33d33c6d6b74e083 /bin | |
parent | f97088d63bea6547daaf0120aba2c503a4bf7d9a (diff) |
Add 'verified' database columns for email/phone.
These are so we can state whether a user's email address or phone number
have been verified by confirmation email/text.
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 3f86bdacb..fea316bd6 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 '0056' if column_exists('users', 'email_verified'); return '0055' if column_exists('response_priorities', 'is_default'); return '0054' if table_exists('state'); return '0053' if table_exists('report_extra_fields'); |