FlaskMigrate
Flask-Migrate is an extension for the Flask web framework that handles database migrations for SQLAlchemy-backed applications. It integrates the Alembic migration tool with Flask, providing a simple, consistent interface to evolve database schemas as models change over time.
Designed to work with SQLAlchemy and the Flask application structure, Flask-Migrate stores migration scripts in a
Typical workflow: define or modify SQLAlchemy models, run flask db migrate -m "message" to generate a migration,
Flask-Migrate is maintained as a Flask extension and depends on Flask, SQLAlchemy, and Alembic. It is widely