<<

NAME

Koha::Schema::Result::ActionLog

TABLE: action_logs

ACCESSORS

action_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

unique identifier for each action

timestamp

  data_type: 'timestamp'
  datetime_undef_if_invalid: 1
  default_value: current_timestamp
  is_nullable: 0

the date and time the action took place

user

  data_type: 'integer'
  default_value: 0
  is_nullable: 0

the staff member who performed the action (borrowers.borrowernumber)

module

  data_type: 'mediumtext'
  is_nullable: 1

the module this action was taken against

action

  data_type: 'mediumtext'
  is_nullable: 1

the action (includes things like DELETED, ADDED, MODIFY, etc)

object

  data_type: 'integer'
  is_nullable: 1

the object that the action was taken against (could be a borrowernumber, itemnumber, etc)

info

  data_type: 'mediumtext'
  is_nullable: 1

information about the action (usually includes SQL statement)

interface

  data_type: 'varchar'
  is_nullable: 1
  size: 30

the context this action was taken in

script

  data_type: 'varchar'
  is_nullable: 1
  size: 255

the name of the cron script that caused this change

trace

  data_type: 'text'
  is_nullable: 1

An optional stack trace enabled by ActionLogsTraceDepth

diff

  data_type: 'longtext'
  is_nullable: 1

Stores a diff of the changed object

PRIMARY KEY

<<