command to migration sql entity framework code example
Example 1: enable migration in .net core
dotnet ef migrations add InitialCreate
Example 2: package manager console add migration
add-migration MyFirstMigration
Update-Database
dotnet ef migrations add InitialCreate
add-migration MyFirstMigration
Update-Database