Hacker ApprovedDepartments

sqldef

Ranked 2 of 3 database migration tools by recommenders

Idempotent schema diff tool supporting MySQL, PostgreSQL and SQLite; critics report PostgreSQL parse failures and mishandled SQLite column changes.

Idempotent schema diff tool supporting MySQL, PostgreSQL and SQLite; critics report PostgreSQL parse failures and mishandled SQLite column changes.

14 people gave an opinion

recommend it
9
criticize it
5
approval share
64%
Each figure is one person. RecommendsCriticizes

Recommended in 1 of 13 months

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

Why it doesn’t carry the badge

  • 9 people recommend itNeeds 10 or more, not met.
  • 1.8 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 1 of 13 monthsNeeds 4 or more, not 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

  • Diff-style schema migrations

    “It is like a diff tool but to advance the schema.”

    Comment from 4 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

    “This looks really cool for schema migrations”

    Comment from 5 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

What people warn about

Each mark is one comment

  • Mishandles column changes in SQLite

    “it doesn't handle dropping columns well in sqlite”

    Comment from 5 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

    “I renamed a column and it added a new one.”

    Comment from 5 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

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.

sqldef compared with 2 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Atlas by Ariga29878%12—Approved
sqldefThis page9564%1——
Alembic5456%4——
See all 3 database migration tools, ranked

What people said

11 of the 15 comments that mention it, newest first. Each links to the original comment.

“it doesn't handle dropping columns well in sqlite”

CriticizesComment from 5 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

“Looks like it just generates invalid migrations”

CriticizesComment from 5 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

“I tried only with a few of the PostgreSQL things we use in our schema and and failed parsing them”

CriticizesComment from 5 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

“Pleasantly surprised this post was about a neat little tool and not another migration manager.”

RecommendsComment from 5 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

“This looks really cool for schema migrations”

RecommendsComment from 5 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

“Incredible tool, definitely going to get a working poc for this with my team”

RecommendsComment from 5 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

“I renamed a column and it added a new one.”

CriticizesComment from 5 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

“Looks like this is only useful for empty databases.”

CriticizesComment from 5 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

“Be sure to look at the actual sqldef command-line tool, not the trivial copy-and-paste demo on their website.”

RecommendsComment from 5 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

“sqldef is really cool for supporting many database dialects”

RecommendsComment from 5 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

“It is like a diff tool but to advance the schema.”

RecommendsComment from 4 Feb 2026 in “Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite”

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