KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am working on a rails app with quite a few git branches and many of them include db migrations. We try to be careful but occasionally some piece of code in master asks for a column that got removed/renamed in another branch. What would be a nice solution to "couple" git branches with DB states? What would these "states" actually be? We can't just duplicate a database if it's a few GBs in size. And what should happen with merges? Would the solution translate to noSQL databases as well? We currently use MySQL, mongodb and redis EDIT: Looks like I forgot to mention a very important point, I am only interested in the development environment but with large databases (a few GBs in size).
Tags (comma-separated)
Save Edits
Cancel