fastack-migrate-0.4.2
توضیحات
Database migrations tool for Fastack
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fastack-migrate-0.4.2 |
| نام | fastack-migrate |
| نسخه کتابخانه | 0.4.2 |
| نگهدارنده | ['aprilahijriyan'] |
| ایمیل نگهدارنده | ['37798612+aprilahijriyan@users.noreply.github.com'] |
| نویسنده | aprilahijriyan |
| ایمیل نویسنده | 37798612+aprilahijriyan@users.noreply.github.com |
| آدرس صفحه اصلی | https://github.com/fastack-dev/fastack-migrate |
| آدرس اینترنتی | https://pypi.org/project/fastack-migrate/ |
| مجوز | MIT |
# fastack-migrate
fastack-migrate is a database migration tool for [fastack](https://github.com/fastack-dev/fastack).
This is a fork of [flask-migrate](https://github.com/miguelgrinberg/Flask-Migrate)!
# Usage
Install plugin:
```
pip install -U fastack-migrate
```
Add the plugin to your project configuration:
```python
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/
نیازمندی
| مقدار | نام |
|---|---|
| >=1.7.5,<2.0.0 | alembic |
| >=4.5.0,<5.0.0 | fastack |
| >=0.4.0,<0.5.0 | fastack-sqlmodel |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<3.10 | Python |
نحوه نصب
نصب پکیج whl fastack-migrate-0.4.2:
pip install fastack-migrate-0.4.2.whl
نصب پکیج tar.gz fastack-migrate-0.4.2:
pip install fastack-migrate-0.4.2.tar.gz