Coding standards
Security in ResourceSpace
Developer reference
Database
User api session functions
Geolocation functions
Storage test functions

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 13th of November 2026 at 16:05 (Europe/London time).