Closed ANIALLATOR114 closed 1 month ago
This pull request adds support for TimescaleDB alongside the existing Postgres database. Key changes include the addition of async_timescale_engine for TimescaleDB operations, updates to the database service functions to handle both databases, and modifications to the documentation, Docker configuration, and settings to reflect the new TimescaleDB support.
Files | Changes |
---|---|
SimplyTransport/lib/db/services.py SimplyTransport/lib/db/timescale_database.py |
Integrated TimescaleDB support by adding async_timescale_engine and updating database service functions to handle both Postgres and TimescaleDB connections. |
README.md docker-compose.yaml SimplyTransport/lib/settings.py |
Updated documentation, Docker configuration, and settings to include TimescaleDB support. |
Summary by Sourcery
Add support for TimescaleDB, update database connection functions and healthcheck endpoint to handle both PostgreSQL and TimescaleDB, and update documentation and docker-compose configuration accordingly.
New Features:
Enhancements:
Build:
Documentation: