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()  | 
                                
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| PRIMARY | Primary key | Asc | id | 
| mess_con2_ix | Performance | Asc | conversationid | 
| mess_contim2_ix | Performance | Asc/Asc | conversationid + timecreated | 
| mess_use2_ix | Performance | Asc | useridfrom |