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