allow dataloss

This commit is contained in:
Michael 2017-05-07 10:08:50 -04:00
parent ca5954e7d2
commit 5785c29e95

View file

@ -17,6 +17,7 @@ public class MvcApplication : System.Web.HttpApplication
protected void Application_Start()
{
var configuration = new Migrations.Configuration();
configuration.AutomaticMigrationDataLossAllowed = true;
var migrator = new DbMigrator(configuration);
migrator.Update();