I am trying to use Code First with Migrations. Even though there are no current changes to my model, I\'m getting an exception. When I add a migration, the up and down are e
I am not sure if you found the answer to your problem, but this other answer I found here actually did it for me: Entity Framework model change error
I actually ended up deleting the __MigrationHistory
table in SQL Server which I didn't know it was being created automatically.
The article also talks about the option to not generate it I think by using this instruction: Database.SetInitializer
but I have not used it, so I am not sure if it works like that