# message_user_actions

0 rows

### Description

Stores all per-user actions on individual messages

### Columns

Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments
--- | --- | --- | --- | --- | --- | --- | --- | ---
id | BIGINT | 19 |  | √ | null |  |  |
userid | BIGINT | 19 |  |  | null |  |
user.id | messuseracti_use2_fkR
messageid | BIGINT | 19 |  |  | null |  |
messages.id | messuseracti_mes2_fkR
action | BIGINT | 19 |  |  | null |  |  |
timecreated | BIGINT | 19 |  |  | null |  |  |

### 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

### Relationships