alembic
https://github.com/sqlalchemy/alembic
Python
A database migrations tool for SQLAlchemy.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to alembic
Help out
- Issues
- autogenerate for sequences, as well as create_sequence()/drop_sequence()
- op.add_column() and op.drop_column() should check for SchemaType, run through the events for that type, or perhaps just create/drop
- evaulate support of schema_translate_map feature of SQLAlchemy with alembic migrations
- document that URLs need to be URL escaped, and if present in alembic.ini also need percent signs doubled
- generalized "recreate foreign key" / "recreate constraint" / "drop constraint if needed" types of directives + autogenerate?
- A couple features to facilitate a branch-by-default workflow
- enum already exists
- take use_alter=True, other FK / foreign key / foreignkey constraint rules into account when autogenerating create_table / drop_table
- batch_alter_table forgets unchanged Enum CHECK constraint
- Support PostgreSQL partitioned tables
- Docs
- Python not yet supported