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
I figured out a hack.
Run Update-Database -Script
Update-Database -Script
Pick out all the migrations that have already been run
INSERT INTO [__MigrationHistory] ([MigrationId], [Model], [ProductVersion]) VALUES
Open Sql Server Management Studio, and run those sql statements manually.
New migrations should work fine.