© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
6 replies
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...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Entity Framework - Migrations Production (Postgres)
C#CC# / help
4y ago
Entity framework
C#CC# / help
14mo ago
❔ Entity Framework
C#CC# / help
3y ago
❔ Entity Framework
C#CC# / help
4y ago