user6344679
user6344679

Reputation:

ASP.NET Entity Framework Code First Migration process between environments

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.

Upvotes: 3

Views: 171

Answers (1)

ashin
ashin

Reputation: 2603

  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.

Upvotes: 1

Related Questions