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.0.tar.gz
(79.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.16.0.tar.gz.
File metadata
- Download URL: ngits_iot_db-0.16.0.tar.gz
- Upload date:
- Size: 79.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 |
17faae6702ed231bf9f70f0e8cba78a29da469bf3db31561350503a9e256ad38
|
|
| MD5 |
1ae9dca2fce0fde20ca951cd1ccfa27f
|
|
| BLAKE2b-256 |
6cfe726f9b73c040865f8ff1fa8733620a56a2eb42fe7b627304574b1919fba9
|
File details
Details for the file ngits_iot_db-0.16.0-py3-none-any.whl.
File metadata
- Download URL: ngits_iot_db-0.16.0-py3-none-any.whl
- Upload date:
- Size: 51.6 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 |
150bfc0604f6823b3051a2cb9a5d44678dd22a71a70b5d6188f3c78f8c6ce688
|
|
| MD5 |
c169828dc9bc79b3dd76d69f38b417f6
|
|
| BLAKE2b-256 |
db9e831019f17302eab6d217bac3865450f0a67107fda2143e6cf8a711ca7531
|