Table a60db5a4.contracts 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
notes.parent_id Defined in XML R
contracts_audit.parent_id Defined in XML R
opportunities.id Defined in XML R
contracts_quotes.contract_id Defined in XML R
linked_documents.parent_id Defined in XML R
locked_field_bean_rel.bean_id Defined in XML R
tag_bean_rel.bean_id Defined in XML R
contracts_contacts.contract_id Defined in XML R
activities_users.parent_id Defined in XML R
contracts_products.contract_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
reference_code varchar 255  √  null
account_id char 36  √  null
accounts.id Defined in XML R
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.id Defined in XML R
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
acl_team_set_id char 36  √  null
currency_id char 36  √  -99
currencies.id Defined in XML R
base_rate decimal 26,6  √  null

Analyzed at Mon Nov 12 21:53 UTC 2018

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
end_date Performance Asc idx_contract_end_date
name Performance Asc idx_contract_name
start_date Performance Asc idx_contract_start_date
status Performance Asc idx_contract_status
acl_team_set_id + deleted Performance Asc/Asc idx_contracts_acl_tmst_id
assigned_user_id + deleted Performance Asc/Asc idx_contracts_assigned_del
date_entered Performance Asc idx_contracts_date_entered
date_modified Performance Asc idx_contracts_date_modfied
id + deleted Performance Asc/Asc idx_contracts_id_del
name + deleted Performance Asc/Asc idx_contracts_name_del
team_set_id + deleted Performance Asc/Asc idx_contracts_tmst_id

Close relationships  within of separation: