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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file fastack-migrate-0.4.2.tar.gz.

File metadata

  • Download URL: fastack-migrate-0.4.2.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.8.2 Linux/5.11.0-1028-azure

File hashes

Hashes for fastack-migrate-0.4.2.tar.gz
Algorithm Hash digest
SHA256 f96c073c0e372efe92b78e3b3932b5811d6e4785e992780348ed5847c9e49e99
MD5 277de9196677687def063ffbb56d2552
BLAKE2b-256 54c69936cdfb23fa0bacefacc0faa16be9ace9a04e0a2b4072a979e2469dfb5d

See more details on using hashes here.

File details

Details for the file fastack_migrate-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: fastack_migrate-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.8.2 Linux/5.11.0-1028-azure

File hashes

Hashes for fastack_migrate-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9daada37376809af2e85b6fe655cac4bf7654cb33ac79b95e117bae4d8a63b6f
MD5 8fd599ad95675d4ff2a047a5756c06d8
BLAKE2b-256 3e71906044e0c446afddf1026010b7a788a775f338ca3444438d641d63e88447

See more details on using hashes here.

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