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.15.0.tar.gz
(78.5 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.15.0.tar.gz.
File metadata
- Download URL: ngits_iot_db-0.15.0.tar.gz
- Upload date:
- Size: 78.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3ccb1cc491b87fb09c72b0eae26a930143c278885db50e98c0a00b9ea1f1ffb
|
|
| MD5 |
b0a982a88fc648fabc35e047630a8e69
|
|
| BLAKE2b-256 |
6852f9e1011b91a7489845c7d7b095f4060e395f19dd244f34a17a136786af00
|
File details
Details for the file ngits_iot_db-0.15.0-py3-none-any.whl.
File metadata
- Download URL: ngits_iot_db-0.15.0-py3-none-any.whl
- Upload date:
- Size: 51.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3922f892dde844246e83cb0447e99cf7b6a3d62268d973c5cd1d4315f296c04d
|
|
| MD5 |
c405d3d086ae5a2c0ceb00c07147dd2e
|
|
| BLAKE2b-256 |
a3500035f5f5275fcd0284442913e70008829cf8c845d4bda0fa838c8b350fe4
|