mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 03:11:48 -05:00
allow dataloss
This commit is contained in:
parent
ca5954e7d2
commit
5785c29e95
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue