mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-19 17:02:59 +00:00
Merge pull request #341 from Hestia-Homes/water-heating-overrides-migration
Migration to add new water heating types
This commit is contained in:
commit
e63d80dd65
4 changed files with 11701 additions and 0 deletions
4
src/app/db/migrations/0253_empty_hardball.sql
Normal file
4
src/app/db/migrations/0253_empty_hardball.sql
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
ALTER TYPE "public"."water_heating" ADD VALUE 'From main system, wood logs' BEFORE 'Unknown';--> statement-breakpoint
|
||||
ALTER TYPE "public"."water_heating" ADD VALUE 'From main system, biomass (community)' BEFORE 'Unknown';--> statement-breakpoint
|
||||
ALTER TYPE "public"."water_heating" ADD VALUE 'From main system, dual fuel (mineral and wood)' BEFORE 'Unknown';--> statement-breakpoint
|
||||
ALTER TYPE "public"."water_heating" ADD VALUE 'From main system, biodiesel (community)' BEFORE 'Unknown';
|
||||
11686
src/app/db/migrations/meta/0253_snapshot.json
Normal file
11686
src/app/db/migrations/meta/0253_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1765,6 +1765,13 @@
|
|||
"when": 1782914873480,
|
||||
"tag": "0252_sharp_shadowcat",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 253,
|
||||
"version": "7",
|
||||
"when": 1782915725906,
|
||||
"tag": "0253_empty_hardball",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -215,6 +215,10 @@ export const WaterHeatingValues: [string, ...string[]] = [
|
|||
"From main system, house coal",
|
||||
"Electric immersion, electricity",
|
||||
"Gas boiler/circulator, mains gas",
|
||||
"From main system, wood logs",
|
||||
"From main system, biomass (community)",
|
||||
"From main system, dual fuel (mineral and wood)",
|
||||
"From main system, biodiesel (community)",
|
||||
"Unknown",
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue