Table ss7223ul.products 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
calls.parent_id Defined in XML R
meetings.parent_id Defined in XML R
notes.parent_id Defined in XML R
product_bundle_product.product_id Defined in XML R
documents_products.product_id Defined in XML R
product_product.child_id Defined in XML R
activities_users.parent_id Defined in XML R
contracts_products.product_id Defined in XML R
emails_beans.bean_id Defined in XML R
product_product.parent_id Defined in XML R
products_audit.parent_id Defined in XML R
projects_products.product_id Defined in XML R
name varchar 50  √  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
assigned_user_id char 36  √  null
users.id Defined in XML R
team_id char 36  √  null
teams.id Defined in XML R
team_set_id char 36  √  null
team_sets.id Defined in XML R
team_sets_teams.team_set_id Defined in XML R
revenuelineitem_id char 36  √  null
revenue_line_items.id Defined in XML R
product_template_id char 36  √  null
product_templates.id Defined in XML R
account_id char 36  √  null
accounts.id Defined in XML R
contact_id char 36  √  null
contacts.id Defined in XML R
total_amount decimal 26,6  √  0.000000
type_id char 36  √  null
product_types.id Defined in XML R
quote_id char 36  √  null
quotes.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_purchased date 10  √  null
cost_price decimal 26,6  √  null
discount_price decimal 26,6  √  null
discount_amount decimal 26,6  √  null
discount_rate_percent decimal 26,2  √  null
discount_amount_usdollar decimal 26,6  √  null
discount_select bit 1  √  null
deal_calc decimal 26,6  √  null
deal_calc_usdollar 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
currency_id char 36  √  -99
currencies.id Defined in XML R
base_rate decimal 26,6  √  null
status varchar 100  √  null
tax_class varchar 100  √  null
website varchar 255  √  null
weight decimal 12,2  √  null
quantity decimal 12,2  √  1.00
support_name varchar 50  √  null
support_description varchar 255  √  null
support_contact varchar 50  √  null
support_term varchar 100  √  null
date_support_expires date 10  √  null
date_support_starts date 10  √  null
pricing_formula varchar 100  √  null
pricing_factor int 4  √  null
serial_number varchar 50  √  null
asset_number varchar 50  √  null
book_value decimal 26,6  √  null
book_value_usdollar decimal 26,6  √  null
book_value_date date 10  √  null
date_closed date 10  √  null
date_closed_timestamp int 11  √  null
next_step varchar 100  √  null
campaign_id char 36  √  null
campaigns.id Defined in XML R
opportunity_id char 36  √  null
opportunities.id Defined in XML R

Analyzed at Fri Dec 05 09:36 UTC 2014

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
id + assigned_user_id + date_closed_timestamp Performance Asc/Asc/Asc idx_prod_user_dc_timestamp
quantity Performance Asc idx_product_quantity
name + deleted Performance Asc/Asc idx_products
team_set_id Performance Asc idx_products_tmst_id
date_modified Performance Asc productsmod

Close relationships  within of separation: