I have created a migration using the Add-Migration command, but I\'d like to change the name of that migration. How can I undo the migration command, so that I
Add-Migration
To add to @Ben 's answer, when using the dotnet ef command variety this is the remove command you need:
dotnet ef
dotnet ef migrations remove
Which will remove your last migration and update the model snapshot.