Merge pull request #314 from Hestia-Homes/feature/new-hs-deal-cols

Add "osmosis_survey_required" to hs deal table
This commit is contained in:
Daniel Roth 2026-06-15 09:57:10 +01:00 committed by GitHub
commit 462cd36c3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10949 additions and 1 deletions

View file

@ -0,0 +1 @@
ALTER TABLE "hubspot_deal_data" ADD COLUMN "osmosis_survey_required" boolean;

File diff suppressed because it is too large Load diff

View file

@ -1618,6 +1618,13 @@
"when": 1781101526295,
"tag": "0231_bright_loners",
"breakpoints": true
},
{
"idx": 232,
"version": "7",
"when": 1781513516132,
"tag": "0232_wet_lifeguard",
"breakpoints": true
}
]
}

View file

@ -57,7 +57,7 @@ export const hubspotDealData = pgTable("hubspot_deal_data", {
eiScore: text("ei_score"),
eiScorePotential: text("ei_score__potential_"),
epcSapScore: text("epc_sap_score"),
epcSapScorePotential: text("epc_sap_score__potential_"),
epcSapScorePotential: text("epc_sap_score__potential_"), // This is being replaced by potentialPostSapScoreDropdown ^
confirmedSurveyDate: timestamp("confirmed_survey_date", { precision: 6, withTimezone: true }),
confirmedSurveyTime: text("confirmed_survey_time"),
surveyedDate: timestamp("surveyed_date", { precision: 6, withTimezone: true }),
@ -74,6 +74,8 @@ export const hubspotDealData = pgTable("hubspot_deal_data", {
domnaSurveyType: text("domna_survey_type"),
domnaSurveyDate: timestamp("domna_survey_date", { precision: 6, withTimezone: true }),
osmosisSurveyRequired: boolean("osmosis_survey_required"),
dateBookingMade: timestamp("date_booking_made", { precision: 6, withTimezone: true }),
lastContactDate: timestamp("last_contact_date", { precision: 6, withTimezone: true }),
lastOutboundCall: timestamp("last_outbound_call", { precision: 6, withTimezone: true }),