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)

Columns of the product_option_values table
ColumnTypeConstraintsDescription
iduuidprimary key
option_iduuidnot null, references product_options.id
valuevarchar(80)not null
positionintegernot null

Indexes (1)

  • (option_id, value) unique

Relationships