database uri
You can set database uri by setting IOT_DATABASE_URL variable.
export IOT_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/iot_local
make migrations
alembic revision --autogenerate -m "Migration message."
upgrade
# upgrade all
alembic upgrade head
# upgrade all to specific migration
alembic upgrade <revision_id>
downgrade
# downgrade all
alembic downgrade base
# downgrade all to specific migration
alembic downgrade <revision_id>
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ngits_iot_db-0.16.1.tar.gz
(80.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ngits_iot_db-0.16.1.tar.gz.
File metadata
- Download URL: ngits_iot_db-0.16.1.tar.gz
- Upload date:
- Size: 80.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0a64bb86e158f042805b72c35abc5f0f028846ecab29a2f92c896c84e19843f
|
|
| MD5 |
3675fea658956e1aa59dcac146f1c90c
|
|
| BLAKE2b-256 |
f8de4b5d4c4efd2a4e28b10101fe9967138bbf2618f8868e3fda61b99e38bbd8
|
File details
Details for the file ngits_iot_db-0.16.1-py3-none-any.whl.
File metadata
- Download URL: ngits_iot_db-0.16.1-py3-none-any.whl
- Upload date:
- Size: 51.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a00291a6724609540ec48ed540e6e2f18f1403e575d4ed3515cddc210b9e7a0
|
|
| MD5 |
c634bb7a03274229c3ed0719a13cde22
|
|
| BLAKE2b-256 |
71af248345cf56eda0d04ac37d7d2a3fdaec98a36725ff5bb8404d6a4cc81055
|