Collections functions
General functions
Render functions
Theme permission functions
Resource 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
purchase_sizevarchar(10)Purchase size
purchase_pricedecimal(10ยง2)Purchase price
access_keychar(50)External access key (added/deleted)
previous_valuelongtextThe original value - before the change being logged.

This table is empty by default.

Please see the schema overview for context. This document was last updated on the 20th of May 2022 at 08:35 (Europe/London time).