MigrateDatabaseToLatestVersion not executed
问题 I can't figure out why my latest migration is not getting executed automatically on application startup (or at least on first access of the database context). I used to run update-database manually in development, but I want to test whether it will upgrade automatically on my hosted test environment. In Application_Start(): Database.SetInitializer<FepazoContext>( new MigrateDatabaseToLatestVersion<FepazoContext, FepazoConfiguration>()) In FepazoConfiguration: internal sealed class