summaryrefslogtreecommitdiffstats
path: root/nova/db
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2011-11-14 23:20:24 +0000
committerRick Harris <rconradharris@gmail.com>2011-11-14 23:20:24 +0000
commitbe3f24d7f3d62a8fbbccf78a9e4ffc8a3fba0fa4 (patch)
tree969576fad7d925ba5d483e8ef60c9db63b7effd8 /nova/db
parentd9dd8f2fd395ad02e536d8054b0615520771b93e (diff)
downloadnova-be3f24d7f3d62a8fbbccf78a9e4ffc8a3fba0fa4.tar.gz
nova-be3f24d7f3d62a8fbbccf78a9e4ffc8a3fba0fa4.tar.xz
nova-be3f24d7f3d62a8fbbccf78a9e4ffc8a3fba0fa4.zip
Bind engine to metadata in migration 054.
Fixes bug #890474 Change-Id: I5094a98295a478c0cfb5e1a251014706d3ede3c7
Diffstat (limited to 'nova/db')
-rw-r--r--nova/db/sqlalchemy/migrate_repo/versions/054_add_bw_usage_data_cache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/db/sqlalchemy/migrate_repo/versions/054_add_bw_usage_data_cache.py b/nova/db/sqlalchemy/migrate_repo/versions/054_add_bw_usage_data_cache.py
index 4276df5c2..de9723665 100644
--- a/nova/db/sqlalchemy/migrate_repo/versions/054_add_bw_usage_data_cache.py
+++ b/nova/db/sqlalchemy/migrate_repo/versions/054_add_bw_usage_data_cache.py
@@ -53,5 +53,6 @@ def upgrade(migrate_engine):
def downgrade(migrate_engine):
+ meta.bind = migrate_engine
# Operations to reverse the above upgrade go here.
bw_cache.drop()