Table a7af7d0c.messages_users 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
message_id char 36  √  null
messages.id Defined in XML R
user_id char 36  √  null
users.id Defined in XML R
required varchar 1  √  1
accept_status varchar 25  √  none
date_modified datetime 19  √  null
deleted bit 1  √  0

Analyzed at Thu Jul 01 08:16 UTC 2021

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
message_id + user_id Performance Asc/Asc idx_message_user
message_id + user_id + deleted Performance Asc/Asc/Asc idx_message_user_del
message_id Performance Asc idx_user_message_message
user_id Performance Asc idx_user_message_user

Close relationships  within of separation: