address columns notnull

This commit is contained in:
Daniel Roth 2026-04-24 10:25:33 +00:00
parent cb59f435ad
commit 3014136e99

View file

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