Merge pull request #341 from Hestia-Homes/water-heating-overrides-migration

Migration to add new water heating types
This commit is contained in:
Daniel Roth 2026-07-01 15:23:38 +01:00 committed by GitHub
commit e63d80dd65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11701 additions and 0 deletions

View 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';

File diff suppressed because it is too large Load diff

View file

@ -1765,6 +1765,13 @@
"when": 1782914873480,
"tag": "0252_sharp_shadowcat",
"breakpoints": true
},
{
"idx": 253,
"version": "7",
"when": 1782915725906,
"tag": "0253_empty_hardball",
"breakpoints": true
}
]
}

View file

@ -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",
];