Merge pull request #233 from Hestia-Homes/feature/additional_properties

added more db fields
This commit is contained in:
Jun-te Kim 2026-04-20 16:11:18 +01:00 committed by GitHub
commit efc94ec867
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6963 additions and 0 deletions

View file

@ -0,0 +1,5 @@
ALTER TABLE "hubspot_deal_data" ADD COLUMN "batch" text;--> statement-breakpoint
ALTER TABLE "hubspot_deal_data" ADD COLUMN "block_reference" text;--> statement-breakpoint
ALTER TABLE "hubspot_deal_data" ADD COLUMN "epc_prn" text;--> statement-breakpoint
ALTER TABLE "hubspot_deal_data" ADD COLUMN "potential_post_sap_score_dropdown" text;--> statement-breakpoint
ALTER TABLE "property_removal_requests" ADD COLUMN "original_batch" text;

File diff suppressed because it is too large Load diff

View file

@ -1268,6 +1268,13 @@
"when": 1776683523665,
"tag": "0180_ambitious_jane_foster",
"breakpoints": true
},
{
"idx": 181,
"version": "7",
"when": 1776697748194,
"tag": "0181_concerned_electro",
"breakpoints": true
}
]
}

View file

@ -46,6 +46,10 @@ export const hubspotDealData = pgTable("hubspot_deal_data", {
coordination_comments: text("coordination_comments"),
surveyor: text("surveyor"),
damnpMouldAndRepairComments: text("damp_mould_and_repairs_comments"),
batch: text("batch"),
blockReference: text("block_reference"),
epcPrn: text("epc_prn"),
potentialPostSapScoreDropdown: text("potential_post_sap_score_dropdown"),
confirmedSurveyDate: timestamp("confirmed_survey_date", { precision: 6, withTimezone: true }),
confirmedSurveyTime: text("confirmed_survey_time"),
surveyedDate: timestamp("surveyed_date", { precision: 6, withTimezone: true }),