db changes

This commit is contained in:
2025-12-07 17:11:26 +01:00
parent 0f3c8c862f
commit 76e40cd9e1
6 changed files with 27 additions and 27 deletions

View File

@@ -27,13 +27,13 @@ export const spaces = pgTable("spaces", {
.notNull()
.references(() => tenants.id),
spaceNumber: text("spaceNumber").notNull(),
space_number: text("spaceNumber").notNull(),
parentSpace: bigint("parentSpace", { mode: "number" }).references(
() => spaces.id
),
infoData: jsonb("infoData")
info_data: jsonb("infoData")
.notNull()
.default({ zip: "", city: "", streetNumber: "" }),