tools / alembic

Alembic

Database migrations for SQLAlchemyOpen source· verified Sep 2026

Versioned schema migrations for SQLAlchemy projects. It can autogenerate a migration by diffing your models against the database, which you then review and commit.

Official site

Reach for it when

  • Evolving a Postgres or MySQL schema in a Python project

Worth knowing

Autogenerate misses some changes, such as renames — always read the generated migration.

In stack playbooks

More in Databases & backends

WWADD — Moves. Stacks. Judgment calls.

FREE REFERENCE · NO LOGIN · NO TRACKING