Table a44ce500.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
changetimers.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
messages.parent_id Defined in XML R
notes.parent_id Defined in XML R
tasks.parent_id Defined in XML R
cases_bugs.case_id Defined in XML R
contacts_cases.case_id Defined in XML R
cases_purchases.case_id Defined in XML R
projects_cases.case_id Defined in XML R
activities_users.parent_id Defined in XML R
emails_beans.bean_id Defined in XML R
commentlog_rel.record_id Defined in XML R
tag_bean_rel.bean_id Defined in XML R
cases_audit.parent_id Defined in XML R
documents_cases.case_id Defined in XML R
locked_field_bean_rel.bean_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
follow_up_datetime datetime 19  √  null
resolved_datetime datetime 19  √  null
hours_to_resolution decimal 12,2  √  null
business_hours_to_resolution decimal 12,2  √  null
pending_processing bit 1  √  0
account_id char 36  √  null
accounts.id Defined in XML R
business_center_id char 36  √  null
business_centers.id Defined in XML R
source varchar 255  √  null
request_close bit 1  √  0
request_close_date datetime 19  √  null
portal_viewable bit 1  √  1
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
acl_team_set_id char 36  √  null
first_response_target_datetime datetime 19  √  null
first_response_actual_datetime datetime 19  √  null
hours_to_first_response decimal 12,2  √  null
business_hrs_to_first_response decimal 12,2  √  null
first_response_var_from_target decimal 12,2  √  null
first_response_sla_met varchar 100  √  null
first_response_user_id char 36  √  null
users.id Defined in XML R
first_response_sent bit 1  √  0

Analyzed at Fri Mar 26 07:43 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  
acl_team_set_id + deleted Performance Asc/Asc idx_cases_acl_tmst_id  
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  
first_response_user_id + deleted Performance Asc/Asc idx_cases_first_response_del  
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: