Merge pull request #352 from Hestia-Homes/hs-number_of_attempts

Add numberOfAttempts to hubspot deals table
This commit is contained in:
Daniel Roth 2026-07-03 12:16:59 +01:00 committed by GitHub
commit b94feae398
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11791 additions and 0 deletions

View file

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

File diff suppressed because it is too large Load diff

View file

@ -1807,6 +1807,13 @@
"when": 1783009784235,
"tag": "0258_plan_recommendations_rec_id_index",
"breakpoints": true
},
{
"idx": 259,
"version": "7",
"when": 1783075096141,
"tag": "0259_fantastic_rockslide",
"breakpoints": true
}
]
}

View file

@ -80,6 +80,8 @@ export const hubspotDealData = pgTable("hubspot_deal_data", {
lastOutboundEmail: timestamp("last_outbound_email", { precision: 6, withTimezone: true }),
lastSubmissionDate: timestamp("last_submission_date", { precision: 6, withTimezone: true }),
numberOfAttempts: text("number_of_attempts"),
createdAt: timestamp("created_at", { precision: 6, withTimezone: true })
.defaultNow()
.notNull(),