Table a4d57d3a.product_categories Generated by
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
Column Type Size Nulls Auto Default Children Parents Comments
id char 36
forecast_worksheets.category_id Defined in XML R
product_categories.parent_id Defined in XML R
product_templates.category_id Defined in XML R
products.category_id Defined in XML R
purchased_line_items.category_id Defined in XML R
purchases.category_id Defined in XML R
revenue_line_items.category_id Defined in XML R
locked_field_bean_rel.bean_id Defined in XML R
activities_users.parent_id Defined in XML R
name varchar 255  √  null
date_entered datetime 19  √  null
date_modified datetime 19  √  null
modified_user_id char 36  √  null Defined in XML R
created_by char 36  √  null Defined in XML R
description text 65535  √  null
deleted bit 1  √  0
list_order int 4  √  null
parent_id char 36  √  null Defined in XML R
sync_key varchar 100  √  null
assigned_user_id char 36  √  null Defined in XML R

Analyzed at Thu Jul 01 08:55 UTC 2021

Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
assigned_user_id + deleted Performance Asc/Asc idx_product_categories_assigned_del  
deleted + date_entered + id Performance Asc/Asc/Asc idx_product_categories_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_product_categories_del_d_m  
id + deleted Performance Asc/Asc idx_product_categories_id_del  
name + deleted Performance Asc/Asc idx_product_categories_name_del  
sync_key Must be unique Asc idx_product_categories_skey This unique column is also nullable
id + parent_id + name + deleted Performance Asc/Asc/Asc/Asc idx_producttemplate_id_parent_name  

Close relationships  within of separation: