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