C#C
C#3y ago
Pibbles

❔ Entity Framework Migrations

So I deleted a migration or 2, which I've come to learn from the docs was a bad move.
The migrations I deleted were all the top of the list (ie most recents) but my context snapshot and migrations are out of sync now.
Is there a way I can run through those migrations, and create a context snapshot from them?
I'm pretty sure there's a way to create code from a db, and you can create a db from the migrations, so there must be a way...
Was this page helpful?