<<

NAME

Koha::Schema::Result::CoverImage

TABLE: cover_images

ACCESSORS

imagenumber

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

unique identifier for the image

biblionumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

foreign key from biblio table to link to biblionumber

itemnumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

foreign key from item table to link to itemnumber

mimetype

  data_type: 'varchar'
  is_nullable: 0
  size: 15

image type

imagefile

  data_type: 'mediumblob'
  is_nullable: 0

image file contents

thumbnail

  data_type: 'mediumblob'
  is_nullable: 0

thumbnail file contents

timestamp

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

image creation/update time

PRIMARY KEY

RELATIONS

biblionumber

Type: belongs_to

Related object: Koha::Schema::Result::Biblio

itemnumber

Type: belongs_to

Related object: Koha::Schema::Result::Item

<<