db changes
This commit is contained in:
@@ -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: "" }),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user