Fields (11)
| Name | Type | Null | Key | Default | Extra |
|---|---|---|---|---|---|
| id | binary(16) | NO | PRI | NULL | |
| version_id | binary(16) | NO | PRI | NULL | |
| rule_id | binary(16) | NO | MUL | NULL | |
| product_id | binary(16) | NO | MUL | NULL | |
| product_version_id | binary(16) | NO | NULL | ||
| price | json | NO | NULL | ||
| quantity_start | int(11) | NO | NULL | ||
| quantity_end | int(11) | YES | NULL | ||
| custom_fields | json | YES | NULL | ||
| created_at | datetime(3) | NO | NULL | ||
| updated_at | datetime(3) | YES | NULL |
Indexes (3)
| Name | Columns | Unique |
|---|---|---|
| fk.product_price.product_id | product_id,product_version_id | No |
| fk.product_price.rule_id | rule_id | No |
| PRIMARY | id,version_id | Yes |