mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
added envronment impact to db
This commit is contained in:
parent
a41f18fb07
commit
0fbe5a2a6d
4 changed files with 6342 additions and 0 deletions
1
src/app/db/migrations/0167_wise_agent_zero.sql
Normal file
1
src/app/db/migrations/0167_wise_agent_zero.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE "property_details_epc" ADD COLUMN "environment_impact_current" real;
|
||||
6332
src/app/db/migrations/meta/0167_snapshot.json
Normal file
6332
src/app/db/migrations/meta/0167_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1170,6 +1170,13 @@
|
|||
"when": 1775658752820,
|
||||
"tag": "0166_melodic_crusher_hogan",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 167,
|
||||
"version": "7",
|
||||
"when": 1775747945070,
|
||||
"tag": "0167_wise_agent_zero",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -269,6 +269,8 @@ export const propertyDetailsEpc = pgTable(
|
|||
lodgedCo2Emissions: real("lodged_co2_emissions"),
|
||||
lodgedHeatDemand: real("lodged_heat_demand"),
|
||||
hasBeenRemodelled: boolean("has_been_remodelled").default(false),
|
||||
// additional fields
|
||||
environment_impact_current: real("environment_impact_current"),
|
||||
},
|
||||
(table) => [
|
||||
uniqueIndex("uq_property_details_epc_property_portfolio").on(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue