Table a3773dfe.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
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
tasks.parent_id Defined in XML R
accounts_opportunities.account_id Defined in XML R
documents_accounts.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
prospect_lists_prospects.related_id Defined in XML R
email_addr_bean_rel.bean_id Defined in XML R
accounts_contacts.account_id Defined in XML R
accounts_bugs.account_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
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
campaign_id char 36  √  null
campaigns.id Defined in XML R

Analyzed at Wed Jun 07 08:26 UTC 2017

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

Close relationships  within of separation: