Flask-Migrate
SQLAlchemy database migrations for Flask applications using Alembic
...It provides a set of command-line routines tied into Flask’s CLI such that developers can generate migration scripts, apply upgrades, and roll back changes with simple commands, keeping the database structure in sync with evolving application models. The extension handles versioning of the database schema so teams can track and share structural changes alongside application code, reducing manual migration errors and enabling collaborative development. Flask-Migrate also supports branching and merging workflows by generating human-readable migration scripts that developers can review, edit, and commit to version control.