[Openstack] database migration cleanup

Johannes Erdfelt johannes at erdfelt.com
Fri Apr 27 19:57:42 UTC 2012


On Fri, Apr 27, 2012, Monsyne Dragon <mdragon at RACKSPACE.COM> wrote:
> Even better, what would it take to try using Alembic?
> (http://alembic.readthedocs.org/en/latest/front.html#project-homepage)
> 
> It's a big improvement over sqlalchemy.  Amongst other things,
> migrations are not numbered, they are linked by dependancy, and run in
> topological-sort order. That there eliminates alot of "my migration
> number got taken... again..." problems. 

I've mentioned in on the list before, but here's a partial switch over
to alembic:

https://github.com/jerdfelt/nova/tree/alembic

However, it's orthogonal to merging migrations. It wouldn't be any
better or worse in that regard.

JE





More information about the Openstack mailing list