Re:Ask HN: How do you version your data?
by ComputerGuru on Monday February 20, 2017 @02:53AM
(#13685314)
So if you release version 1.0 with hash x, then release version 1.1 with hash y, and then release version 1.0.1 with hash z, 1.0.1 == 1.1?
[ Parent
| on HN ]
For branching schemas, yes it gets complicated. But at least you get a nice conflict while merging the branches (at the right place) These conflicts help guide a rewrite of the schema history into something consistent. That's part of it: when a merge happens, you basically have to create a new migration that does the merge too.
and if you never merge the forks, there is no problem. they likely won't share a production database anyway, right?