alembic icon indicating copy to clipboard operation
alembic copied to clipboard

Cookbook recipe for automatic schema migrations for trivial changes

Open sqlalchemy-bot opened this issue 7 years ago • 2 comments

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.

sqlalchemy-bot avatar Dec 07 '17 16:12 sqlalchemy-bot

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.

sqlalchemy-bot avatar Dec 07 '17 18:12 sqlalchemy-bot

Changes by Michael Bayer (@zzzeek):

  • set milestone to "tier 1"

sqlalchemy-bot avatar Dec 07 '17 18:12 sqlalchemy-bot