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

more hubspot deal data
This commit is contained in:
Jun-te Kim 2026-04-20 16:41:31 +01:00 committed by GitHub
commit 807c8e1071
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6986 additions and 0 deletions

View file

@ -0,0 +1,4 @@
ALTER TABLE "hubspot_deal_data" ADD COLUMN "ei_score" text;--> statement-breakpoint
ALTER TABLE "hubspot_deal_data" ADD COLUMN "ei_score__potential_" text;--> statement-breakpoint
ALTER TABLE "hubspot_deal_data" ADD COLUMN "epc_sap_score" text;--> statement-breakpoint
ALTER TABLE "hubspot_deal_data" ADD COLUMN "epc_sap_score__potential_" text;

File diff suppressed because it is too large Load diff

View file

@ -1275,6 +1275,13 @@
"when": 1776697748194,
"tag": "0181_concerned_electro",
"breakpoints": true
},
{
"idx": 182,
"version": "7",
"when": 1776699608018,
"tag": "0182_messy_calypso",
"breakpoints": true
}
]
}

View file

@ -50,6 +50,10 @@ export const hubspotDealData = pgTable("hubspot_deal_data", {
blockReference: text("block_reference"),
epcPrn: text("epc_prn"),
potentialPostSapScoreDropdown: text("potential_post_sap_score_dropdown"),
eiScore: text("ei_score"),
eiScorePotential: text("ei_score__potential_"),
epcSapScore: text("epc_sap_score"),
epcSapScorePotential: text("epc_sap_score__potential_"),
confirmedSurveyDate: timestamp("confirmed_survey_date", { precision: 6, withTimezone: true }),
confirmedSurveyTime: text("confirmed_survey_time"),
surveyedDate: timestamp("surveyed_date", { precision: 6, withTimezone: true }),