Skip to main content

Database migrations tool for Fastack

Project description

fastack-migrate

fastack-migrate is a database migration tool for fastack.

This is a fork of flask-migrate!

Usage

Install plugin:

pip install -U fastack-migrate

Add the plugin to your project configuration:

PLUGINS = [
    "fastack_sqlmodel",
    "fastack_migrate",
    ...
]

And initialize your project with alembic template:

fastack db init

Then check if there are any changes in app.models:

fastack db migrate

Update all changes in app.models:

fastack db upgrade

For more, please visit https://flask-migrate.readthedocs.io/en/latest/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastack-migrate-0.4.2.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

fastack_migrate-0.4.2-py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page