Table a553e2ec.emails 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
emails_email_addr_rel.email_id Defined in XML R
notes.email_id Defined in XML R
campaign_log.related_id Defined in XML R
emails_beans.email_id Defined in XML R
tag_bean_rel.bean_id Defined in XML R
date_entered datetime 19  √  null
date_modified datetime 19  √  null
assigned_user_id char 36  √  null
users.id Defined in XML R
modified_user_id char 36  √  null
users.id Defined in XML R
created_by char 36  √  null
users.id Defined in XML R
deleted bit 1  √  0
date_sent datetime 19  √  null
message_id varchar 255  √  null
message_uid varchar 64  √  null
name varchar 255  √  null
type varchar 100  √  null
status varchar 100  √  null
flagged bit 1  √  0
reply_to_status bit 1  √  0
intent varchar 100  √  pick
mailbox_id char 36  √  null
inbound_email.id Defined in XML R
state varchar 100 Archived
reply_to_id char 36  √  null
parent_type varchar 255  √  null
parent_id char 36  √  null
project_task.id Defined in XML R
quotes.id Defined in XML R
opportunities.id Defined in XML R
leads.id Defined in XML R
project.id Defined in XML R
prospects.id Defined in XML R
accounts.id Defined in XML R
bugs.id Defined in XML R
cases.id Defined in XML R
total_attachments int 11  √  null
outbound_email_id char 36  √  null
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
acl_team_set_id char 36  √  null

Analyzed at Tue Jul 03 07:56 UTC 2018

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
date_modified Performance Asc idx_date_modified
assigned_user_id + type + status Performance Asc/Asc/Asc idx_email_assigned
name Performance Asc idx_email_name
parent_id Performance Asc idx_email_parent_id
team_set_id Performance Asc idx_emails_tmst_id
mailbox_id Performance Asc idx_mailbox_id
message_id Performance Asc idx_message_id
state + id Performance Asc/Asc idx_state

Close relationships  within of separation: