I have been changing my domain classes and executed Update-Database in the Package Manager Console, After i realized that need to add an index and need to down-grade to the previous state. what is the proper command to down-grade one step in migration?
Update-Database has a TargetMigration parameter that you can use to update to a particular migration. You can use that to upgrade or downgrade.
Update-Database â€“TargetMigration PreviousMigrationName
Update-Database â€“TargetMigration "lastcreatedMigrationName"
update-database -targetmigration: "entity-logs-index"