Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('Insights.reward_points_history_id_seq'::regclass) |
|
|
|||||
| customer_id | int4 | 10 | null |
|
|
||||||
| used_with_order_id | int4 | 10 | √ | null |
|
|
|||||
| points_adjustment | text | 2147483647 | √ | null |
|
|
|||||
| balance | int4 | 10 | null |
|
|
||||||
| used_amount | numeric | 18,4 | null |
|
|
||||||
| message | text | 2147483647 | √ | null |
|
|
|||||
| creation_date | timestamp | 29,6 | null |
|
|
||||||
| external_ref | uuid | 2147483647 | null |
|
|
||||||
| source_id | int4 | 10 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK_reward_points_history | Primary key | Asc | id |
| ixreward_points_history_customer_id | Performance | Asc | customer_id |
| ixreward_points_history_used_with_order_id | Performance | Asc | used_with_order_id |

