mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-30 12:55:02 +00:00
new table for new deal proeprties we want
This commit is contained in:
parent
e974aef858
commit
c2b7e00075
4 changed files with 10940 additions and 0 deletions
4
src/app/db/migrations/0229_lively_kree.sql
Normal file
4
src/app/db/migrations/0229_lively_kree.sql
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
ALTER TABLE "hubspot_deal_data" ADD COLUMN "date_booking_made" timestamp (6) with time zone;--> statement-breakpoint
|
||||
ALTER TABLE "hubspot_deal_data" ADD COLUMN "last_contact_date" timestamp (6) with time zone;--> statement-breakpoint
|
||||
ALTER TABLE "hubspot_deal_data" ADD COLUMN "last_outbound_call" timestamp (6) with time zone;--> statement-breakpoint
|
||||
ALTER TABLE "hubspot_deal_data" ADD COLUMN "last_outbound_email" timestamp (6) with time zone;
|
||||
10924
src/app/db/migrations/meta/0229_snapshot.json
Normal file
10924
src/app/db/migrations/meta/0229_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1597,6 +1597,13 @@
|
|||
"when": 1780910657380,
|
||||
"tag": "0228_deep_betty_ross",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 229,
|
||||
"version": "7",
|
||||
"when": 1780929304935,
|
||||
"tag": "0229_lively_kree",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -74,6 +74,11 @@ export const hubspotDealData = pgTable("hubspot_deal_data", {
|
|||
domnaSurveyType: text("domna_survey_type"),
|
||||
domnaSurveyDate: timestamp("domna_survey_date", { precision: 6, withTimezone: true }),
|
||||
|
||||
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 }),
|
||||
lastOutboundEmail: timestamp("last_outbound_email", { precision: 6, withTimezone: true }),
|
||||
|
||||
createdAt: timestamp("created_at", { precision: 6, withTimezone: true })
|
||||
.defaultNow()
|
||||
.notNull(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue