asp.net core delete migration code example
Example 1: ef core delete all migrations
dotnet ef database drop -f -v
dotnet ef migrations add Initial
dotnet ef database update
Example 2: enable migration in .net core
dotnet ef migrations add InitialCreate
Example 3: enable migration in .net core
dotnet ef database update