{"categories":[{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends"}],"enrichment":{"capability":"Flask-Migrate handles SQLAlchemy database migrations for Flask applications using Alembic, exposing migration operations as `flask db` command-line commands.","skillfed_tags":["database-migrations","flask-extension","schema-versioning"],"use_cases":["Track and version database schema changes alongside your Flask application code in Git.","Automate deployment of schema changes across development, staging, and production environments.","Collaborate on database changes in a team by sharing migration scripts through version control.","Rollback or replay database changes by running specific migration scripts in sequence.","Initialize a new Flask application with an empty database and a migrations folder ready for future changes."],"what_it_does":"Flask-Migrate is a Flask extension that wraps Alembic to manage SQLAlchemy database schema changes. It exposes migration operations through the `flask db` command-line interface, letting you initialize migrations, generate migration scripts from model changes, and apply those changes to your database. The package integrates directly with Flask and Flask-SQLAlchemy, so you initialize it by passing your app and database instance to the Migrate class.\n\nThe typical workflow is: run `flask db init` once to set up a migrations folder, then `flask db migrate` each time your models change (which generates a migration script you should review), and `flask db upgrade` to apply pending migrations to your database. Migration scripts are meant to be version-controlled alongside your source code. The package is actively maintained, has no known vulnerabilities, and depends only on Flask, Flask-SQLAlchemy, and alembic.","worth_installing":"Yes. Flask-Migrate is the standard, actively maintained tool for database migrations in Flask applications. It has low install friction, no security vulnerabilities, permissive licensing, and solves a core problem in Flask development. Install it if you are building a Flask app with SQLAlchemy and need to manage schema changes over time."},"id":"flask-migrate","links":{"html":"https://skillfed.io/packages/flask-migrate","md":"https://skillfed.io/packages/flask-migrate.md","pypi":"https://pypi.org/project/flask-migrate/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-01-10","license_spdx":null,"license_treatment":"permissive","name":"Flask-Migrate","python_support":"supports_current","summary":"SQLAlchemy database migrations for Flask applications using Alembic."},"popularity":{"monthly_downloads":5687736,"position":2052,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.1.0"}
