Table a4d57d3a.subscriptions Generated by
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
locked_field_bean_rel.bean_id Defined in XML R
activities_users.parent_id Defined in XML R
date_entered datetime 19  √  null
date_modified datetime 19  √  null
modified_user_id char 36  √  null Defined in XML R
created_by char 36  √  null Defined in XML R
deleted bit 1  √  0
parent_type varchar 100  √  null
parent_id char 36
sync_key varchar 100  √  null

Analyzed at Thu Jul 01 08:55 UTC 2021

Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
deleted + date_entered + id Performance Asc/Asc/Asc idx_subscriptions_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_subscriptions_del_d_m  
id + deleted Performance Asc/Asc idx_subscriptions_id_del  
sync_key Must be unique Asc idx_subscriptions_skey This unique column is also nullable
parent_id Performance Asc subscription_parent  

Close relationships  within of separation: