Table a63a12da.document_templates 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
activities_users.parent_id Defined in XML R
commentlog_rel.record_id Defined in XML R
locked_field_bean_rel.bean_id Defined in XML R
tag_bean_rel.bean_id Defined in XML R
document_templates_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
filename varchar 255  √  null
file_ext varchar 100  √  null
file_mime_type varchar 100  √  null
file_size int 11  √  null
template_module varchar 100  √  Accounts
use_revisions bit 1  √  1
label_merging bit 1  √  0
prefix varchar 120  √  null
postfix varchar 120  √  null
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

Analyzed at Fri Oct 08 00:17 UTC 2021

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
acl_team_set_id + deleted Performance Asc/Asc idx_document_templates_acl_tmst_id  
assigned_user_id + deleted Performance Asc/Asc idx_document_templates_assigned_del  
deleted + date_entered + id Performance Asc/Asc/Asc idx_document_templates_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_document_templates_del_d_m  
id + deleted Performance Asc/Asc idx_document_templates_id_del  
name + deleted Performance Asc/Asc idx_document_templates_name_del  
sync_key Must be unique Asc idx_document_templates_skey This unique column is also nullable
team_set_id + deleted Performance Asc/Asc idx_document_templates_tmst_id  

Close relationships  within of separation: