ef core run migrations from code command line code example
Example 1: add migration ef core
dotnet ef migrations add InitialCreate
Example 2: ef core update database command
update database
dotnet ef migrations add InitialCreate
update database