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();