Well in rails 5 it's quite easy rake db:migrate:status or rails db:migrate:status
It was modified to handle both the same way Then just pick which Version you want to roll back and then run rake db:migrate VERSION=2013424230423
Make sure VERSION is all capital letters
If you have a problem with any step of the migration or stuck in the middle simply go to the migration file and comment out the lines that were already migrated.
Hope that helps