Merge pull request #344 from Hestia-Homes/various-migrations

Various migrations
This commit is contained in:
Daniel Roth 2026-07-02 09:57:42 +01:00 committed by GitHub
commit 5f669046f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11721 additions and 0 deletions

View file

@ -0,0 +1,9 @@
ALTER TYPE "public"."main_fuel" ADD VALUE 'wood logs' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Solid fuel room heater, open fire' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Solid fuel room heater, open fire with back boiler' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Solid fuel room heater, closed with boiler' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Electric boiler' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Electric CPSU' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Electric underfloor, in concrete slab (off-peak)' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Electric underfloor, integrated storage and direct-acting' BEFORE 'Unknown';--> statement-breakpoint
ALTER TYPE "public"."main_heating_system" ADD VALUE 'Electric underfloor, in screed above insulation' BEFORE 'Unknown';

File diff suppressed because it is too large Load diff

View file

@ -1779,6 +1779,13 @@
"when": 1782917026626,
"tag": "0254_calm_marvel_boy",
"breakpoints": true
},
{
"idx": 255,
"version": "7",
"when": 1782981990785,
"tag": "0255_futuristic_mattie_franklin",
"breakpoints": true
}
]
}

View file

@ -165,6 +165,7 @@ export const MainFuelValues: [string, ...string[]] = [
"smokeless coal",
"dual fuel (mineral and wood)",
"biomass (community)",
"wood logs",
"Unknown",
];
@ -246,6 +247,14 @@ export const MainHeatingSystemValues: [string, ...string[]] = [
"Gas room heater, open flue 1980 or later",
"Gas room heater, open flue pre-1980",
"Electric storage heaters, high heat retention",
"Solid fuel room heater, open fire",
"Solid fuel room heater, open fire with back boiler",
"Solid fuel room heater, closed with boiler",
"Electric boiler",
"Electric CPSU",
"Electric underfloor, in concrete slab (off-peak)",
"Electric underfloor, integrated storage and direct-acting",
"Electric underfloor, in screed above insulation",
"Unknown",
];