aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-11-13 10:50:48 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-11-16 10:58:20 +0000
commit3796842153839b0c75f85ec8c4b2bbba60963ff3 (patch)
treead98528bb232cae1a9f0ee852c5c36ee99193f86 /bin
parentfcd9f9943059d6f70091951c576e704e5d80b7f1 (diff)
Store more original stuff on moderation.
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 2ae374e61..a2f20c306 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 '0063' if column_exists('moderation_original_data', 'extra');
return '0062' if column_exists('users', 'created');
return '0061' if column_exists('body', 'extra');
return '0060' if column_exists('body', 'convert_latlong');