how to add migrations in .net core code example
Example 1: ef migrations
PM> add-migration MyFirstMigration
PM> Update-Database
Example 2: add migration ef core
dotnet ef database update
Example 3: enable migration in .net core
dotnet ef migrations add InitialCreate