From 5785c29e953e68b9cc0764ebe57feeee4fb6b8be Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 7 May 2017 10:08:50 -0400 Subject: [PATCH] allow dataloss --- Project-Unite/Global.asax.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Project-Unite/Global.asax.cs b/Project-Unite/Global.asax.cs index 2b23462..10223f1 100644 --- a/Project-Unite/Global.asax.cs +++ b/Project-Unite/Global.asax.cs @@ -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();