ef core migration update database code example
Example 1: add migration ef core
dotnet ef migrations add InitialCreate
Example 2: ef migrations
PM> add-migration MyFirstMigration
PM> Update-Database
dotnet ef migrations add InitialCreate
PM> add-migration MyFirstMigration
PM> Update-Database