Sync shadow table for 179 migration

To be able to use db archiving our table and shadow table should
have the same columns.

fixes bug 1179497

Change-Id: I001f31a5efa07c80acd1ad513369456fb8c3cb44
This commit is contained in:
Boris Pavlovic
2013-05-13 14:57:04 +04:00
parent e5f6e0d8d7
commit 401342f76f

View File

@@ -1332,6 +1332,9 @@ class TestNovaMigrations(BaseMigrationTestCase, CommonTestsMixIn):
self.assertTrue(db_utils.check_shadow_table(engine,
"volume_usage_cache"))
def _check_181(self, engine, data):
self.assertTrue(db_utils.check_shadow_table(engine, 'cells'))
class TestBaremetalMigrations(BaseMigrationTestCase, CommonTestsMixIn):
"""Test sqlalchemy-migrate migrations."""