david kiania
|
4631cc6382
|
feat: fleettickets — INC/CRQ ticket ingestion, geocoding + read-schema
Standalone module extracted from the tracksolid repo (was migrations 21-23 +
tools/import_tickets.py). Owns the `tickets` schema in the shared tracksolid_db.
- migrations/01_tickets_schema.sql: consolidated final-state schema (tickets.inc/
crq raw-jsonb-first, geo_clusters + geo_locations gazetteers, geom trigger,
reporting.fn_tickets_for_map)
- import_tickets.py: rustfs bucket ingest + cluster/location geocoding
(LocationIQ/OpenCage, viewbox-bounded + cluster-distance guard)
- run_migrations.py, shared.py (self-contained), pyproject, .env.example, README
The DB stays in tracksolid_db; dashboard_api keeps serving /webhook/tickets; the
Tickets map stays a FleetOps tab.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-06-11 20:13:50 +03:00 |
|