Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('Insights.order_discount_id_seq'::regclass) |
|
|
|||||
| name | text | 2147483647 | √ | null |
|
|
|||||
| coupon_code | text | 2147483647 | √ | null |
|
|
|||||
| storefront_id | int4 | 10 | null |
|
|
||||||
| amount | numeric | 18,4 | null |
|
|
||||||
| percentage | numeric | 18,4 | null |
|
|
||||||
| use_percentage | bool | 1 | null |
|
|
||||||
| external_ref | uuid | 2147483647 | null |
|
|
||||||
| source_id | int4 | 10 | null |
|
|
||||||
| uid | varchar | 200 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK_order_discount | Primary key | Asc | id |
| ixorder_discount_storefront_id | Performance | Asc | storefront_id |

