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