-
Hello! Sometimes team members will modify the DB schema on separate branches, resulting in conflicting |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
imo simplest way is create migration file in merge CI btw there are so many possibilities with migration merge conflicts, customize it for your team environment |
Beta Was this translation helpful? Give feedback.
-
@lxia1220 is right that there are many possible solutions, but for those who find this on Google, here's a manual fix I often perform: Situation: You merge Conflict:
Typical Solution: Regenerate your migrations Steps:
|
Beta Was this translation helpful? Give feedback.
imo simplest way is create migration file in merge CI
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue#managing-a-merge-queue
btw there are so many possibilities with migration merge conflicts, customize it for your team environment