database not up to date 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