-
For some reason, SQL Azure deleted and recreated our database
-
The _MigrationHistory table was created in the process, registering a starting point to test the model against for future migrations
Here are our Questions
-
Who / What triggered the database deletion / recreation?
-
How could EF re-seed our sample data since
Application_Start hasSystem.Data.Entity.Database.SetInitializer<Entities>(null);?
EDIT: Looking at what
could've gone wrong, we noticed one thing we didn't respect in this SQL Azuretutorial:
we didn't remove PersistSecurityInfo from
our SQL Azure Entity database connection string after the database was created. Can't see why on Earth it could have caused the problem, but still worth mentioning...
Thanks for the help