I\'ve been using Flask-Migrate (Alembic) for updating my database. I updated my models.py file however I made an error. I ran a migration and went to upgrade the da
models.py
alembic.util.CommandError: Target database is not up to date.
Could you try following steps?
python manage.py db stamp head python manage.py db migrate python manage.py db upgrade
'stamp' the revision table with the given revision; don't run any migrations