Fields (13)
| Name | Type | Null | Key | Default | Extra |
|---|---|---|---|---|---|
| id | binary(16) | NO | PRI | NULL | |
| version_id | binary(16) | NO | PRI | NULL | |
| order_delivery_id | binary(16) | NO | MUL | NULL | |
| order_delivery_version_id | binary(16) | NO | NULL | ||
| order_line_item_id | binary(16) | NO | MUL | NULL | |
| order_line_item_version_id | binary(16) | NO | NULL | ||
| price | json | NO | NULL | ||
| total_price | int | YES | NULL | VIRTUAL GENERATED | |
| unit_price | int | YES | NULL | VIRTUAL GENERATED | |
| quantity | int | YES | NULL | VIRTUAL GENERATED | |
| custom_fields | json | YES | NULL | ||
| created_at | datetime(3) | NO | NULL | ||
| updated_at | datetime(3) | YES | NULL |
Indexes (3)
| Name | Columns | Unique |
|---|---|---|
| fk.order_delivery_position.order_delivery_id | order_delivery_id,order_delivery_version_id | No |
| fk.order_delivery_position.order_line_item_id | order_line_item_id,order_line_item_version_id | No |
| PRIMARY | id,version_id | Yes |