Revert "Temporarily disable downgrade testing"
This reverts commit 2f09fbf243
.
Change-Id: I57899fc1366c389c0f5468598e8ec3da0d2306ab
This commit is contained in:
parent
a003f9e3c4
commit
29fa4424ad
@ -242,18 +242,18 @@ pip_requires
|
|||||||
db_sync "patchset" $2 $3 $4 $5 $6 $8
|
db_sync "patchset" $2 $3 $4 $5 $6 $8
|
||||||
|
|
||||||
# Determine the schema version
|
# Determine the schema version
|
||||||
#version=`mysql -u $4 --password=$5 $6 -e "select * from migrate_version \G" | grep version | sed 's/.*: //'`
|
version=`mysql -u $4 --password=$5 $6 -e "select * from migrate_version \G" | grep version | sed 's/.*: //'`
|
||||||
#echo "Schema version is $version"
|
echo "Schema version is $version"
|
||||||
|
|
||||||
#echo "Now downgrade all the way back to the last stable version (v$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
|
db_sync "downgrade" $2 $3 $4 $5 $6 $8 $last_stable_version
|
||||||
|
|
||||||
# Determine the schema version
|
# Determine the schema version
|
||||||
#version=`mysql -u $4 --password=$5 $6 -e "select * from migrate_version \G" | grep version | sed 's/.*: //'`
|
version=`mysql -u $4 --password=$5 $6 -e "select * from migrate_version \G" | grep version | sed 's/.*: //'`
|
||||||
#echo "Schema version is $version"
|
echo "Schema version is $version"
|
||||||
|
|
||||||
#echo "And now back up to head from the start of trunk"
|
echo "And now back up to head from the start of trunk"
|
||||||
#db_sync "patchset" $2 $3 $4 $5 $6 $8
|
db_sync "patchset" $2 $3 $4 $5 $6 $8
|
||||||
|
|
||||||
# Determine the final schema version
|
# Determine the final schema version
|
||||||
version=`mysql -u $4 --password=$5 $6 -e "select * from migrate_version \G" | grep version | sed 's/.*: //'`
|
version=`mysql -u $4 --password=$5 $6 -e "select * from migrate_version \G" | grep version | sed 's/.*: //'`
|
||||||
|
Loading…
Reference in New Issue
Block a user