assessment-model/src
Khalim Conn-Kowlessar eb823d3296 feat(db): drop the two superseded flattened room-in-roof columns
The full room-in-roof geometry now lives in the epc_room_in_roof /
epc_room_in_roof_surface child tables (#443 / Model #1665). The two flattened
columns on epc_building_part -- room_in_roof_floor_area and
room_in_roof_construction_age_band -- are redundant duplicates of
epc_room_in_roof.floor_area / construction_age_band and are no longer read or
written by the Model backend. No TS code in this repo references them either.

No data migration: the values already live in epc_room_in_roof for re-ingested
properties.

  ALTER TABLE epc_building_part DROP COLUMN room_in_roof_floor_area;
  ALTER TABLE epc_building_part DROP COLUMN room_in_roof_construction_age_band;

⚠️ Deploy ordering (destructive): apply this ONLY after the Model backend that
no longer writes these columns is deployed to every environment. Dropping them
while a backend that still writes them is live breaks every EPC save.

Refs Hestia-Homes/Model#1665

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 10:16:54 +00:00
..
app feat(db): drop the two superseded flattened room-in-roof columns 2026-07-23 10:16:54 +00:00
lib Merge origin/main into issue-418-programme-dashboard 2026-07-23 09:43:46 +00:00
types next js 2025-12-08 12:20:07 +00:00
utils feat(dates): restore a calendar picker behind DateInput 2026-07-22 15:39:11 +00:00
middleware.test.ts fix(ara-projects): require user onboarding before /projects 2026-07-21 16:08:47 +00:00
middleware.ts fix(ara-projects): require user onboarding before /projects 2026-07-21 16:08:47 +00:00