THIS IS NOT THE OFFICIAL REPO - PLEASE SUBMIT PRs ETC AT: http://github.com/sqlalchemy/alembic
Alembic is a database migrations tool written by the author of
SQLAlchemy_. A migrations tool offers the following functionality:
The goals of Alembic are:
--autogeneratefeature will inspect the current status of a database using SQLAlchemy's schema inspection capabilities, compare it to the current state of the database model as specified in Python, and generate a series of "candidate" migrations, rendering them into a new migration script as Python directives. The developer then edits the new file, adding additional directives and data migrations as needed, to produce a finished migration. Table and column level changes can be detected, with constraints and indexes to follow as well.
Documentation and status of Alembic is at https://alembic.sqlalchemy.org/
Alembic is part of the
SQLAlchemy Project_ and adheres to the same standards and conventions as the core project.
Development / Bug reporting / Pull requests
Please refer to the
SQLAlchemy Community Guide_ for guidelines on coding and participating in this project.
Code of Conduct
Above all, SQLAlchemy places great emphasis on polite, thoughtful, and constructive communication between users and developers. Please see our current Code of Conduct at
Code of Conduct_.
Alembic is distributed under the
MIT license_.