Merge pull request #362 from Hestia-Homes/feat/property-certificate-number

Add certificate_number column to property table
This commit is contained in:
Jun-te Kim 2026-07-07 14:14:52 +01:00 committed by GitHub
commit 4ab153ad59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11809 additions and 0 deletions

View file

@ -0,0 +1 @@
ALTER TABLE "property" ADD COLUMN "certificate_number" text;

File diff suppressed because it is too large Load diff

View file

@ -1835,6 +1835,13 @@
"when": 1783420235209,
"tag": "0262_wandering_nocturne",
"breakpoints": true
},
{
"idx": 263,
"version": "7",
"when": 1783425021407,
"tag": "0263_add_property_certificate_number",
"breakpoints": true
}
]
}

View file

@ -117,6 +117,7 @@ export const property = pgTable(
creationStatus: propertyCreationStatusEnum("creation_status").notNull(),
uprn: bigint("uprn", { mode: "bigint" }),
certificateNumber: text("certificate_number"),
landlordPropertyId: text("landlord_property_id"),
buildingReferenceNumber: bigint("building_reference_number", {