After migrating to Entity Framework 6 I get an error when executing unit tests on the build server.
I\'m using the DropCreateDatabaseIfModelChanges
initiali
It looks like this behavior was intended. Here's a quote from one of the developers:
This change of behavior was by design because EF5 would create the database without using the defined migrations meaning that the database created by the initializer could be different to the one created by Migrations. This could lead to testing against one database schema but running in production against a different database schema. However, we have tentatively decided to make a change to this behavior and this is being tracked here: https://entityframework.codeplex.com/workitem/1709