diff options
| author | Michael <[email protected]> | 2017-05-07 10:08:50 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-05-07 10:08:50 -0400 |
| commit | 5785c29e953e68b9cc0764ebe57feeee4fb6b8be (patch) | |
| tree | 3d0af9914eb2360a079118a04365321f78fa8a4c | |
| parent | ca5954e7d2b9c2040f6f421816778d8203161563 (diff) | |
| download | project-unite-5785c29e953e68b9cc0764ebe57feeee4fb6b8be.tar.gz project-unite-5785c29e953e68b9cc0764ebe57feeee4fb6b8be.tar.bz2 project-unite-5785c29e953e68b9cc0764ebe57feeee4fb6b8be.zip | |
allow dataloss
| -rw-r--r-- | Project-Unite/Global.asax.cs | 1 |
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(); |
