Merge pull request #357 from Hestia-Homes/feature/hubspot_deal_data_migration

add client booking reference to hubspot deal data
This commit is contained in:
Daniel Roth 2026-07-07 09:47:01 +01:00 committed by GitHub
commit 27254e7622
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11797 additions and 0 deletions

View file

@ -0,0 +1 @@
ALTER TABLE "hubspot_deal_data" ADD COLUMN "client_booking_reference" text;

File diff suppressed because it is too large Load diff

View file

@ -1821,6 +1821,13 @@
"when": 1783345567793,
"tag": "0260_natural_enchantress",
"breakpoints": true
},
{
"idx": 261,
"version": "7",
"when": 1783352788862,
"tag": "0261_fixed_excalibur",
"breakpoints": true
}
]
}

View file

@ -81,6 +81,7 @@ export const hubspotDealData = pgTable("hubspot_deal_data", {
lastSubmissionDate: timestamp("last_submission_date", { precision: 6, withTimezone: true }),
numberOfAttempts: text("number_of_attempts"),
clientBookingReference: text("client_booking_reference"),
createdAt: timestamp("created_at", { precision: 6, withTimezone: true })
.defaultNow()