How to fix an error when Flask‐migrate or alembic cannot find migration path on Heroku. - MUMT-IT/mis2018 GitHub Wiki
Code deploy to Heroku is located under /app folder. So, if the migrations folder is in app/migrations on your local machine. You might need to run flask db script like this:
heroku run flask db upgrade -d /app/app/migrations