aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-11-23 18:40:31 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-11-27 10:40:57 +0000
commitd1c6217e353702440854187495501932f1be31fb (patch)
treebda8f33f21735e9c19cb4be7e2aaca563ef9d717 /bin
parentc69891dffcb3810ebb951af4a563c556b2deeb0d (diff)
Associate moderation history with admin log.
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 55a052ccc..1e1afa72c 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 '0065' if constraint_contains('admin_log_object_type_check', 'moderation');
return '0064' if index_exists('moderation_original_data_problem_id_comment_id_idx');
return '0063' if column_exists('moderation_original_data', 'extra');
return '0062' if column_exists('users', 'created');