forecasting/backend/api
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
..
__init__.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
accuracy.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
ai_insights.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
backtest.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
backup.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
budget.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
config.py Add weather sync job, API endpoints and settings UI 2026-07-13 21:10:03 +00:00
crossref.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
evolution.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
explain.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
export.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
forecast.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
historical.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
public.py Fix cascading InFailedSQLTransactionError in covers forecast 2026-07-21 16:50:09 +00:00
reconciliation.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
reports.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
resos.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
resos_sync.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
special_dates.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
sync.py Add weather sync job, API endpoints and settings UI 2026-07-13 21:10:03 +00:00
sync_bookings.py Fix sync not updating arrival/departure dates on re-sync 2026-07-21 17:23:09 +00:00