edwh-migrate-0.4.1
توضیحات
Helps migrating database schema changes using pydal.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | edwh-migrate-0.4.1 |
| نام | edwh-migrate |
| نسخه کتابخانه | 0.4.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Remco <remco@educationwarehouse.nl> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/edwh-migrate/ |
| مجوز | - |
# Educationwarehouse's Migrate
[](https://pypi.org/project/-)
[](https://pypi.org/project/-)
-----
**Table of Contents**
- [Installation](#installation)
- [License](#license)
## Installation
```console
pip install edwh-migrate
```
## Documentation
### Environment variables
* `MIGRATE_URI`: regular `postgres://user:password@host:port/database` or `sqlite:///path/to/database` URI
* `DATABASE_TO_RESTORE`: path to a (compressed) SQL file to restore. `.xz`,`.gz` and `.sql` are supported.
* `MIGRATE_CAT_COMMAND`: for unsupported compression formats, this command decompresses the file and produces sql on the stdout.
* `SCHEMA_VERSION`: Used in case of schema versioning. Set by another process.
* `REDIS_HOST`: If set, all keys of the redis database 0 will be removed.
## License
`-` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
نیازمندی
| مقدار | نام |
|---|---|
| - | plumbum |
| - | psycopg2-binary |
| - | pydal>=20221110.1 |
| - | redis |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl edwh-migrate-0.4.1:
pip install edwh-migrate-0.4.1.whl
نصب پکیج tar.gz edwh-migrate-0.4.1:
pip install edwh-migrate-0.4.1.tar.gz