product_categories table

The product_categories table in the Inventory Management Database Schema schema has 3 columns, keyed by id, with 1 foreign key to product_categories. 1 column in products references it.

Self-referencing tree. parent_id null is a top-level category.

Columns (3)

Columns of the product_categories table
ColumnTypeConstraintsDescription
iduuidprimary key
parent_iduuidreferences product_categories.id
namevarchar(120)not null

Relationships