Table a966214c.kbcontents 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
meetings.parent_id Defined in XML R
notes.parent_id Defined in XML R
tasks.parent_id Defined in XML R
commentlog_rel.record_id Defined in XML R
activities_users.parent_id Defined in XML R
tag_bean_rel.bean_id Defined in XML R
kbcontents_audit.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
kbdocument_body longtext 2147483647  √  null
language varchar 2  √  null
active_date date 10  √  null
exp_date date 10  √  null
approved bit 1  √  0
status varchar 100  √  draft
viewcount int 11  √  0
revision int 11  √  0
useful int 11  √  0
notuseful int 11  √  0
kbdocument_id char 36  √  null
kbcontents.kbdocument_id Defined in XML R
kbdocuments.id Defined in XML R
kbcontents.kbdocument_id Defined in XML R
active_rev tinyint 4  √  0
is_external tinyint 4  √  0
kbarticle_id char 36  √  null
kbcontents.kbarticle_id Defined in XML R
kbarticles.id Defined in XML R
kbcontents.kbarticle_id Defined in XML R
kbsapprover_id char 36  √  null
users.id Defined in XML R
kbscase_id char 36  √  null
cases.id Defined in XML R
category_id char 36  √  null
sync_key varchar 100  √  null
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
assigned_user_id char 36  √  null
users.id Defined in XML R

Analyzed at Fri Jan 08 08:28 UTC 2021

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
kbdocument_id + deleted Performance Asc/Asc idx_kbcontent_del_doc_id  
name Performance Asc idx_kbcontent_name  
assigned_user_id + deleted Performance Asc/Asc idx_kbcontents_assigned_del  
deleted + date_entered + id Performance Asc/Asc/Asc idx_kbcontents_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_kbcontents_del_d_m  
id + deleted Performance Asc/Asc idx_kbcontents_id_del  
name + deleted Performance Asc/Asc idx_kbcontents_name_del  
sync_key Must be unique Asc idx_kbcontents_skey This unique column is also nullable
team_set_id + deleted Performance Asc/Asc idx_kbcontents_tmst_id  

Close relationships  within of separation: