deb-cinder/cinder/db/sqlalchemy/migrate_repo
wanghao 6b6249b5ff Add volumes table definition when migrating to 67
When migrating DB to 67 readd_iscsi_targets_table,
we will add foreign key "volumes.id", but we miss
to define the volumes table, that will cause the
migrating process fail: 'NoReferencedTableError'.

Fix this issue by adding volume table definition
before creating iscsi_targets table. test is
added as well.

Change-Id: Id0e0970517a5d3414e0ed124b2b7b3a5b1973761
Closes-Bug: #1554329
2016-03-08 13:57:15 +08:00
..
versions Add volumes table definition when migrating to 67 2016-03-08 13:57:15 +08:00
__init__.py Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
manage.py Fix files in Cinder with execute bit set 2014-12-19 09:37:19 -06:00
migrate.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
README Remote unused iscsi_targets table 2016-01-15 21:14:35 +01:00

This is a database migration repository.

More information at:
    https://github.com/openstack/sqlalchemy-migrate

Original project is no longer maintained at:
    http://code.google.com/p/sqlalchemy-migrate/