messages table columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
id | BIGINT | 19 | √ | null |
|
|
||||||
useridfrom | BIGINT | 19 | null |
|
|
|||||||
conversationid | BIGINT | 19 | null |
|
|
|||||||
subject | LONGTEXT | 2147483647 | √ | null |
|
|
||||||
fullmessage | LONGTEXT | 2147483647 | √ | null |
|
|
||||||
fullmessageformat | BIT | 1 | 0 |
|
|
|||||||
fullmessagehtml | LONGTEXT | 2147483647 | √ | null |
|
|
||||||
smallmessage | LONGTEXT | 2147483647 | √ | null |
|
|
||||||
timecreated | BIGINT | 19 | null |
|
|
|||||||
fullmessagetrust | TINYINT | 3 | 0 |
|
|
|||||||
customdata | LONGTEXT | 2147483647 | √ | null |
|
|
Custom data to be passed to the message processor. Must be serialisable using json_encode() |
Table contained -1 rows
messages table indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
mess_con_ix | Performance | Asc | conversationid |
mess_contim_ix | Performance | Asc/Asc | conversationid + timecreated |
mess_use_ix | Performance | Asc | useridfrom |