Table a1b9088d.messages 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
activities_users.parent_id Defined in XML R
locked_field_bean_rel.bean_id Defined in XML R
tag_bean_rel.bean_id Defined in XML R
emails_beans.bean_id Defined in XML R
commentlog_rel.record_id Defined in XML R
messages_audit.parent_id Defined in XML R
name varchar 255  √  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
date_start datetime 19  √  null
date_end datetime 19  √  null
parent_type varchar 255  √  null
parent_id char 36  √  null
calls.id Defined in XML R
quotes.id Defined in XML R
kbcontents.id Defined in XML R
project_task.id Defined in XML R
prospects.id Defined in XML R
opportunities.id Defined in XML R
contracts.id Defined in XML R
leads.id Defined in XML R
accounts.id Defined in XML R
project.id Defined in XML R
meetings.id Defined in XML R
tasks.id Defined in XML R
bugs.id Defined in XML R
cases.id Defined in XML R
revenue_line_items.id Defined in XML R
products.id Defined in XML R
contact_id char 36  √  null
contacts.id Defined in XML R
status varchar 50  √  null
direction varchar 50  √  null
channel_type varchar 50  √  null
conversation_link varchar 512  √  null
conversation longtext 2147483647  √  null
sync_key varchar 100  √  null
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
acl_team_set_id char 36  √  null

Analyzed at Fri Mar 05 08:49 UTC 2021

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
acl_team_set_id + deleted Performance Asc/Asc idx_messages_acl_tmst_id  
assigned_user_id + deleted Performance Asc/Asc idx_messages_assigned_del  
deleted + date_entered + id Performance Asc/Asc/Asc idx_messages_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_messages_del_d_m  
id + deleted Performance Asc/Asc idx_messages_id_del  
name + deleted Performance Asc/Asc idx_messages_name_del  
sync_key Must be unique Asc idx_messages_skey This unique column is also nullable
team_set_id + deleted Performance Asc/Asc idx_messages_tmst_id  
parent_id + parent_type Performance Asc/Asc idx_parent_message  

Close relationships  within of separation: