Table a4b5cf43.product_templates Generated by
SchemaSpy
Legend: SourceForge.net
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.product_template_id Defined in XML R
products.product_template_id Defined in XML R
revenue_line_items.product_template_id Defined in XML R
tag_bean_rel.bean_id Defined in XML R
product_templates_audit.parent_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
users.id Defined in XML R
created_by char 36  √  null
users.id Defined in XML R
description text 65535  √  null
deleted bit 1  √  0
type_id char 36  √  null
product_types.id Defined in XML R
manufacturer_id char 36  √  null
manufacturers.id Defined in XML R
category_id char 36  √  null
product_categories.id Defined in XML R
mft_part_num varchar 50  √  null
vendor_part_num varchar 50  √  null
date_cost_price date 10  √  null
cost_price decimal 26,6  √  null
discount_price decimal 26,6  √  null
list_price decimal 26,6  √  null
cost_usdollar decimal 26,6  √  null
discount_usdollar decimal 26,6  √  null
list_usdollar decimal 26,6  √  null
status varchar 100  √  null
tax_class varchar 100  √  null
date_available date 10  √  null
website varchar 255  √  null
weight decimal 12,2  √  null
qty_in_stock int 5  √  null
support_name varchar 50  √  null
support_description varchar 255  √  null
support_contact varchar 50  √  null
support_term varchar 100  √  null
pricing_formula varchar 100  √  null
pricing_factor decimal 8,2  √  null
assigned_user_id char 36  √  null
users.id Defined in XML R
currency_id char 36  √  -99
currencies.id Defined in XML R
base_rate decimal 26,6  √  null

Analyzed at Fri Sep 21 08:02 UTC 2018

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
assigned_user_id + deleted Performance Asc/Asc idx_product_templates_assigned_del
date_entered Performance Asc idx_product_templates_date_entered
date_modified Performance Asc idx_product_templates_date_modfied
id + deleted Performance Asc/Asc idx_product_templates_id_del
name + deleted Performance Asc/Asc idx_product_templates_name_del
category_id Performance Asc idx_producttemplate_category
qty_in_stock Performance Asc idx_producttemplate_qty_in_stock
status Performance Asc idx_producttemplate_status

Close relationships  within of separation: