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.0.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for fastack_migrate-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0791e55b109f3db40367c12be784a35fd970238a7db44a8cbae3980bc62e32cb |
|
MD5 | 3528ac0799df2d54acf7f52bf9f0ed06 |
|
BLAKE2b-256 | 3d23ef5e169ae2a0bfb963c20431cf30afc3e4185ac98b0c3454f495d6223057 |