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
Just use command
Remove-migration
It will remove last added migration and update snapshot. It will not affect database so you have to rollback db in first place.