Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
checkin_id | int8 | 19 | null |
|
|
The primary key of this table. System column calculated by the source System. |
|||||
checkin_time | timestamp | 29,6 | null |
|
|
The local timestamp at which the checkin happened. |
|||||
checkout_time | timestamp | 29,6 | √ | null |
|
|
The local timestamp at which the customer left the gym again (if he left). |
||||
checkin_date_id | int4 | 10 | null |
|
|
The date at which the checkin happened |
|||||
checkout_date_id | int4 | 10 | √ | null |
|
|
The date at which the checkout happened (if it happened). |
||||
organization_unit_id | int8 | 19 | null |
|
|
The gym (organization_unit) which the customer visited. |
|||||
customer_organization_unit_id | int8 | 19 | √ | null |
|
|
The gym (organization_unit) the customer originally signed up to. Is set to null after privacy settings come into effect. |
||||
customer_id | int8 | 19 | √ | null |
|
|
The person who visited. Is set to null when privacy settings come into effect. |
||||
device_id | int8 | 19 | √ | null |
|
|
The machine registering the checkin. Null if person was directly checked-in through Website (without a device). |
||||
last_updated | timestamptz | 35 | √ | null |
|
|
System column. UTC Timestamp at which entry was calculated (lags behind source system). |