Merge pull request #212 from Hestia-Homes/feature/add_surveyed_date
Some checks are pending
Next.js Build Check / build (push) Waiting to run

Feature/add surveyed date
This commit is contained in:
Jun-te Kim 2026-04-01 12:11:48 +01:00 committed by GitHub
commit 47fa8f6fca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 12472 additions and 0 deletions

View file

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

View file

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

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1128,6 +1128,20 @@
"when": 1774970639805,
"tag": "0160_slimy_polaris",
"breakpoints": true
},
{
"idx": 161,
"version": "7",
"when": 1775041707059,
"tag": "0161_fresh_taskmaster",
"breakpoints": true
},
{
"idx": 162,
"version": "7",
"when": 1775041844023,
"tag": "0162_powerful_paladin",
"breakpoints": true
}
]
}

View file

@ -34,6 +34,7 @@ export const hubspotDealData = pgTable("hubspot_deal_data", {
proposedMeasures: text("proposed_measures"),
approvedPackage: text("approved_package"),
designer: text("designer"),
dealType: text("design_type"),
designCompletionDate: timestamp("design_completion_date", { precision: 6, withTimezone: true }),
actualMeasuresInstalled: text("actual_measures_installed"),
installer: text("installer"),
@ -45,6 +46,7 @@ export const hubspotDealData = pgTable("hubspot_deal_data", {
surveyor: text("surveyor"),
confirmedSurveyDate: timestamp("confirmed_survey_date", { precision: 6, withTimezone: true }),
confirmedSurveyTime: text("confirmed_survey_time"),
SurveyedDate: timestamp("surveyed_date", { precision: 6, withTimezone: true }),
createdAt: timestamp("created_at", { precision: 6, withTimezone: true })
.defaultNow()