Set DbMigrationsConfiguration.AutomaticMigrationsEnabled to true