# Alembic

5 Hacker News commenters recommended Alembic and 4 criticized it, November 2025 to November 2026. It was recommended in 4 of 13 months.

**Verdict:** Recommended as a solid SQLAlchemy migration toolchain whose files mark what can be hand-edited. Critics say merged revision chains are hard to follow.

## Why people recommend it

- Good SQLAlchemy toolchain, outside Django (2 comments): "For python just get SQLModel (that is basically SQLAlchemy + pydantic), alembic, develop in hexagonal architecture" ([source](https://news.ycombinator.com/item?id=50030578)) "sqlalchemy and alembic is a great toolchain outside of django" ([source](https://news.ycombinator.com/item?id=49058346))
- Marks sections safe for manual editing (1 comments): "Alembic files are pretty nice because they basically specify what sections of the revision should and shouldn't be manually edited" ([source](https://news.ycombinator.com/item?id=49528278))
- Makes writing migrations easier (1 comments): "made the tower of changes easier to write but no easier to read" ([source](https://news.ycombinator.com/item?id=50154447))

## What people warn about

- Merges create multiple heads (2 comments): "each alembic migration is tied to a down revision which causes multiple heads." ([source](https://news.ycombinator.com/item?id=46479969)) "i never know what order migrations will apply in when there's been a merge" ([source](https://news.ycombinator.com/item?id=46478374))

## Alternatives hackers recommend

- [Atlas by Ariga](https://hackerapproved.com/p/atlas.md): 29 recommend
- [sqldef](https://hackerapproved.com/p/sqldef.md): 9 recommend

## Cite as

Hacker Approved, "Alembic", https://hackerapproved.com/p/alembic/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
