Table a966214c.data_privacy 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
commentlog_rel.record_id Defined in XML R
leads_dataprivacy.dataprivacy_id Defined in XML R
accounts_dataprivacy.dataprivacy_id Defined in XML R
activities_users.parent_id Defined in XML R
tag_bean_rel.bean_id Defined in XML R
data_privacy_audit.parent_id Defined in XML R
contacts_dataprivacy.dataprivacy_id Defined in XML R
prospects_dataprivacy.dataprivacy_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
dataprivacy_number int 11  √ 
type varchar 255  √  null
status varchar 100  √  Open
priority varchar 100  √  null
resolution text 65535  √  null
work_log text 65535  √  null
business_purpose text 65535  √  null
source varchar 255  √  null
requested_by varchar 255  √  null
date_opened date 10  √  null
date_due date 10  √  null
date_closed date 10  √  null
fields_to_erase text 65535  √  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.id Defined in XML R
team_sets_teams.team_set_id Defined in XML R

Analyzed at Fri Jan 08 08:28 UTC 2021

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
dataprivacy_number Must be unique Asc dataprivacynumk  
assigned_user_id + deleted Performance Asc/Asc idx_data_privacy_assigned_del  
deleted + date_entered + id Performance Asc/Asc/Asc idx_data_privacy_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_data_privacy_del_d_m  
id + deleted Performance Asc/Asc idx_data_privacy_id_del  
name + deleted Performance Asc/Asc idx_data_privacy_name_del  
sync_key Must be unique Asc idx_data_privacy_skey This unique column is also nullable
team_set_id + deleted Performance Asc/Asc idx_data_privacy_tmst_id  
name Performance Asc idx_dataprivacy_name  

Close relationships  within of separation: