[openstack-dev] [Neutron] Note on alembic migrations autogeneration

Mark McClain mmcclain at yahoo-inc.com
Fri Aug 1 13:00:01 UTC 2014


On Jul 31, 2014, at 6:34 AM, Anna Kamyshnikova <akamyshnikova at mirantis.com<mailto:akamyshnikova at mirantis.com>> wrote:

Hi everyone!

I want to pay attention for all people who use alembic --autogeneration for creating migrations from models. Creation of foreign keys is not fully implemented [1] so you should check carefully that your migration contain all foreign keys your tables need.

Also I want to ask developers, who creates migrations to check that your migration works correctly for upgrade->downgrade->upgrade cycle.

[1] - http://alembic.readthedocs.org/en/latest/tutorial.html#auto-generating-migrations

Regards,
Ann


+1000 Thanks for the reminder Ann!

mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140801/07594fec/attachment.html>


More information about the OpenStack-dev mailing list