Команда Flask DB мигрирует

flask db init
flask db migrate -m 'Create message for what you did'
flask db upgrade
Mohammed