Table a9dc7703.forecast_worksheets 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
activities_users.parent_id Defined in XML R
locked_field_bean_rel.bean_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
parent_id char 36  √  null
parent_type varchar 255  √  null
opportunity_id char 36  √  null
opportunities.id Defined in XML R
opportunity_name varchar 255  √  null
account_name varchar 255  √  null
account_id char 36  √  null
accounts.id Defined in XML R
campaign_id char 36  √  null
campaigns.id Defined in XML R
campaign_name varchar 255  √  null
product_template_id char 36  √  null
product_templates.id Defined in XML R
product_template_name varchar 255  √  null
category_id char 36  √  null
product_categories.id Defined in XML R
category_name varchar 255  √  null
sales_status varchar 255  √  null
likely_case decimal 26,6  √  null
best_case decimal 26,6  √  null
worst_case decimal 26,6  √  null
date_closed date 10  √  null
date_closed_timestamp bigint unsigned 20  √  null
sales_stage varchar 255  √  null
probability double 22  √  null
commit_stage varchar 50  √  null
draft int 11  √  0
next_step varchar 100  √  null
lead_source varchar 50  √  null
product_type varchar 255  √  null
list_price decimal 26,6  √  null
cost_price decimal 26,6  √  null
discount_price decimal 26,6  √  null
discount_amount decimal 26,6  √  null
quantity int 5  √  1
total_amount decimal 26,6  √  null
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_teams.team_set_id Defined in XML R
team_sets.id Defined in XML R
acl_team_set_id char 36  √  null
currency_id char 36  √  -99
currencies.id Defined in XML R
base_rate decimal 26,6  √  null

Analyzed at Fri Dec 14 08:48 UTC 2018

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
acl_team_set_id + deleted Performance Asc/Asc idx_forecast_worksheets_acl_tmst_id
assigned_user_id + deleted Performance Asc/Asc idx_forecast_worksheets_assigned_del
date_entered Performance Asc idx_forecast_worksheets_date_entered
date_modified Performance Asc idx_forecast_worksheets_date_modfied
id + deleted Performance Asc/Asc idx_forecast_worksheets_id_del
name + deleted Performance Asc/Asc idx_forecast_worksheets_name_del
team_set_id + deleted Performance Asc/Asc idx_forecast_worksheets_tmst_id
account_id + deleted Performance Asc/Asc idx_forecastworksheet_account_id_del
commit_stage Performance Asc idx_forecastworksheet_commit_stage
sales_stage Performance Asc idx_forecastworksheet_sales_stage
deleted + assigned_user_id + draft + date_closed_timestamp + parent_type Performance Asc/Asc/Asc/Asc/Asc idx_worksheets_assigned_del_time_draft_parent_type
parent_id + parent_type Performance Asc/Asc idx_worksheets_parent

Close relationships  within of separation: