Table ab509734.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
kbdocuments.parent_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
projects_cases.case_id Defined in XML R
activities_users.parent_id Defined in XML R
contacts_cases.case_id Defined in XML R
cases_audit.parent_id Defined in XML R
cases_bugs.case_id Defined in XML R
emails_beans.bean_id Defined in XML R
documents_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 text 65535  √  null
deleted bit 1  √  0
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.id Defined in XML R
team_sets_teams.team_set_id Defined in XML R
case_number int 11  √ 
type varchar 255  √  null
status varchar 100  √  null
priority varchar 100  √  null
resolution text 65535  √  null
system_id int 11  √  null
work_log text 65535  √  null
account_id char 36  √  null
accounts.id Defined in XML R
source varchar 255  √  null

Analyzed at Mon Jun 15 09:01 UTC 2015

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
case_number + system_id Must be unique Asc/Asc case_number
case_number Must be unique Asc casesnumk
account_id Performance Asc idx_account_id
name Performance Asc idx_case_name
date_entered Performance Asc idx_cases_date_entered
date_modified Performance Asc idx_cases_date_modfied
id + deleted Performance Asc/Asc idx_cases_id_del
assigned_user_id + status + deleted Performance Asc/Asc/Asc idx_cases_stat_del
team_set_id Performance Asc idx_cases_tmst_id

Close relationships  within of separation: