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.17.0.tar.gz
(84.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.17.0.tar.gz.
File metadata
- Download URL: ngits_iot_db-0.17.0.tar.gz
- Upload date:
- Size: 84.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4468ec95c64ada2582498eabd4701a6a9b7911d831dff54559d0862d3d575d9
|
|
| MD5 |
7d3e0d1db02e1304cfeccff3effac25b
|
|
| BLAKE2b-256 |
3d0b502169ba7b39f49283333b23dacae0ca44437d6223e18b2c0884f0fefa84
|
File details
Details for the file ngits_iot_db-0.17.0-py3-none-any.whl.
File metadata
- Download URL: ngits_iot_db-0.17.0-py3-none-any.whl
- Upload date:
- Size: 55.0 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 |
84076a1122201afbf6aae1830ef06f34009228304c7c903821d66e0bcf02511f
|
|
| MD5 |
11d2af6ba01dac075993dcc66739ef49
|
|
| BLAKE2b-256 |
3e979830dc518a06205b04e3de25c8f3ac79c1cf3b219cc6c8f56806d8059d3e
|