Hacker ApprovedDepartments

Alembic

Ranked 3 of 3 database migration tools by recommenders

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

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

9 people gave an opinion

recommend it
5
criticize it
4
approval share
56%
Each figure is one person. RecommendsCriticizes

Recommended in 4 of 13 months

  1. November 2025: not recommended
  2. December 2025: not recommended
  3. January 2026: not recommended
  4. February 2026: not recommended
  5. March 2026: not recommended
  6. April 2026: recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: not recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 5 people recommend itNeeds 10 or more, not met.
  • 1.2 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 4 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Good SQLAlchemy toolchain, outside Django

    “For python just get SQLModel (that is basically SQLAlchemy + pydantic), alembic, develop in hexagonal architecture”

    Comment from 10 Oct 2026 in “Next.js 16.4”

    “sqlalchemy and alembic is a great toolchain outside of django”

    Comment from 26 Jul 2026 in “Some more things about Django I've been enjoying”
  • Marks sections safe for manual editing

    “Alembic files are pretty nice because they basically specify what sections of the revision should and shouldn't be manually edited”

    Comment from 1 Sep 2026 in “Ask HN: How do you guys stop coding agents from acting out of line?”
  • Makes writing migrations easier

    “made the tower of changes easier to write but no easier to read”

    Comment from 19 Oct 2026 in “Migrations turn code itself into state”

What people warn about

Each mark is one comment

  • Merges create multiple heads

    “each alembic migration is tied to a down revision which causes multiple heads.”

    Comment from 3 Jan 2026 in “Show HN: Jetbase – A Python database migration tool (Alembic alternative)”

    “i never know what order migrations will apply in when there's been a merge”

    Comment from 3 Jan 2026 in “Show HN: Jetbase – A Python database migration tool (Alembic alternative)”

Other database migration tools people recommend

The two most recommended other database migration tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Alembic compared with 2 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Atlas by Ariga29878%12—Approved
sqldef9564%1——
AlembicThis page5456%4——
See all 3 database migration tools, ranked

What people said

8 of the 9 comments that mention it, newest first. Each links to the original comment.

“made the tower of changes easier to write but no easier to read”

MixedComment from 19 Oct 2026 in “Migrations turn code itself into state”

“For python just get SQLModel (that is basically SQLAlchemy + pydantic), alembic, develop in hexagonal architecture”

RecommendsComment from 10 Oct 2026 in “Next.js 16.4”

“Alembic files are pretty nice because they basically specify what sections of the revision should and shouldn't be manually edited”

RecommendsComment from 1 Sep 2026 in “Ask HN: How do you guys stop coding agents from acting out of line?”

“sqlalchemy and alembic is a great toolchain outside of django”

RecommendsComment from 26 Jul 2026 in “Some more things about Django I've been enjoying”

“even in the new project I'm in with more experienced devs on alembic a lot of things had to manually built”

CriticizesComment from 30 Jan 2026 in “Notes on Starting to Use Django”

“each alembic migration is tied to a down revision which causes multiple heads.”

CriticizesComment from 3 Jan 2026 in “Show HN: Jetbase – A Python database migration tool (Alembic alternative)”

“i never know what order migrations will apply in when there's been a merge”

CriticizesComment from 3 Jan 2026 in “Show HN: Jetbase – A Python database migration tool (Alembic alternative)”

“get rid of the Python requirement”

CriticizesComment from 2 Nov 2025 in “CLI to manage your SQL database schemas and migrations”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.