Table a7a1e53c.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
leads.account_id Defined in XML R
meetings.parent_id Defined in XML R
notes.parent_id Defined in XML R
products.account_id Defined in XML R
tasks.parent_id Defined in XML R
accounts_bugs.account_id Defined in XML R
documents_accounts.account_id Defined in XML R
prospect_lists_prospects.related_id Defined in XML R
quotes_accounts.account_id Defined in XML R
accounts_opportunities.account_id Defined in XML R
accounts_contacts.account_id Defined in XML R
emails_beans.bean_id Defined in XML R
projects_accounts.account_id Defined in XML R
accounts_audit.parent_id Defined in XML R
email_addr_bean_rel.bean_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_teams.team_set_id Defined in XML R
team_sets.id Defined in XML R
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
twitter_id varchar 15  √  null
parent_id char 36  √  null
accounts.id Defined in XML R
sic_code varchar 10  √  null
campaign_id char 36  √  null
campaigns.id Defined in XML R

Analyzed at Mon Oct 19 07:39 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
id + deleted Performance Asc/Asc idx_accnt_id_del
name + deleted Performance Asc/Asc idx_accnt_name_del
parent_id Performance Asc idx_accnt_parent_id
team_set_id Performance Asc idx_accounts_tmst_id

Close relationships  within of separation: