O
O
Oleg Stepanov2014-06-30 09:10:40
ASP.NET
Oleg Stepanov, 2014-06-30 09:10:40

Rollback migrations on the server using ASP.NET MVC and Entity Framework Code first?

There is a remote server, a project is deployed on it on asp.net mvc 4.5 with a ms sql server database.
The project is connected to the database through the Entity Framework using code first and automatic migrations.
The essence of the problem:
If the project is not touched for a long time, then for some reason the migration rolls back to some incomprehensible, intermediate state.
Has anyone experienced this and how can I fix it?
And on my local computer, the project did not notice such behavior.
EF version 6.1.0

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question