on model creating entity framework core skip migration code example
Example: how to remove last migration in ef core
* CLI
dotnet ef migrations remove
*Package Manager Console
PM> Remove-Migration
* CLI
dotnet ef migrations remove
*Package Manager Console
PM> Remove-Migration