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> |
||
|---|---|---|
| .. | ||
| modelling | ||
| __init__.py | ||
| bulk_address_upload_table.py | ||
| config.py | ||
| engine.py | ||
| epc_property_table.py | ||
| landlord_built_form_type_override_table.py | ||
| landlord_override_enums.py | ||
| landlord_property_type_override_table.py | ||
| landlord_roof_type_override_table.py | ||
| landlord_wall_type_override_table.py | ||
| magic_plan_tables.py | ||
| product_table.py | ||
| property_baseline_performance_table.py | ||
| property_details_spatial_table.py | ||
| property_override_table.py | ||
| property_table.py | ||
| solar_table.py | ||
| subtask_table.py | ||
| task_table.py | ||
| uploaded_file_table.py | ||