summaryrefslogtreecommitdiff
path: root/turbo_hipster/task_plugins
diff options
context:
space:
mode:
authorJoshua Hesketh <josh@nitrotech.org>2014-08-07 19:19:35 +1000
committerJoshua Hesketh <josh@nitrotech.org>2014-08-07 19:20:39 +1000
commit29fa4424ad6ca603dac451735d2407c6a2f7b3fd (patch)
treea9e060567532ac1c501cc418cbd002527138d60d /turbo_hipster/task_plugins
parenta003f9e3c4e77302fae88a45cdf70ff3cc101bfe (diff)
downloadturbo-hipster-29fa4424ad6ca603dac451735d2407c6a2f7b3fd.tar.gz
Revert "Temporarily disable downgrade testing"
This reverts commit 2f09fbf2433e42be70a78021a8fa68a0a118b770. Change-Id: I57899fc1366c389c0f5468598e8ec3da0d2306ab
Diffstat (limited to 'turbo_hipster/task_plugins')
-rwxr-xr-xturbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh b/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh
index f621cf0..ab2f298 100755
--- a/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh
+++ b/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh
@@ -242,18 +242,18 @@ pip_requires
db_sync "patchset" $2 $3 $4 $5 $6 $8
# Determine the schema version
-#version=`mysql -u $4 --password=$5 $6 -e "select * from migrate_version \G" | grep version | sed 's/.*: //'`
-#echo "Schema version is $version"
+version=`mysql -u $4 --password=$5 $6 -e "select * from migrate_version \G" | grep version | sed 's/.*: //'`
+echo "Schema version is $version"
-#echo "Now downgrade all the way back to the last stable version (v$last_stable_version)"
-#db_sync "downgrade" $2 $3 $4 $5 $6 $8 $last_stable_version
+echo "Now downgrade all the way back to the last stable version (v$last_stable_version)"
+db_sync "downgrade" $2 $3 $4 $5 $6 $8 $last_stable_version
# Determine the schema version
-#version=`mysql -u $4 --password=$5 $6 -e "select * from migrate_version \G" | grep version | sed 's/.*: //'`
-#echo "Schema version is $version"
+version=`mysql -u $4 --password=$5 $6 -e "select * from migrate_version \G" | grep version | sed 's/.*: //'`
+echo "Schema version is $version"
-#echo "And now back up to head from the start of trunk"
-#db_sync "patchset" $2 $3 $4 $5 $6 $8
+echo "And now back up to head from the start of trunk"
+db_sync "patchset" $2 $3 $4 $5 $6 $8
# Determine the final schema version
version=`mysql -u $4 --password=$5 $6 -e "select * from migrate_version \G" | grep version | sed 's/.*: //'`