Table a0d7b74d.notes 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
notes.note_parent_id Defined in XML R
commentlog_rel.record_id Defined in XML R
emails_beans.bean_id Defined in XML R
tag_bean_rel.bean_id Defined in XML R
notes_audit.parent_id Defined in XML R
activities_users.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
file_mime_type varchar 100  √  null
file_ext varchar 100  √  null
file_source varchar 32  √  null
file_size int 11  √  0
filename varchar 255  √  null
upload_id char 36  √  null
email_type varchar 255  √  null
email_id char 36  √  null
emails.id Defined in XML R
email_templates.id Defined in XML R
note_parent_id char 36  √  null
notes.id Defined in XML R
parent_type varchar 255  √  null
parent_id char 36  √  null
contracts.id Defined in XML R
revenue_line_items.id Defined in XML R
quotes.id Defined in XML R
leads.id Defined in XML R
calls.id Defined in XML R
products.id Defined in XML R
opportunities.id Defined in XML R
accounts.id Defined in XML R
project.id Defined in XML R
prospects.id Defined in XML R
kbcontents.id Defined in XML R
cases.id Defined in XML R
project_task.id Defined in XML R
bugs.id Defined in XML R
meetings.id Defined in XML R
tasks.id Defined in XML R
job_queue.id Defined in XML R
contacts.id Defined in XML R
contact_id char 36  √  null
contacts.id Defined in XML R
portal_flag bit 1  √  1
embed_flag bit 1  √  0
entry_source varchar 255  √  internal
attachment_flag bit 1  √  0
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

Analyzed at Fri Oct 08 00:06 UTC 2021

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
contact_id Performance Asc idx_note_contact  
email_id + email_type Performance Asc/Asc idx_note_email  
email_type Performance Asc idx_note_email_type  
deleted + name + date_modified Performance Asc/Asc/Asc idx_note_name  
note_parent_id Performance Asc idx_note_parent_id  
upload_id Performance Asc idx_note_upload_id  
assigned_user_id + deleted Performance Asc/Asc idx_notes_assigned_del  
deleted + date_entered + id Performance Asc/Asc/Asc idx_notes_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_notes_del_d_m  
id + deleted Performance Asc/Asc idx_notes_id_del  
name + deleted Performance Asc/Asc idx_notes_name_del  
parent_id + parent_type Performance Asc/Asc idx_notes_parent  
sync_key Must be unique Asc idx_notes_skey This unique column is also nullable
team_set_id + deleted Performance Asc/Asc idx_notes_tmst_id  

Close relationships  within of separation: