Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderThis fills a gap for me. I tend to think of a database schema in declarative terms ("table T has these fields"), whereas the SQL DDL statements are more akin to commands (ALTER table T, adding a column). This always felt bad to me, because in order to define the final state of your schema, you need to define the initial state plus the commands necessary to get to the new one. A diff tool frees you from this pain.
This tool is incredibly useful I would also like to share a very similar tool that is much less known: https://github.com/bikeshedder/tusker It's the same thing, except instead of requiring two DB URL's to do the diffing, you give it a "schema.sql" file and a folder path that has your migrations in it, and the path to the current DB. Then it introspects the DB, looks at "schema.sql" + the migration files, and figures out what you've changed in "schema.sql" that…
Out of curiosity, are you familiar with the fact that "migra" as in "la migra" is short/slang for inmigración, meaning the homeland security folks who detain and deport people in the U.S.?
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 2
- Total points
- 318
- Total comments
- 51
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2017-03-01 | Migra: like diff but for PostgreSQL schemas | djrobstep | 3 | 0 |
| 2017-09-14 | Migra: like diff for PostgreSQL schemas; migrations made almost painless | fanf2 | 1 | 1 |
| 2018-03-25 | Migra – A schema diff tool for PostgreSQLFirst breakout · Best thread | networked | 177 | 29 |
| 2021-04-08 | Migra: Like Diff but for Postgres Schemas | Jarwain | 1 | 0 |
| 2022-02-25 | Migra: Diff for PostgreSQL schemasLatest 20+ point return | thunderbong | 136 | 21 |
