Merge pull request #335 from Hestia-Homes/main-heating-system-migration

Extend MainHeatingSystem PgEnum
This commit is contained in:
Daniel Roth 2026-07-01 08:40:41 +01:00 committed by GitHub
commit c9c1d37b1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11694 additions and 0 deletions

View file

@ -0,0 +1,11 @@
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Electric room heaters' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Solid fuel room heater, closed' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Air source heat pump' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Community heating, boilers' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Community heating, CHP and boilers' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Oil room heater, 2000 or later' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Gas room heater, condensing fire' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Gas room heater, decorative fuel-effect' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Gas room heater, flush live-effect' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Gas room heater, open flue 1980 or later' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Gas room heater, open flue pre-1980' BEFORE 'Unknown';

File diff suppressed because it is too large Load diff

View file

@ -1730,6 +1730,13 @@
"when": 1782730761916,
"tag": "0247_glorious_darkhawk",
"breakpoints": true
},
{
"idx": 248,
"version": "7",
"when": 1782890623660,
"tag": "0248_optimal_bulldozer",
"breakpoints": true
}
]
}

View file

@ -213,6 +213,17 @@ export const MainHeatingSystemValues: [string, ...string[]] = [
"Electric storage heaters, convector",
"Electric storage heaters, fan",
"Direct-acting electric",
"Electric room heaters",
"Solid fuel room heater, closed",
"Air source heat pump",
"Community heating, boilers",
"Community heating, CHP and boilers",
"Oil room heater, 2000 or later",
"Gas room heater, condensing fire",
"Gas room heater, decorative fuel-effect",
"Gas room heater, flush live-effect",
"Gas room heater, open flue 1980 or later",
"Gas room heater, open flue pre-1980",
"Unknown",
];