Table ad5369ce.contracts Generated by
SchemaSpy
Legend: SourceForge.net
Primary key columns
Columns with indexes
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents
id char 36
messages
notes
commentlog_rel
contracts_products
tag_bean_rel
locked_field_bean_rel
opportunities
linked_documents
activities_users
contracts_contacts
contracts_quotes
contracts_audit
name varchar 255  √  null
date_entered datetime 19  √  null
date_modified datetime 19  √  null
modified_user_id char 36  √  null
users
created_by char 36  √  null
users
description text 65535  √  null
deleted bit 1  √  0
reference_code varchar 255  √  null
account_id char 36  √  null
accounts
start_date date 10  √  null
end_date date 10  √  null
total_contract_value decimal 26,6  √  null
total_contract_value_usdollar decimal 26,6  √  null
status varchar 100  √  null
customer_signed_date date 10  √  null
company_signed_date date 10  √  null
expiration_notice datetime 19  √  null
type varchar 255  √  null
contract_types
sync_key varchar 100  √  null
assigned_user_id char 36  √  null
users
team_id char 36  √  null
teams
team_set_id char 36  √  null
team_sets_teams
team_sets
acl_team_set_id char 36  √  null
currency_id char 36  √  -99
currencies
base_rate decimal 26,6  √  null

Analyzed at Mon Sep 28 07:45 UTC 2020

Indexes:
Column(s) Type Sort Anomalies
id Primary key Asc  
end_date Performance Asc  
name Performance Asc  
start_date Performance Asc  
status Performance Asc  
acl_team_set_id + deleted Performance Asc/Asc  
assigned_user_id + deleted Performance Asc/Asc  
deleted + date_entered + id Performance Asc/Asc/Asc  
deleted + date_modified + id Performance Asc/Asc/Asc  
id + deleted Performance Asc/Asc  
name + deleted Performance Asc/Asc  
sync_key Must be unique Asc This unique column is also nullable
team_set_id + deleted Performance Asc/Asc  

Close relationships  within of separation: