Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| customer_id | int8 | 19 | null |
|
|
The primary key of this table. System column calculated by the source System. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| customer_number | varchar | 256 | √ | null |
|
|
More human-readable identifier key to identify the person. Formatted as studioprefix-number (eg AB-123). Freed up (set null) on archived customers to redistribute. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| imported_customer_number | varchar | 256 | √ | null |
|
|
The customer number as it was set in a previous system the customer was imported from. Only set if it was specifically required in the import-process. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| third_party_id | varchar | 256 | √ | null |
|
|
A unique identifier of the person in a third-party system. This is used to link the person to a third-party system, like a CRM or ERP system. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| customer_status | varchar | 256 | √ | null |
|
|
The current (business) relation of the person to the studio.One of: * PROSPECT: The person entered contact information but has no valid contract (yet). * MEMBER: The person has a valid contract which end_date is in the future. * FORMER_MEMBER: The person had a valid contract which end_date is in the past. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| firstname | varchar | 256 | √ | null |
|
|
The personal name given to the person at birth |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| second_firstname | varchar | 256 | √ | null |
|
|
The personal name given to the person at birth |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| lastname | varchar | 256 | √ | null |
|
|
The family name of the person |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| second_lastname | varchar | 256 | √ | null |
|
|
The family name of the person |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| street | varchar | 256 | √ | null |
|
|
The name of the street the person lives in |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| house_number | varchar | 256 | √ | null |
|
|
The unique identifier of a building in a street the person lives in |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| zip | varchar | 256 | √ | null |
|
|
The ZIP-Code (postal code) of the place the person lives in |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| city | varchar | 256 | √ | null |
|
|
The name of the settlement the person lives in |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| country | varchar | 256 | √ | null |
|
|
The 2-letter ISO 3166 abbreviation of the country the person lives in |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| tel_private | varchar | 256 | √ | null |
|
|
The private phone number of the person |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| tel_private_mobile | varchar | 256 | √ | null |
|
|
The private mobile phone number of the person |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| tel_business | varchar | 256 | √ | null |
|
|
The at-work phone number of the person |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| tel_business_mobile | varchar | 256 | √ | null |
|
|
The at-work mobile phone number of the person |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| varchar | 256 | √ | null |
|
|
The email address of the person |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| email_verification_status | varchar | 256 | √ | null |
|
|
The current state of verification of the persons email address.One of: * INITIAL: No verification email was sent yet. * PENDING: The verification email was sent and is waiting for action of the recipient. * VERIFIED: The recipient successfully verified the email address by clicking the verification link. * UNVERIFIED: No email address is set or the recipient did not react on the verification email for 24 hours. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| gender | varchar | 256 | √ | null |
|
|
The sex the person identifies with |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| date_of_birth | date | 13 | √ | null |
|
|
The date at which the person was born |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| place_of_birth | varchar | 256 | √ | null |
|
|
The name of the city the person was born |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| country_of_birth | varchar | 256 | √ | null |
|
|
The name of the nation the person was born |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| deceased | bool | 1 | √ | null |
|
|
Whether the person died |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| archived | bool | 1 | √ | null |
|
|
Permanently removed but kept for historic relations |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| created_date | date | 13 | √ | null |
|
|
Date when the customer was added to the current Systems database |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| locale | varchar | 256 | √ | null |
|
|
The language of a customer represented by its ISO-639 and ISO-3166 Code |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| customer_origin | varchar | 256 | √ | null |
|
|
Through which system the customer was created.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| last_updated | timestamptz | 35 | √ | null |
|
|
System column. UTC Timestamp at which entry was calculated (lags shortly behind source system). |



