diff --git a/src/app/db/migrations/meta/_journal.json b/src/app/db/migrations/meta/_journal.json index a4e7100..5bcd929 100644 --- a/src/app/db/migrations/meta/_journal.json +++ b/src/app/db/migrations/meta/_journal.json @@ -330,6 +330,13 @@ "when": 1700757960766, "tag": "0046_lonely_jack_flag", "breakpoints": true + }, + { + "idx": 47, + "version": "5", + "when": 1700758121692, + "tag": "0047_curved_psynapse", + "breakpoints": true } ] } \ No newline at end of file diff --git a/src/app/db/schema/materials.ts b/src/app/db/schema/materials.ts index 9c45213..a8a59e9 100644 --- a/src/app/db/schema/materials.ts +++ b/src/app/db/schema/materials.ts @@ -20,13 +20,30 @@ export const MaterialType: [string, ...string[]] = [ "exposed_floor_insulation", "flat_roof_insulation", "room_roof_insulation", + // Non insulation tasks + "iwi_wall_demolition", + "iwi_vapour_barrier", + "iwi_redecoration", + "suspended_floor_demolition", + "suspended_floor_redecoration", + "solid_floor_demolition", + "solid_floor_preparation", + "solid_floor_vapour_barrier", + "solid_floor_redecoration", + "ewi_wall_demolition", + "ewi_wall_preparation", + "ewi_wall_redecoration", ]; export const materialTypeEnum = pgEnum("type", MaterialType); export const DepthUnit: [string, ...string[]] = ["mm"]; export const depthUnitEnum = pgEnum("depth_unit", DepthUnit); -export const CostUnit: [string, ...string[]] = ["gbp_sq_meter", "gbp_per_unit"]; +export const CostUnit: [string, ...string[]] = [ + "gbp_sq_meter", + "gbp_per_unit", + "gbp_per_m2", +]; export const costUnitEnum = pgEnum("cost_unit", CostUnit); export const RValueUnit: [string, ...string[]] = [