Coding standards
Security in ResourceSpace
Developer reference
Database

Table: resource_log

Logs all activity relating to a resource.

ColumnTypeNote
refint(11)Auto incrementing index
datedatetimeDate the log was recorded
userint(11)See table user
resourceint(11)See table resource
typechar(1)Log type. See include/definitions.php for a full list of available types.
resource_type_fieldint(11)See table resource_type_field
notestextLog notes
diffmediumtextDiff between old value and new one
usageoptionint(11)The resource download usage option
access_keychar(50)External access key (added/deleted)
previous_valuelongtextThe original value - before the change being logged.
alt_refint(11)Reference of alternative file, if present.

This table is empty by default.

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