Updated schema
This commit is contained in:
parent
d6426b0066
commit
a2b3b7fa6b
1 changed files with 6 additions and 2 deletions
|
|
@ -310,8 +310,8 @@ models:
|
|||
deal regarding its activity. This information is encapsulated in the following columns:
|
||||
|
||||
deal_lifecycle_state: contains one of the following states
|
||||
- 01-New: Deals that have been created in the current month, that are not offboarded.
|
||||
- 02-Never Booked: Deals that have been created before the current month, without bookings, that are not offboarded.
|
||||
- 01-New: Deals that have been created in the current month according to HubSpot, that are not offboarded.
|
||||
- 02-Never Booked: Deals that have been created before the current month, or in the current month but are not in HubSpot, without bookings, that are not offboarded.
|
||||
- 04-Active: Deals that have booking activity in the past 12 months (not reactivated), that are not offboarded.
|
||||
- 05-Churning: Either Deals that are offboarded in that month or Deals that are becoming inactive because of lack of bookings in the past 12 months
|
||||
- 06-Inactive: Either Deals that have been previously offboarded or Deals that have not had a booking for more than 12 months.
|
||||
|
|
@ -488,12 +488,16 @@ models:
|
|||
Effective start date of the deal, this corresponds to the date a deal has
|
||||
gone live according to Hubspot.
|
||||
It can be Null if the deal doesn't appear in HubSpot.
|
||||
data_tests:
|
||||
- not_null
|
||||
- name: effective_deal_start_month
|
||||
data_type: date
|
||||
description: |
|
||||
This field represents the first day of the month of the effective deal
|
||||
start date. This is obtained by truncating the effective deal start date
|
||||
to the month.
|
||||
data_tests:
|
||||
- not_null
|
||||
- name: hubspot_deal_cancellation_date_utc
|
||||
data_type: date
|
||||
description: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue