Answer the question
In order to leave comments, you need to log in
EntityFramework-CodeFirst - How to restore migrations?
When working with the project, I deleted the migration files, as a result, the names of the old entities do not change now, and when the project is launched, an error is generated related to the fact that there are changes in the database and they need to be applied. And when updating via Update-Database - nothing changes.
In the database, I saw the Migrations table... is it possible to restore the migration file from this table?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question