Table ss7500co.documents 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
document_revisions.document_id Defined in XML R
documents.related_doc_id Defined in XML R
documents_quotes.document_id Defined in XML R
documents_bugs.document_id Defined in XML R
documents_cases.document_id Defined in XML R
documents_accounts.document_id Defined in XML R
linked_documents.document_id Defined in XML R
documents_opportunities.document_id Defined in XML R
documents_revenuelineitems.document_id Defined in XML R
activities_users.parent_id Defined in XML R
documents_products.document_id Defined in XML R
documents_contacts.document_id Defined in XML R
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
document_name varchar 255  √  null
doc_id varchar 100  √  null
doc_type varchar 100  √  Sugar
doc_url varchar 255  √  null
active_date date 10  √  null
exp_date date 10  √  null
category_id varchar 100  √  null
subcategory_id varchar 100  √  null
status_id varchar 100  √  null
document_revision_id char 36  √  null
document_revisions.id Defined in XML R
related_doc_id char 36  √  null
documents.id Defined in XML R
related_doc_rev_id char 36  √  null
is_template bit 1  √  0
template_type varchar 100  √  null

Analyzed at Fri Dec 05 08:33 UTC 2014

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
category_id + subcategory_id Performance Asc/Asc idx_doc_cat
doc_type Performance Asc idx_document_doc_type
exp_date Performance Asc idx_document_exp_date
date_entered Performance Asc idx_documents_date_entered
date_modified Performance Asc idx_documents_date_modfied
id + deleted Performance Asc/Asc idx_documents_id_del
team_set_id Performance Asc idx_documents_tmst_id

Close relationships  within of separation: