diff --git a/src/app/db/schema/magic_plan/door.ts b/src/app/db/schema/magic_plan/door.ts index f4770227..69523cfb 100644 --- a/src/app/db/schema/magic_plan/door.ts +++ b/src/app/db/schema/magic_plan/door.ts @@ -4,11 +4,11 @@ import { magicPlanRoom } from "./room"; export const magicPlanDoor = pgTable( "magic_plan_door", { - id: bigserial("id", { mode: "bigint" }).primaryKey(), - roomId: bigint("magic_plan_room_id", { mode: "bigint" }) + id: bigserial("id", { mode: "bigint" }).primaryKey(), + roomId: bigint("magic_plan_room_id", { mode: "bigint" }) .notNull() .references(() => magicPlanRoom.id), - width_m: real("width_m"), - type: text("type"), + width_md: real("width_mm"), + type: text("type"), }, ); \ No newline at end of file