Table ad204225.sugarfavorites 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
commentlog_rel.record_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 varchar 50  √  null
deleted bit 1  √  0
module varchar 50  √  null
record_id char 36  √  null
sync_key varchar 100  √  null
assigned_user_id char 36  √  null
users.id Defined in XML R

Analyzed at Fri Mar 26 07:32 UTC 2021

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
date_entered + deleted Performance Asc/Asc idx_favs_date_entered  
record_id + id Performance Asc/Asc idx_favs_id_record_id  
module + record_id + deleted Performance Asc/Asc/Asc idx_favs_module_record_deleted  
modified_user_id + module + deleted Performance Asc/Asc/Asc idx_favs_user_module  
assigned_user_id + deleted Performance Asc/Asc idx_sugarfavorites_assigned_del  
deleted + date_entered + id Performance Asc/Asc/Asc idx_sugarfavorites_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_sugarfavorites_del_d_m  
id + deleted Performance Asc/Asc idx_sugarfavorites_id_del  
name + deleted Performance Asc/Asc idx_sugarfavorites_name_del  
sync_key Must be unique Asc idx_sugarfavorites_skey This unique column is also nullable

Close relationships  within of separation: