diff --git a/src/app/db/schema/property.ts b/src/app/db/schema/property.ts index c7d8dd1a..132721bc 100644 --- a/src/app/db/schema/property.ts +++ b/src/app/db/schema/property.ts @@ -416,10 +416,10 @@ export const epcProperty = pgTable( { id: bigserial("id", { mode: "bigint" }).primaryKey(), propertyId: bigint("property_id", { mode: "bigint" }) - .notNull() + // .notNull() .references(() => property.id), portfolioId: bigint("portfolio_id", { mode: "bigint" }) - .notNull() + // .notNull() .references(() => portfolio.id), // Identity / admin