mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-27 22:45:03 +00:00
Merge pull request #445 from Hestia-Homes/feat/drop-room-in-roof-flattened-cols-1665
feat(db): drop the two superseded flattened room-in-roof columns (Model #1665 follow-up)
This commit is contained in:
commit
82897aa524
4 changed files with 13486 additions and 3 deletions
2
src/app/db/migrations/0277_woozy_prism.sql
Normal file
2
src/app/db/migrations/0277_woozy_prism.sql
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE "epc_building_part" DROP COLUMN "room_in_roof_floor_area";--> statement-breakpoint
|
||||
ALTER TABLE "epc_building_part" DROP COLUMN "room_in_roof_construction_age_band";
|
||||
13472
src/app/db/migrations/meta/0277_snapshot.json
Normal file
13472
src/app/db/migrations/meta/0277_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1933,6 +1933,13 @@
|
|||
"when": 1784798917178,
|
||||
"tag": "0276_romantic_synch",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 277,
|
||||
"version": "7",
|
||||
"when": 1784801404980,
|
||||
"tag": "0277_woozy_prism",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -806,9 +806,11 @@ export const epcBuildingPart = pgTable(
|
|||
// precision to match the other new #1665 floats and keep the round-trip exact.
|
||||
wallUValue: doublePrecision("wall_u_value"),
|
||||
|
||||
// Room in roof (inlined)
|
||||
roomInRoofFloorArea: real("room_in_roof_floor_area"),
|
||||
roomInRoofConstructionAgeBand: text("room_in_roof_construction_age_band"),
|
||||
// Room-in-roof geometry now lives in the epc_room_in_roof /
|
||||
// epc_room_in_roof_surface child tables (Model #1665). The two flattened
|
||||
// columns that used to sit here (room_in_roof_floor_area,
|
||||
// room_in_roof_construction_age_band) were dropped as their redundant
|
||||
// duplicates.
|
||||
|
||||
// Alternative wall 1 (inlined)
|
||||
altWall1Area: real("alt_wall_1_area"),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue