generate sql script from migration ef core code example
Example 1: ef rollback migration
//EF 6.4
//PM> Update-Database -TargetMigration:"NameOfSecondToLastMigration"
Example 2: generate sql from specific migration ef core
Script-Migration -From <PreviousMigration> -To <LastMigration>