dotnet core 3 add migration code example
Example 1: ef migrations
PM> add-migration MyFirstMigration
PM> Update-Database
Example 2: C# aspnet how to run a migration
dotnet ef database update
PM> add-migration MyFirstMigration
PM> Update-Database
dotnet ef database update