aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-05-11 15:40:26 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-05-23 18:55:08 +0100
commita3c182e75b022b3002eb4801fd446c891391b675 (patch)
tree326d72e08fe65454d20117092a0f308e1b4f0c2b /bin
parenta82cbf8c4709c4c04c8a1625946132bac8f4e74e (diff)
Add created and last_active columns to user.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update-schema1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/update-schema b/bin/update-schema
index fb88c84a1..2ae374e61 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 '0062' if column_exists('users', 'created');
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');