Coding standards
Security in ResourceSpace
Developer reference
Database

Table: message

User messages. Use for system and user to user messaging

ColumnTypeNote
refint(11)Auto incrementing index
createdDATETIME
ownerint(11)User reference
messageMEDIUMTEXTMessage text
urltextMessage URL. Appears as link with message and in message list.
expiresDATETIMEMessage expiration date
related_activityint(11)Used with related_ref to link system generated messages to e.g. a user account request so that all related messages can be deleted once account is approved
related_refint(11)Related activity reference e.g. user ref
typeint(11)Denotes various types of message e.g. user message, screen. Defined by the enabled bits. Refer to definitions.php for more information

This table is empty by default.

Please see the schema overview for context. This document was last updated on the 19th of August 2026 at 16:05 (Europe/London time).