asp core migrate to file code example
Example 1: add migration ef core
dotnet ef migrations add InitialCreate
Example 2: ef migrations
PM> add-migration MyFirstMigration
PM> Update-Database
dotnet ef migrations add InitialCreate
PM> add-migration MyFirstMigration
PM> Update-Database