aboutsummaryrefslogtreecommitdiffstats
path: root/bin/update-schema
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-12-11 14:33:21 +0000
committerMatthew Somerville <matthew@mysociety.org>2019-12-11 14:33:21 +0000
commit25e2c47f1b117555c36efe8ae2f6e51b4d43e782 (patch)
tree87931a505a74bc5946e60467ddcb153af474a9c6 /bin/update-schema
parent31f05cc1363442fa59efd029904b775ea9fdf576 (diff)
parentfccaeb5bddf034e7e3e35184e8e49748e3a77113 (diff)
Merge branch 'rss-site-name'
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 4755142bb..807e144eb 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 '0070' if column_like('alert_type', "ref='new_problems'", 'head_title', '{{SITE_NAME}}');
return '0069' if constraint_contains('admin_log_object_type_check', 'template');
return '0068' if column_exists('users', 'oidc_ids');
return '0067' if table_exists('roles');