Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | varchar | 8 | null |
|
|
||||||||||||
rep_id | varchar | 64 | √ | null |
|
|
|||||||||||
company_id | varchar | 8 | √ | null |
|
|
|||||||||||
customer_id | varchar | 8 | null |
|
|
||||||||||||
varchar | 128 | √ | null |
|
|
||||||||||||
name | varchar | 2048 | √ | null |
|
|
|||||||||||
crm_created_at | timestamptz | 35,6 | √ | now() |
|
|
|||||||||||
crm_updated_at | timestamptz | 35,6 | √ | now() |
|
|
|||||||||||
integration_type | customer_level_integrated_app | 2147483647 | null |
|
|
||||||||||||
created_at | timestamptz | 35,6 | √ | now() |
|
|
|||||||||||
updated_at | timestamptz | 35,6 | √ | now() |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
crm_rep_pkey | Primary key | Asc | id |
crm_rep_email_customer_id_uniq | Must be unique | Asc/Asc | email + customer_id |
crm_rep_id_idx | Performance | Asc | id |
crm_rep_rep_id_idx | Performance | Asc | rep_id |