3

I'm working in a team of four developers and we sometimes run into issues with EF Code First Migrations between different branches and releasing to staging from dev. We are using git.

What is the best process flow to follow between:

  1. Devs working on different branches/features and eventually merging changes without loosing any migrations created in these branches/features.
  2. Releasing to staging/live.
2
  • The best branching and release strategy is the one that works best for your organisation. There is no single best practice. I'd suggest you research some publicized strategies and see what fits best. Voting to close as primarily opinion based. Commented Jun 14, 2017 at 8:37
  • What issues you are facing? Commented Jun 14, 2017 at 8:37

1 Answer 1

1
  1. Read this MSDN article that addresses issues related to EF Code First Migrations in team environments.

  2. There are a lot of branching strategies available out there, you could explore them and use the one that best suits your needs. Have a look at git-flow, which is one of the branching models for Git.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.