A while ago had a problem in a production server which I used Heroku’s rollback command, which goes back to the previous push/migration.
When you run:
It goes a step back in your commits/changes but upgrades the version.
Current version = v33, after rollback current version = 34. If for any reason rollback wasn’t what you intended you can rollback again to the previous version.
For this you run:
heroku rollback v33
To list the releases:
To check a certain release:
heroku releases:info v28