EF Code First does not see all migrations

In my project, I have a dozen + migrations. http://screencast.com/t/CA2kZk3WCFj But when I try to create a database from scratch, EF only starts with the marked migration to the bottom.

if I enter the command: update-database -targetMigration InitialCreate is the answer: it indicated the destination migration "InitialCreate" does not exist. Verify that the target migration refers to the existing migration ID.

How can I solve this problem and make EF see all migrations?

+4
source share
1 answer

, " " "Release". .

0

Source: https://habr.com/ru/post/1548100/


All Articles