mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
added estimated boolean to property details epc table
This commit is contained in:
parent
1fbaeae85a
commit
6be23db727
4 changed files with 1463 additions and 0 deletions
1
src/app/db/migrations/0059_wonderful_sharon_carter.sql
Normal file
1
src/app/db/migrations/0059_wonderful_sharon_carter.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE "property_details_epc" ADD COLUMN "estimated" boolean DEFAULT false;
|
||||
1454
src/app/db/migrations/meta/0059_snapshot.json
Normal file
1454
src/app/db/migrations/meta/0059_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -414,6 +414,13 @@
|
|||
"when": 1703082901714,
|
||||
"tag": "0058_aromatic_valeria_richards",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 59,
|
||||
"version": "5",
|
||||
"when": 1704358571887,
|
||||
"tag": "0059_wonderful_sharon_carter",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -164,6 +164,7 @@ export const propertyDetailsEpc = pgTable("property_details_epc", {
|
|||
primaryEnergyConsumption: real("primary_energy_consumption"),
|
||||
co2Emissions: real("co2_emissions"),
|
||||
adjustedEnergyConsumption: real("adjusted_energy_consumption"),
|
||||
estimated: boolean("estimated").default(false),
|
||||
});
|
||||
|
||||
export const propertyDetailsSpatial = pgTable("property_details_spatial", {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue