JetBrains Rider
 
Get JetBrains Rider
Get your hands on the new features ahead of the release by joining the Early Access Program for Rider 2025.1! Learn more

Entity Framework Core: Remove Last Migration

Last modified: 04 December 2024

This command removes the last migration, rolling back the code changes that were done for it.

Under the hood, JetBrains Rider will apply the dotnet ef migrations remove command with the corresponding arguments. Make sure that dotnet ef global tool is installed on your machine.

Below is the list of options for the Remove Last Migration command.