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.2.1.tar.gz
(8.4 kB
view hashes)
Built Distribution
Close
Hashes for fastack_migrate-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4dbae985ed27c6a6a3a999f59a3c7741ed7be2e62ec7cb9790011d632efc028 |
|
MD5 | da689e15ea0b7dccb8e41ac6f69f98c9 |
|
BLAKE2b-256 | c401a2d3d12922e6975ba72552ba24265c9d6da88e9de0fb141d5b5c3283bd90 |