Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gift_history_id | int4 | 10 | null |
|
|
Primary key: node gift_history_id offset by node_id * 100000000 |
||||||
| gift_id | int4 | 10 | null |
|
|
Ref: gift.gift_id |
||||||
| dim_gift_status_id | int4 | 10 | √ | null |
|
|
Ref: dim_gift_status |
|||||
| receiver_customer_encoded_id | text | 2147483647 | √ | null |
|
|
The customer whom the gift has been received by |
|||||
| deposit_encoded_id | text | 2147483647 | √ | null |
|
|
The deposit on the receiving customers side |
|||||
| gift_expiry_timestamp | timestamptz | 35,6 | √ | null |
|
|
||||||
| gift_history_timestamp | timestamptz | 35,6 | √ | null |
|
|
When this history row was created |
|||||
| gift_history_event_timestamp | timestamptz | 35,6 | √ | null |
|
|
When the underlying event occurred |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| gift_history_pkey | Primary key | Asc | gift_history_id |
| gift_history_deposit_encoded_id_unique | Must be unique | Asc | deposit_encoded_id |



