mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-08-02 21:08:21 +00:00
Revert: drop certificate_number column from property table
We decided the EPC certificate number only needs to travel through the address2uprn pipeline internally and doesn't need a persisted column on property (reverts #362). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
ce6a6ffa2d
commit
3bd63f7b96
4 changed files with 12022 additions and 1 deletions
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE "property" DROP COLUMN "certificate_number";
|
||||
12014
src/app/db/migrations/meta/0265_snapshot.json
Normal file
12014
src/app/db/migrations/meta/0265_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1849,6 +1849,13 @@
|
|||
"when": 1783430551377,
|
||||
"tag": "0264_yummy_master_chief",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 265,
|
||||
"version": "7",
|
||||
"when": 1783433702298,
|
||||
"tag": "0265_drop_property_certificate_number",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -117,7 +117,6 @@ 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", {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue