DEV Community

Alan Chang
Alan Chang

Posted on • Edited on

Decided to undo your last migration in EF core?

Update to your previous desired migration

dotnet ef database update

Then remove the last migration

dotnet ef migrations remove

Top comments (0)