FAILED: Target database is not up to date. alembic code example
Example: alembic.util.exc.CommandError: Target database is not up to date.
$ flask db stamp head
$ flask db migrate
$ flask db upgrade
$ flask db stamp head
$ flask db migrate
$ flask db upgrade