change door width to mm

This commit is contained in:
Daniel Roth 2026-05-06 13:56:46 +00:00
parent dd02b7f85d
commit 855cf2a10b

View file

@ -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"),
},
);