mvc asp.net migrations database

  • Thread starter Thread starter djnilo
  • Start date Start date
D

djnilo

Guest
mvc asp.net migrations database I am creating a web application with visual studio 2015 mvc5 entity framewok
I had a problem with a board that believes and the elemine there is the muddy
I had this option activated

Enable-Migrations -ContextTypeName StoreContext -EnableAutomaticMigrations -Force

it does not let me create a new table so I did this
I was wrong

1. - Delete the Migrations directory of my project.
2. - Delete the _MigrationsHistory table from my database.
3. - Execute the following command in the package management console.

Enable-Migrations -EnableAutomaticMigrations -Force

I get this error it does not let me activate the migration

1297358.jpg

Continue reading...
 
Back
Top