ALTER TABLE "landlord_wall_type_overrides" ALTER COLUMN "value" SET DATA TYPE text;--> statement-breakpoint
DROP TYPE "public"."wall_type";--> statement-breakpoint
CREATE TYPE "public"."wall_type" AS ENUM('Cavity wall, filled cavity', 'Cavity wall, as built, insulated (assumed)', 'Cavity wall, as built, no insulation (assumed)', 'Cavity wall, as built, partial insulation (assumed)', 'Cavity wall, with internal insulation', 'Cavity wall, with external insulation', 'Cavity wall, filled cavity and internal insulation', 'Cavity wall, filled cavity and external insulation', 'Solid brick, as built, no insulation (assumed)', 'Solid brick, as built, insulated (assumed)', 'Solid brick, as built, partial insulation (assumed)', 'Solid brick, with internal insulation', 'Solid brick, with external insulation', 'Timber frame, as built, no insulation (assumed)', 'Timber frame, as built, insulated (assumed)', 'Timber frame, as built, partial insulation (assumed)', 'Timber frame, with additional insulation', 'Sandstone, as built, no insulation (assumed)', 'Sandstone, as built, insulated (assumed)', 'Sandstone, as built, partial insulation (assumed)', 'Sandstone, with internal insulation', 'Sandstone, with external insulation', 'Granite or whin, as built, no insulation (assumed)', 'Granite or whin, as built, insulated (assumed)', 'Granite or whin, as built, partial insulation (assumed)', 'Granite or whin, with internal insulation', 'Granite or whin, with external insulation', 'System built, as built, no insulation (assumed)', 'System built, as built, insulated (assumed)', 'System built, as built, partial insulation (assumed)', 'System built, with internal insulation', 'System built, with external insulation', 'Park home wall, as built', 'Park home wall, with internal insulation', 'Park home wall, with external insulation', 'Cob, as built', 'Cob, with internal insulation', 'Cob, with external insulation', 'Curtain wall', 'Curtain Wall, as built, no insulation (assumed)', 'Curtain Wall, as built, insulated (assumed)', 'Curtain Wall, filled cavity', 'Curtain Wall, with internal insulation', 'Basement wall', 'Basement wall, as built', 'Unknown');--> statement-breakpoint
ALTER TABLE "landlord_wall_type_overrides" ALTER COLUMN "value" SET DATA TYPE "public"."wall_type" USING "value"::"public"."wall_type";