product_categories table

The product_categories table in the E-commerce Database Schema schema has 2 columns, with 2 foreign keys to products and categories.

A product may sit in several categories.

Columns (2)

Columns of the product_categories table
ColumnTypeConstraintsDescription
product_iduuidnot null, references products.id
category_iduuidnot null, references categories.id

Relationships