Table ad204225.cases 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
calls.parent_id Defined in XML R
emails.parent_id Defined in XML R
kbcontents.kbscase_id Defined in XML R
meetings.parent_id Defined in XML R
notes.parent_id Defined in XML R
tasks.parent_id Defined in XML R
contacts_cases.case_id Defined in XML R
cases_bugs.case_id Defined in XML R
commentlog_rel.record_id Defined in XML R
cases_audit.parent_id Defined in XML R
tag_bean_rel.bean_id Defined in XML R
emails_beans.bean_id Defined in XML R
activities_users.parent_id Defined in XML R
documents_cases.case_id Defined in XML R
projects_cases.case_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 longtext 2147483647  √  null
deleted bit 1  √  0
case_number int 11  √ 
type varchar 255  √  null
status varchar 100  √  null
priority varchar 100  √  null
resolution text 65535  √  null
work_log text 65535  √  null
account_id char 36  √  null
accounts.id Defined in XML R
source varchar 255  √  null
primary_contact_id char 36  √  null
contacts.id Defined in XML R
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 Mar 26 07:32 UTC 2021

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
case_number Must be unique Asc casesnumk  
deleted + account_id Performance Asc/Asc idx_account_id  
deleted + name + date_modified + id + team_set_id Performance Asc/Asc/Asc/Asc/Asc idx_case_del_nam_dm  
assigned_user_id + deleted Performance Asc/Asc idx_cases_assigned_del  
deleted + date_entered + id Performance Asc/Asc/Asc idx_cases_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_cases_del_d_m  
primary_contact_id + deleted Performance Asc/Asc idx_cases_del_prim_contact_id  
id + deleted Performance Asc/Asc idx_cases_id_del  
name + deleted Performance Asc/Asc idx_cases_name_del  
sync_key Must be unique Asc idx_cases_skey This unique column is also nullable
assigned_user_id + status + deleted Performance Asc/Asc/Asc idx_cases_stat_del  
team_set_id + deleted Performance Asc/Asc idx_cases_tmst_id  

Close relationships  within of separation: