mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
The SQLModel had drifted to a `bill_` prefix on the Bill Derivation block, but the FE-owned Drizzle table uses unprefixed names (`heating_kwh`, `hot_water_kwh` … `total_annual_bill_gbp`) plus a nullable `fuel_rates_period`. INSERTs failed with UndefinedColumn. Rename the columns to mirror the live table column-for- column (the prefix's anti-clash purpose is moot: `heating_kwh` != the recorded `space_heating_kwh`), and add the `fuel_rates_period` column — left None until Bill Derivation threads the snapshot period through. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| chatgpt | ||
| epc_client | ||
| landlord_overrides | ||
| magic_plan | ||
| openai | ||
| postgres | ||
| s3 | ||
| solar | ||
| __init__.py | ||
| address2uprn_queue_client.py | ||
| sqs_client.py | ||