Merge pull request #313 from Hestia-Homes/feature/hs-last_submission_date

last_submission_date column on hubspot deals table
This commit is contained in:
Daniel Roth 2026-06-11 10:59:06 +01:00 committed by GitHub
commit 4ea1fa48d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10941 additions and 0 deletions

View file

@ -0,0 +1 @@
ALTER TABLE "hubspot_deal_data" ADD COLUMN "last_submission_date" timestamp (6) with time zone;

File diff suppressed because it is too large Load diff

View file

@ -1611,6 +1611,13 @@
"when": 1781013441630,
"tag": "0230_wet_epoch",
"breakpoints": true
},
{
"idx": 231,
"version": "7",
"when": 1781101526295,
"tag": "0231_bright_loners",
"breakpoints": true
}
]
}

View file

@ -78,6 +78,7 @@ export const hubspotDealData = pgTable("hubspot_deal_data", {
lastContactDate: timestamp("last_contact_date", { precision: 6, withTimezone: true }),
lastOutboundCall: timestamp("last_outbound_call", { precision: 6, withTimezone: true }),
lastOutboundEmail: timestamp("last_outbound_email", { precision: 6, withTimezone: true }),
lastSubmissionDate: timestamp("last_submission_date", { precision: 6, withTimezone: true }),
createdAt: timestamp("created_at", { precision: 6, withTimezone: true })
.defaultNow()