product_option_values table
The product_option_values table in the E-commerce Database Schema schema has 4 columns, keyed by id, with 1 foreign key to product_options. 1 column in variant_option_values references it.
The allowed values on one axis, e.g. Small, Medium, Large.
Columns (4)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| option_id | uuid | not null, references product_options.id | |
| value | varchar(80) | not null | |
| position | integer | not null |
Indexes (1)
(option_id, value)unique
Relationships
product_option_values.option_idreferencesproduct_options.idvariant_option_values.option_value_idreferencesproduct_option_values