News for hackers. Stuff that matters.
Re:Hassle-Free Database Migrations with Prisma Migrate by csncsu on Tuesday March 16, 2021 @03:32PM (#26481708)
EF 6 had an interesting take on this problem. If two migrations had the same parent (aka we both branched and added a migration), whoever merged second would have to generate a "merge" migration to resolve the conflict. It wasn't the most elegant solution, or even a solution period, but it made the problem explicit. This happened because the full schema model was serialized and encoded into the migration journal table.
Re:Hassle-Free Database Migrations with Prisma Migrate by linkdd on Tuesday March 16, 2021 @03:38PM (#26481784)
This is the actual model of git.

You try to push on a remote after somebody else, you have to create a merge commit.

But it would be nice to have a rebase to keep linearity in your history.