I ran a db migrate
then a db upgrade
but the upgrade failed because one of the commands failed. (I hadn't read the migration before running it.)
I ended up in the state where db history
recognized the upgrade had run, but db current
still listed the previous upgrade as the HEAD.
I tried db downgrade
then db upgrade
and that didn't work.
How do I correct this so I can continue running migrations?