Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
contact_id | varchar | 2147483647 | null |
|
|
ID of the contact that represents the personal information of a candidate independent from opportunities. |
||||
contact_consent_event_id | varchar | 2147483647 | null |
|
|
ID of the value that the consent was updated to. |
||||
event_at | timestamp | 29,6 | null |
|
|
Date and time when the event occurred. |
||||
user_id | varchar | 2147483647 | √ | null |
|
|
ID of the user. |
|||
account_id | varchar | 2147483647 | null |
|
|
ID of the account the record belongs to. |
||||
event_date_id | varchar | 2147483647 | √ | null |
|
|
ID of the date and time when the event occurred. It’s used in combination with the datetime dimension table to simplify the creation of temporal queries. |
|||
created_at | timestamp | 29,6 | √ | null |
|
|
Date the object referred to in this entity was created. |
|||
row_updated_at | timestamp | 29,6 | √ | CURRENT_TIMESTAMP |
|
|
Date this entity was updated in the database. Useful to setup incremental refreshes of the data in your periodic ETL job. |
|||
event_key | varchar | 2147483647 | null |
|
|
|||||
contact_consent_activity_id | varchar | 2147483647 | √ | null |
|
|
The data usage activity related to this contact consent event. |
|||
contact_consent_status_id | varchar | 2147483647 | √ | null |
|
|
The status of the data usage activity related to this contact consent event. |
|||
previous_contact_consent_status_id | varchar | 2147483647 | √ | null |
|
|
The previous status of the data usage activity related to this contact consent event. |
|||
previous_event_at | timestamp | 29,6 | √ | null |
|
|
Date and time of the previous event for the same contact_consent_activity_id and contact_id, or the creation of the contact. |
|||
next_event_at | timestamp | 29,6 | √ | null |
|
|
Date and time of the next event for the contact_consent_activity_id and contact_id. Is |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
contact_consent_events_pkey | Primary key | Asc | event_key |
contact_consent_events_contact_id_idx | Performance | Asc | contact_id |
contact_consent_events_user_id_idx | Performance | Asc | user_id |
contacts_consent_events_account_id_index | Performance | Asc | account_id |