I am using EF6 with existing db and a separate new schema for my code first. We were moving from staging to Production, and suddenly realized that all db's code first objects were gone, all beside the migration table. Of course everybody blamed code first as the cause. Is it possible? or maybe someone deleted the objects manually by mistake? In my Static Context constructor I used
Database.SetInitializer(new MigrateDatabaseToLatestVersion