aboutsummaryrefslogtreecommitdiffstats
path: root/bin/update-schema
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-07-24 09:59:06 +0100
committerDave Arter <davea@mysociety.org>2017-08-17 13:21:31 +0100
commitfb03c300258b5d1dc419d7d08ecb3afa12a2fa5b (patch)
treec110c92155be4cfeadd91d1d663df0684c341929 /bin/update-schema
parent653d8b84d6a14f1759950e774b9b1a8bbba5f1b1 (diff)
Add site-wide extra fields for reports, and admin UI to manage
- Also provides an editor for the extra Open311 fields on contacts. - Adds .btn--small class for small buttons Fixes #1743.
Diffstat (limited to 'bin/update-schema')
-rwxr-xr-xbin/update-schema1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/update-schema b/bin/update-schema
index 82632faa6..32c00ff5e 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 '0053' if table_exists('report_extra_fields');
return '0052' if table_exists('translation');
return '0051' if column_exists('contacts', 'state');
return '0050' if table_exists('defect_types');