I can use package manager to run \'update-database -verbose\' locally.
Probably a stupid question but I can\'t find it online - once my website is deployed - how can I r
I know that the question is already answered, but for future reference:
One of the options is to put something like this in the constructor of your DB context class:
public MyDbContext() { System.Data.Entity.Database.SetInitializer(new MigrateDatabaseToLatestVersion()); }