aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-08-22 15:21:29 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-08-29 09:54:36 +0100
commitb43813d8f3c5bae07f0c7b9fe120bff32611d8bb (patch)
treed685c3acef3a487c666304f64d30c36d213daffa /bin
parentb43dbace0f747897640920e4cf9adb55b84bc2c8 (diff)
Add state table to database.
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 32c00ff5e..9a4f05813 100755
--- a/bin/update-schema
+++ b/bin/update-schema
@@ -195,6 +195,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 '0054' if table_exists('state');
return '0053' if table_exists('report_extra_fields');
return '0052' if table_exists('translation');
return '0051' if column_exists('contacts', 'state');