Migrations: Script-Migration doesn't revert -From migration #6126
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
In the previous version of EF core one could use Update-Database with the option -Script to generate an SQL Script instead of updating the DB. That way I could generate the script to downgrade a bad migration.
Now the option -script has gone and I'm not sure how to get the same result.
I tried Script-Migration -From Migration2 -To Migration1 (where Migration2 is newer than Migration1) but no success.
Any hints...?
Thanks
Paolo
The text was updated successfully, but these errors were encountered: