Table a9c6e450.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
quotes_accounts.account_id Defined in XML R
tag_bean_rel.bean_id Defined in XML R
commentlog_rel.record_id Defined in XML R
accounts_contacts.account_id Defined in XML R
accounts_bugs.account_id Defined in XML R
emails_beans.bean_id Defined in XML R
projects_accounts.account_id Defined in XML R
accounts_dataprivacy.account_id Defined in XML R
documents_accounts.account_id Defined in XML R
email_addr_bean_rel.bean_id Defined in XML R
activities_users.parent_id Defined in XML R
prospect_lists_prospects.related_id Defined in XML R
accounts_audit.parent_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
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
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

Analyzed at Tue Nov 10 08:17 UTC 2020

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
deleted + name + date_modified Performance Asc/Asc/Asc idx_acc_del_l_name_dm
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
assigned_user_id + deleted Performance Asc/Asc idx_accounts_assigned_del
deleted + date_entered + id Performance Asc/Asc/Asc idx_accounts_del_d_e
deleted + date_modified + id Performance Asc/Asc/Asc idx_accounts_del_d_m
id + deleted Performance Asc/Asc idx_accounts_id_del
name + deleted Performance Asc/Asc idx_accounts_name_del
team_set_id + deleted Performance Asc/Asc idx_accounts_tmst_id

Close relationships  within of separation: