regenerate migration dotnet ef code example
Example 1: add migration ef core
dotnet ef migrations add InitialCreate
Example 2: how to remove last migration in ef core
* CLI
dotnet ef migrations remove
*Package Manager Console
PM> Remove-Migration