[Buildbot] #2590: Use Alembic instead of SQLAlchemy-Migrate

Buildbot trac trac at buildbot.net
Tue Jun 16 20:44:25 UTC 2015


#2590: Use Alembic instead of SQLAlchemy-Migrate
-------------------------+--------------------
Reporter:  dustin        |       Owner:
    Type:  project-idea  |      Status:  new
Priority:  major         |   Milestone:  0.9.+
 Version:                |  Resolution:
Keywords:  database      |
-------------------------+--------------------

Comment (by stibbons):

 I see 2 technical solutions:

 A) What could be done is to find a way to keep the existing migration
 script from version n -> m using sqlmigrate, and then to all version
 higher than m using alembic. I think it is not that difficult to handle, a
 bit of hacking in alembic's env.py

 B) Or all migration scripts need to be ported, as if there have been only
 alembic from the start (but still need to 'adapt' the version table so
 alembic can read it).

--
Ticket URL: <http://trac.buildbot.net/ticket/2590#comment:17>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list