clear migrations entity framework code example
Example: ef core delete all migrations
dotnet ef database drop -f -v
dotnet ef migrations add Initial
dotnet ef database update
dotnet ef database drop -f -v
dotnet ef migrations add Initial
dotnet ef database update