forecasting/backend
jtricerolph 1fae3ce60b Fix sync not updating arrival/departure dates on re-sync
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>
2026-07-21 17:23:09 +00:00
..
api Fix sync not updating arrival/departure dates on re-sync 2026-07-21 17:23:09 +00:00
jobs Add weather sync job, API endpoints and settings UI 2026-07-13 21:10:03 +00:00
services Fix sync not updating arrival/departure dates on re-sync 2026-07-21 17:23:09 +00:00
utils Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
auth.py fix: restore app-local API key functions in auth.py 2026-07-04 19:11:00 +00:00
database.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
Dockerfile Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
main.py Remove bookability and competitor rates — moved to Rate Monitor app 2026-07-05 12:14:26 +00:00
requirements.txt Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
scheduler.py Remove old Resos sync path (resos_bookings table) 2026-07-13 21:07:47 +00:00
schema.sql Remove old Resos sync path (resos_bookings table) 2026-07-13 21:07:47 +00:00