Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| customer_group_to_customer_id | int8 | 19 | null |
|
|
Unique identifier for the customer-group membership row. |
|||||
| customer_id | int8 | 19 | √ | null |
|
|
The customer assigned to the group. |
||||
| customer_group_id | int8 | 19 | √ | null |
|
|
The customer group assigned to the customer. |
||||
| start_date | date | 13 | √ | null |
|
|
Date when the customer became part of the customer group. |
||||
| end_date | date | 13 | √ | null |
|
|
Date when the customer-group membership ended. Null means the membership is still active. |
||||
| is_discountable | bool | 1 | √ | null |
|
|
Whether this individual membership is eligible to receive the group discount on the member’s contract. Acts as a per-membership override: even when the group is configured as discountable ( |
||||
| permission | varchar | 256 | √ | null |
|
|
Administrative permission level assigned to the customer within the group. Controls whether the member can manage group settings (e.g. add or remove members). NULL when no explicit permission has been configured for this membership. |
||||
| relationship_type | varchar | 256 | √ | null |
|
|
How the customer is related to the rest of the group. Only populated for |
||||
| is_archived | bool | 1 | √ | null |
|
|
Whether the customer-group membership has been archived. |
||||
| last_updated | timestamptz | 35 | √ | null |
|
|
System column. UTC Timestamp at which entry was calculated (lags shortly behind source system). |



