ON CONFLICT clause was missing arrival_date, departure_date, nights, and room_number — so early checkouts (where NewBook updates booking_departure to the actual checkout date) never propagated to the DB columns. Reverts the COUNT(DISTINCT) workaround since the root cause is now fixed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| forecasting | ||
| scraper_backends | ||
| __init__.py | ||
| backup_service.py | ||
| booking_scraper.py | ||
| central_settings.py | ||
| newbook_client.py | ||
| newbook_rates_client.py | ||
| reconciliation_service.py | ||
| resos_client.py | ||