From 9f6eb888d9d4cfdddab3e3758a9b8c8eccf5755c Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Wed, 6 May 2026 13:57:49 +0000 Subject: [PATCH] correct casing --- src/app/db/schema/magic_plan/door.ts | 2 +- src/app/db/schema/magic_plan/window.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/db/schema/magic_plan/door.ts b/src/app/db/schema/magic_plan/door.ts index 69523cf..d184818 100644 --- a/src/app/db/schema/magic_plan/door.ts +++ b/src/app/db/schema/magic_plan/door.ts @@ -8,7 +8,7 @@ export const magicPlanDoor = pgTable( roomId: bigint("magic_plan_room_id", { mode: "bigint" }) .notNull() .references(() => magicPlanRoom.id), - width_md: real("width_mm"), + widthMm: real("width_mm"), type: text("type"), }, ); \ No newline at end of file diff --git a/src/app/db/schema/magic_plan/window.ts b/src/app/db/schema/magic_plan/window.ts index 70b65c9..b1be11c 100644 --- a/src/app/db/schema/magic_plan/window.ts +++ b/src/app/db/schema/magic_plan/window.ts @@ -8,9 +8,9 @@ export const magicPlanWindow = pgTable( roomId: bigint("magic_plan_room_id", { mode: "bigint" }) .notNull() .references(() => magicPlanRoom.id), - width_m: real("width_m"), - height_m: real("height_m"), - area_m2: real("area_m2"), - opening_type: text("opening_type"), + widthM: real("width_m"), + heightM: real("height_m"), + areaM2: real("area_m2"), + openingType: text("opening_type"), }, ); \ No newline at end of file