Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| lead_lifetime_id | int8 | 19 | null |
|
|
Primary key of this table. Equals |
|||||
| organization_unit_id | int8 | 19 | √ | null |
|
|
The gym (organization_unit) where the lead was initiated at (locally or online). |
||||
| customer_id | int8 | 19 | √ | null |
|
|
The customer this lead journey belongs to. Every customer has exactly one row. |
||||
| campaign_id | int8 | 19 | √ | null |
|
|
The campaign the lead was associated with or |
||||
| lead_start_date_time | timestamp | 29,6 | √ | null |
|
|
Local timestamp in studio timezone when the lead process started. For |
||||
| lead_start_date | date | 13 | √ | null |
|
|
Local date in studio timezone when the lead process started. For |
||||
| lead_finish_date_time | timestamp | 29,6 | √ | null |
|
|
Local timestamp in studio timezone when the lead process ended (win or loss). For |
||||
| lead_finish_date | date | 13 | √ | null |
|
|
Local date in studio timezone when the lead process ended. For |
||||
| lead_source | varchar | 65535 | √ | null |
|
|
How this row’s dates are sourced. One of: * |
||||
| lead_status | varchar | 65535 | √ | null |
|
|
The final status of the lead process. One of: * |
||||
| lead_classification | varchar | 65535 | √ | null |
|
|
The current classification assigned to the lead, such as HOT or COLD. NULL when the lead has not been classified or for fallback rows. |
||||
| source_campaign | varchar | 65535 | √ | null |
|
|
DEPRECATED! Use campaign_id. The name of a campaign the lead was associated with. Or |
||||
| loss_reason | varchar | 65535 | √ | null |
|
|
The reason picked if the lead was set to |
||||
| lead_stage_id | int8 | 19 | √ | null |
|
|
The current stage the lead is in, as configured in the studio’s lead pipeline. |
||||
| first_seen_date | timestamptz | 35 | √ | null |
|
|
UTC timestamp when a staff member first opened/viewed this lead. |
||||
| progress_started_date | timestamptz | 35 | √ | null |
|
|
UTC timestamp when the first meaningful action was taken on this lead (e.g. moved on the pipeline board, contacted). |
||||
| last_contact_date | timestamptz | 35 | √ | null |
|
|
UTC timestamp of the most recent contact attempt with this lead. |
||||
| last_updated | timestamptz | 35 | √ | null |
|
|
System column. UTC Timestamp at which entry was calculated (lags shortly behind source system). |
||||
| data_landing_time | timestamptz | 35 | getdate() |
|
|
System column. UTC timestamp assigned when a table batch is applied on Redshift. It represents warehouse landing order at table-batch granularity, not source event order. Usable to filter for incremental extractions. |



