forecasting/backend
jtricerolph effad0a4e2 Fix schema: add missing tables and correct forecast_snapshots structure
- Add booking_com_hotels and booking_com_rates (competitor rate scraper tables)
- Fix forecast_snapshots: was using old pivoted schema (snapshot_date,
  prophet_value etc.); code expects normalised rows (perception_date, model,
  forecast_value, actual_value). Add DO block migration to drop+recreate if
  old schema is detected.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-05 09:28:52 +00:00
..
api Patch fetch_room_categories and fetch_gl_accounts to use central NewBook creds 2026-07-05 09:26:49 +00:00
jobs NewBook credentials from central Settings service 2026-07-04 19:36:41 +00:00
services NewBook credentials from central Settings service 2026-07-04 19:36:41 +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 Fix schema init: use psycopg2 directly to bypass SQLAlchemy param parsing 2026-07-05 09:18:37 +00:00
requirements.txt Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
scheduler.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
schema.sql Fix schema: add missing tables and correct forecast_snapshots structure 2026-07-05 09:28:52 +00:00