update migration code example
Example 1: entity framework migration
Update-Database
Example 2: add migration ef core
dotnet ef database update
Example 3: package manager console add migration
add-migration MyFirstMigration
Update-Database
Example 4: ef rollback migration
//EF 6.4
//PM> Update-Database -TargetMigration:"NameOfSecondToLastMigration"