[openstack-dev] [Solum] Some initial code copying for db/migration

Russell Bryant rbryant at redhat.com
Sat Nov 2 16:32:49 UTC 2013


On 11/01/2013 12:46 PM, Clayton Coleman wrote:
>>> I was also going to throw in migrate as a dependency and put in the glue
>>> code for that based on common use from ironic/trove/heat.  That'll pull in
>>> a few openstack common and config settings.  Finally, was going to add a
>>> solum-dbsync command a la the aforementioned projects.  No schema will be
>>> added.
>>
>> I also would not use migrate.  sqlalchemy-migrate is a dead upstream and
>> we (OpenStack) have had to inherit it.  For new projects, you should use
>> alembic.  That's actively developed and maintained.  Other OpenStack
>> projects are either already using it, or making plans to move to it.
>>
> 
> Thanks, did not see it in the projects I was looking at, who's the "canonical" example here?
> 

It looks like at leat ceilometer and neutron are using alembic right now.

-- 
Russell Bryant



More information about the OpenStack-dev mailing list