net core 3.1 project run migrations production code example
Example 1: ef migrations
PM> add-migration MyFirstMigration
PM> Update-Database
Example 2: add migration ef core
dotnet ef database update
PM> add-migration MyFirstMigration
PM> Update-Database
dotnet ef database update