openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #10748
Re: database migration cleanup
On Fri, Apr 27, 2012, Monsyne Dragon <mdragon@xxxxxxxxxxxxx> 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
References