summaryrefslogtreecommitdiff
path: root/Project-Unite
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-07 10:08:50 -0400
committerMichael <[email protected]>2017-05-07 10:08:50 -0400
commit5785c29e953e68b9cc0764ebe57feeee4fb6b8be (patch)
tree3d0af9914eb2360a079118a04365321f78fa8a4c /Project-Unite
parentca5954e7d2b9c2040f6f421816778d8203161563 (diff)
downloadproject-unite-5785c29e953e68b9cc0764ebe57feeee4fb6b8be.tar.gz
project-unite-5785c29e953e68b9cc0764ebe57feeee4fb6b8be.tar.bz2
project-unite-5785c29e953e68b9cc0764ebe57feeee4fb6b8be.zip
allow dataloss
Diffstat (limited to 'Project-Unite')
-rw-r--r--Project-Unite/Global.asax.cs1
1 files changed, 1 insertions, 0 deletions
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 @@ namespace Project_Unite
protected void Application_Start()
{
var configuration = new Migrations.Configuration();
+ configuration.AutomaticMigrationDataLossAllowed = true;
var migrator = new DbMigrator(configuration);
migrator.Update();