cinder/cinder/db
Xing Yang 71e7840795 DB migration 25->24 failed when dropping column
"cinder-manage db sync 24" failed when dropping column cgsnapshot_id
from the snapshots table.

The reason that drop column failed was because of the foreign key
constraint. MySQL cannot drop column until the foreign key constraint
is removed. So the solution is to remove the foreign key first, and
then drop the column. This affects the cgsnapshot_id column in the
snapshots table and the consistencygroup_id column in the volumes table.

Change-Id: I89d5016be450ec91c7a7b1c42803add3f62c88df
Closes-Bug: #1368213
2014-09-20 18:37:52 -04:00
..
sqlalchemy DB migration 25->24 failed when dropping column 2014-09-20 18:37:52 -04:00
__init__.py Enable flake8 H303,H304 checking 2014-04-15 09:16:01 +00:00
api.py Consistency Groups 2014-08-27 01:47:31 -04:00
base.py Sync periodic_task from oslo-incubator 2014-05-29 11:33:07 -07:00
migration.py Remove vim header 2013-12-30 18:53:02 -06:00