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 fastack-migrate
Add the plugin to your project configuration:
PLUGINS = [
"fastack.plugins.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.0.tar.gz
(8.4 kB
view hashes)
Built Distribution
Close
Hashes for fastack_migrate-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8249455e3e5b69ab80063b3416598e0b406ed29ef0ec1cbd8402c6e1ac65ec9b |
|
MD5 | db3f5ea1e1a583b1d402d6dbda31b5cf |
|
BLAKE2b-256 | 8f6e739a3fe2939eb9967b7392956be527bc2c9781cd6b5da698ac7deb8a2da5 |