Table ss7510en.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_contacts.contract_id Defined in XML R
contracts_opportunities.contract_id Defined in XML R
contracts_audit.parent_id Defined in XML R
contracts_quotes.contract_id Defined in XML R
activities_users.parent_id Defined in XML R
linked_documents.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
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
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
currency_id char 36  √  -99
base_rate decimal 26,6  √  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

Analyzed at Wed Feb 25 09:21 UTC 2015

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
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
team_set_id Performance Asc idx_contracts_tmst_id

Close relationships  within of separation: