Table ad5369ce.calls 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
messages.parent_id Defined in XML R
notes.parent_id Defined in XML R
calls_users.call_id Defined in XML R
commentlog_rel.record_id Defined in XML R
calls_audit.parent_id Defined in XML R
tag_bean_rel.bean_id Defined in XML R
calls_leads.call_id Defined in XML R
locked_field_bean_rel.bean_id Defined in XML R
activities_users.parent_id Defined in XML R
calls_contacts.call_id Defined in XML R
name varchar 50  √  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
duration_hours int 11  √  0
duration_minutes int 2  √  null
date_start datetime 19  √  null
date_end datetime 19  √  null
parent_type varchar 255  √  null
status varchar 100  √  Planned
direction varchar 100  √  null
parent_id char 36  √  null
leads.id Defined in XML R
contacts.id Defined in XML R
opportunities.id Defined in XML R
products.id Defined in XML R
kbcontents.id Defined in XML R
revenue_line_items.id Defined in XML R
tasks.id Defined in XML R
prospects.id Defined in XML R
project.id Defined in XML R
purchases.id Defined in XML R
cases.id Defined in XML R
accounts.id Defined in XML R
purchased_line_items.id Defined in XML R
quotes.id Defined in XML R
project_task.id Defined in XML R
bugs.id Defined in XML R
reminder_time int 11  √  -1
email_reminder_time int 11  √  -1
email_reminder_sent bit 1  √  0
outlook_id varchar 255  √  null
repeat_type varchar 36  √  null
repeat_interval int 3  √  1
repeat_dow varchar 7  √  null
repeat_until date 10  √  null
repeat_count int 7  √  null
repeat_selector varchar 36  √  null
repeat_days varchar 128  √  null
repeat_ordinal varchar 36  √  null
repeat_unit varchar 36  √  null
repeat_parent_id char 36  √  null
recurrence_id datetime 19  √  null
recurring_source varchar 36  √  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_teams.team_set_id Defined in XML R
team_sets.id Defined in XML R
acl_team_set_id char 36  √  null

Analyzed at Mon Sep 28 07:45 UTC 2020

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
direction Performance Asc idx_call_direction  
deleted + name + date_modified Performance Asc/Asc/Asc idx_call_name  
acl_team_set_id + deleted Performance Asc/Asc idx_calls_acl_tmst_id  
assigned_user_id + deleted Performance Asc/Asc idx_calls_assigned_del  
date_start Performance Asc idx_calls_date_start  
date_start + date_end + deleted Performance Asc/Asc/Asc idx_calls_date_start_end_del  
date_start + reminder_time Performance Asc/Asc idx_calls_date_start_reminder  
deleted + date_entered + id Performance Asc/Asc/Asc idx_calls_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_calls_del_d_m  
id + deleted Performance Asc/Asc idx_calls_id_del  
name + deleted Performance Asc/Asc idx_calls_name_del  
parent_id + parent_type + deleted Performance Asc/Asc/Asc idx_calls_par_del  
recurrence_id Performance Asc idx_calls_recurrence_id  
repeat_parent_id + deleted Performance Asc/Asc idx_calls_repeat_parent_id  
sync_key Must be unique Asc idx_calls_skey This unique column is also nullable
team_set_id + deleted Performance Asc/Asc idx_calls_tmst_id  
status Performance Asc idx_status  

Close relationships  within of separation: