Branching and Databases

Odd state with git branches and doctrine migrations

We use Git at work and make use of several concurrent topic branches. At the same time, we utilize Doctrine to keep our databases in line and updates made to them sane and manageable.

This creates interesting databases states, however, as seen above. Screenshot is from a hotfix branch where several migrations from topic branches aren’t included in the source, but have been ran on my local database. This isn’t a problem unique to our workflow, but with Doctrine, I’m now able to visualize it.



My name is Clint Shryock. I develop things in Go and Ruby. I live in central Missouri, where the weather is beautiful 4 months of the year.
|                       |
|      (ノ^_^)ノ      |
|                       |
|   ☜(゚ヮ゚☜)    |
|                       |
|     ౿(ఠ_ఠఎ)    |
|                       |
|        ಠ_ಠ         |
x                      x
  xxx           xxx
       xx    xx