Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ticket_id | int4 | 10 | √ | null |
|
|
Ticket id as it exists in PBJ |
||||
| customer_encoded_id | text | 2147483647 | √ | null |
|
|
|||||
| dim_draw_id | int4 | 10 | √ | null |
|
|
See table dim_draw |
||||
| lottery_names | text | 2147483647 | √ | null |
|
|
Lotteries this sale applies to |
||||
| lottery_type_name | text | 2147483647 | √ | null |
|
|
Type of lottery this sale applies to (e.g. Raffle) |
||||
| game_offer_names | text | 2147483647 | √ | null |
|
|
Game offers this sale applies to |
||||
| sales | numeric | 15,5 | √ | null |
|
|
Total cost of the ticket |
||||
| ticket_timestamp | timestamptz | 35,6 | √ | null |
|
|
When this ticket was last updated |


