Table ab4d5264.accounts 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
accounts.parent_id Defined in XML R
calls.parent_id Defined in XML R
campaign_log.target_id Defined in XML R
cases.account_id Defined in XML R
contracts.account_id Defined in XML R
emails.parent_id Defined in XML R
forecast_worksheets.account_id Defined in XML R
leads.account_id Defined in XML R
meetings.parent_id Defined in XML R
notes.parent_id Defined in XML R
opportunities.id Defined in XML R
products.account_id Defined in XML R
revenue_line_items.account_id Defined in XML R
tasks.parent_id Defined in XML R
accounts_audit.parent_id Defined in XML R
accounts_bugs.account_id Defined in XML R
email_addr_bean_rel.bean_id Defined in XML R
quotes_accounts.account_id Defined in XML R
projects_accounts.account_id Defined in XML R
accounts_contacts.account_id Defined in XML R
emails_beans.bean_id Defined in XML R
activities_users.parent_id Defined in XML R
documents_accounts.account_id Defined in XML R
prospect_lists_prospects.related_id Defined in XML R
name varchar 150  √  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
facebook varchar 100  √  null
twitter varchar 100  √  null
googleplus varchar 100  √  null
account_type varchar 50  √  null
industry varchar 50  √  null
annual_revenue varchar 100  √  null
phone_fax varchar 100  √  null
billing_address_street varchar 150  √  null
billing_address_city varchar 100  √  null
billing_address_state varchar 100  √  null
billing_address_postalcode varchar 20  √  null
billing_address_country varchar 255  √  null
rating varchar 100  √  null
phone_office varchar 100  √  null
phone_alternate varchar 100  √  null
website varchar 255  √  null
ownership varchar 100  √  null
employees varchar 10  √  null
ticker_symbol varchar 10  √  null
shipping_address_street varchar 150  √  null
shipping_address_city varchar 100  √  null
shipping_address_state varchar 100  √  null
shipping_address_postalcode varchar 20  √  null
shipping_address_country varchar 255  √  null
parent_id char 36  √  null
accounts.id Defined in XML R
sic_code varchar 10  √  null
duns_num varchar 15  √  null
campaign_id char 36  √  null
campaigns.id Defined in XML R

Analyzed at Thu Sep 03 08:34 UTC 2015

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
deleted + assigned_user_id Performance Asc/Asc idx_accnt_assigned_del
name + deleted Performance Asc/Asc idx_accnt_name_del
parent_id Performance Asc idx_accnt_parent_id
billing_address_city Performance Asc idx_account_billing_address_city
billing_address_country Performance Asc idx_account_billing_address_country
date_entered Performance Asc idx_accounts_date_entered
date_modified Performance Asc idx_accounts_date_modfied
id + deleted Performance Asc/Asc idx_accounts_id_del
team_set_id Performance Asc idx_accounts_tmst_id

Close relationships  within of separation: