Database Migration Tools
Database Migrations for Flask
★ 4.5
Legacy Django Migrations
★ 4.0
pip install flask-migratepip install Southpip install flask-migratepip install SouthFlask-Migrate is used in Flask-based data applications to manage database schema changes alongside application code. When a SQLAlchemy model changes, engineers run `flask db migrate` to generate a migration script and `flask db upgrade` to apply it — keeping the database schema in sync with the application model in a Git-tracked, reviewable workflow.
Engineers maintaining legacy Django projects running Django 1.6 or earlier use South to manage schema evolution. New projects should use Django's built-in migrations instead. For teams upgrading legacy codebases, South migrations can be converted to Django native migrations using the `manage.py migrate --run-syncdb` workflow.
Individual Tool Pages