Table a018f09d.activities 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
comments.parent_id Defined in XML R
activities_users.activity_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
users.id Defined in XML R
created_by char 36  √  null
users.id Defined in XML R
deleted bit 1  √  0
parent_id char 36  √  null
parent_type varchar 100  √  null
activity_type varchar 100  √  null
data longtext 2147483647  √  null
comment_count int 11  √  0
last_comment longtext 2147483647  √  null
sync_key varchar 100  √  null

Analyzed at Thu Jul 01 08:02 UTC 2021

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
parent_type + parent_id Performance Asc/Asc activity_records  
activity_type + date_entered Performance Asc/Asc activity_type_date  
deleted + date_entered + id Performance Asc/Asc/Asc idx_activities_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_activities_del_d_m  
id + deleted Performance Asc/Asc idx_activities_id_del  
sync_key Must be unique Asc idx_activities_skey This unique column is also nullable

Close relationships  within of separation: