How do I force Entity Framework to mark a particular migration as having been applied?
问题 I'm using Entity Framework 5 in a project, and I've got Migrations enabled. Here's the scenario: A new developer (dev1) comes on and builds the project from source. There are existing migrations since previous developers had been working on the project in the past. When that developer runs the ASP.NET MVC project for the first time, the database builds automatically, and no errors appear. After that, however, a different developer (dev2) adds a new migration. When Dev1 tries to run Update