pip install Flask-Migrate
flask db init flask db migrate flask db upgrade
$ flask db migrate -m "Initial migration."
flask db init flask db migrate -m 'Create message for what you did' flask db upgrade