From 3014136e99af92090f16c5f8a42095ee1cec5139 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Fri, 24 Apr 2026 10:25:33 +0000 Subject: [PATCH] address columns notnull --- src/app/db/schema/property.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/db/schema/property.ts b/src/app/db/schema/property.ts index 3d295e17..c7d8dd1a 100644 --- a/src/app/db/schema/property.ts +++ b/src/app/db/schema/property.ts @@ -435,10 +435,10 @@ export const epcProperty = pgTable( calculationSoftwareVersion: text("calculation_software_version"), // Address - addressLine1: text("address_line_1"), + addressLine1: text("address_line_1").notNull(), addressLine2: text("address_line_2"), - postTown: text("post_town"), - postcode: text("postcode"), + postTown: text("post_town").notNull(), + postcode: text("postcode").notNull(), regionCode: text("region_code"), countryCode: text("country_code"), languageCode: text("language_code"),