Message User Actions Table Schema (message_user_actions)


Description

Stores all per-user actions on individual messages

message_user_actions table columns

Column Type Size Nulls Auto Default Children Parents Comments
id BIGINT 19 null
userid BIGINT 19 null
user.id messuseracti_use2_fk R
messageid BIGINT 19 null
messages.id messuseracti_mes2_fk R
action BIGINT 19 null
timecreated BIGINT 19 null

Table contained -1 rows

message_user_actions table indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
messuseracti_mes_ix Performance Asc messageid
messuseracti_use_ix Performance Asc userid
messuseracti_usemesact_uix Must be unique Asc/Asc/Asc userid + messageid + action

message_user_actions table relationships