alembic
alembic copied to clipboard
Cookbook recipe for automatic schema migrations for trivial changes
Migrated issue, originally created by Jake Hunsaker (@turboturtle)
This feature request is for a cookbook recipe to automatically run a migration against trivial schema changes (i.e. add/drop columns, at most add/drop a table) so that an end user never has to run an alembic command themselves.
Reference https://groups.google.com/forum/#!topic/sqlalchemy-alembic/6Wf6_FcemM4 - the main idea has been fleshed out and what would be needed seems to have been identified. At this point it would be primarily making sure the API can do this without changes it seems.
Michael Bayer (@zzzeek) wrote:
right....it would be nice to have. i dont have resources to work on this in the near term, will have to see once i get sqlalchemy 1.2 out if i have a little more space for some of the more intricate alembic issues that have come up.