how to run migration in asp.net core code example
Example 1: enable migration in .net core
dotnet ef migrations add InitialCreate
Example 2: add-migration .net core
In .net core CLI use
dotnet ef migrations add InitialCreate
dotnet ef migrations add InitialCreate
In .net core CLI use
dotnet ef migrations add InitialCreate