|
|
| | Ask HN: How do you handle data migrations in SQL databases? | | 21 points by marcc on June 5, 2019 | hide | past | favorite | 12 comments | |
| There was a recent discussion about handling schema migrations (https://news.ycombinator.com/item?id=19880334). Following up on this, if you deploy a schema migration, sometimes there's a data migration that needs to follow. For example, I recently wanted to "promote" a field from a JSON column in a postgres database to a SQL table column. It's easy enough to add the new column, but what tools and patterns are out there for handling the data migration? |
|

Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
|
Noticed that it released its 1.0 a couple of days ago (https://github.com/sqitchers/sqitch).