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 1297358.jpg](https://www.computerhelp.forum/data/attachments/55/55135-214750e3345d1f0cba830a46320b9eb0.jpg?hash=IUdQ4zRdHw)
Continue reading...
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 1297358.jpg](https://www.computerhelp.forum/data/attachments/55/55135-214750e3345d1f0cba830a46320b9eb0.jpg?hash=IUdQ4zRdHw)
Continue reading...