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 details)
Built Distribution
File details
Details for the file fastack-migrate-0.4.0.tar.gz
.
File metadata
- Download URL: fastack-migrate-0.4.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.2 Linux/5.11.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffbeef88b762240b0d2e05681855bf7cde865c9c3d6d073684a9405dc765cca1 |
|
MD5 | a8c3467e3d6e5bc37879191cbdd250e9 |
|
BLAKE2b-256 | 9fd2d788a097abb2a2f40f640756cc711ad336829e3f76bf52f504402215e5f1 |
File details
Details for the file fastack_migrate-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: fastack_migrate-0.4.0-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-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0791e55b109f3db40367c12be784a35fd970238a7db44a8cbae3980bc62e32cb |
|
MD5 | 3528ac0799df2d54acf7f52bf9f0ed06 |
|
BLAKE2b-256 | 3d23ef5e169ae2a0bfb963c20431cf30afc3e4185ac98b0c3454f495d6223057 |