aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mytton <self@hecticjeff.net>2013-09-10 16:41:25 +0100
committerChris Mytton <self@hecticjeff.net>2013-09-10 18:09:47 +0100
commit6d75192471bf910a1e36e0bd2b58e12e6d9a6768 (patch)
treedb624a595a43c37c84b1626dcaf0146c8b9a32e3
parentc44b6bfe19b00eec2012dca40446c9251d91b84d (diff)
[Zurich] Add schema migration 0029 to bin/update-schema
-rw-r--r--bin/update-schema1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/update-schema b/bin/update-schema
index f728f8c56..81c9ff4ab 100644
--- a/bin/update-schema
+++ b/bin/update-schema
@@ -84,6 +84,7 @@ print "Nothing to do\n" if $nothing;
# By querying the database schema, we can see where we're currently at
# (assuming schema change files are never half-applied, which should be the case)
sub get_db_version {
+ return '0029' if column_exists('body', 'deleted');
return '0028' if table_exists('body');
return '0027' if column_exists('problem', 'subcategory');
return '0026' if column_exists('open311conf', 'send_extended_statuses');