add migration in entity framework code example
Example 1: add migration ef core
dotnet ef migrations add InitialCreate
Example 2: entity framework migration
Update-Database
dotnet ef migrations add InitialCreate
Update-Database