Table ad204225.notifications 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
activities_users.parent_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
is_read bit 1  √  0
severity varchar 15  √  null
parent_type varchar 100  √  null
parent_id char 36  √  null
sync_key varchar 100  √  null
assigned_user_id char 36  √  null
users.id Defined in XML R

Analyzed at Fri Mar 26 07:32 UTC 2021

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc PRIMARY  
assigned_user_id + deleted Performance Asc/Asc idx_notifications_assigned_del  
deleted + date_entered + id Performance Asc/Asc/Asc idx_notifications_del_d_e  
deleted + date_modified + id Performance Asc/Asc/Asc idx_notifications_del_d_m  
id + deleted Performance Asc/Asc idx_notifications_id_del  
assigned_user_id + is_read + deleted Performance Asc/Asc/Asc idx_notifications_my_unread_items  
name + deleted Performance Asc/Asc idx_notifications_name_del  
sync_key Must be unique Asc idx_notifications_skey This unique column is also nullable

Close relationships  within of separation: