mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
added windows details to energy assessment data
This commit is contained in:
parent
443a2ce784
commit
b1ffa06e54
4 changed files with 2539 additions and 0 deletions
2
src/app/db/migrations/0079_chemical_power_pack.sql
Normal file
2
src/app/db/migrations/0079_chemical_power_pack.sql
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE "energy_assessments" ADD COLUMN "number_of_windows" integer;--> statement-breakpoint
|
||||
ALTER TABLE "energy_assessments" ADD COLUMN "windows_area" real;
|
||||
2528
src/app/db/migrations/meta/0079_snapshot.json
Normal file
2528
src/app/db/migrations/meta/0079_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -554,6 +554,13 @@
|
|||
"when": 1722006251030,
|
||||
"tag": "0078_chubby_marrow",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 79,
|
||||
"version": "5",
|
||||
"when": 1722007913448,
|
||||
"tag": "0079_chemical_power_pack",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -136,6 +136,8 @@ export const energyAssessment = pgTable("energy_assessments", {
|
|||
cylinderInsulationThickness: integer("cylinder_insulation_thickness"),
|
||||
cylinderThermostat: boolean("cylinder_thermostat"),
|
||||
main_dwelling_ground_floor_area: real("main_dwelling_ground_floor_area"),
|
||||
number_of_windows: integer("number_of_windows"),
|
||||
windows_area: real("windows_area"),
|
||||
});
|
||||
|
||||
// Types for the new table
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue