<<

NAME

Koha::Schema::Result::AdditionalContent

TABLE: additional_contents

ACCESSORS

id

  data_type: 'integer'
  extra: {unsigned => 1}
  is_auto_increment: 1
  is_nullable: 0

unique identifier for the additional content category

category

  data_type: 'varchar'
  is_nullable: 0
  size: 20

category for the additional content

code

  data_type: 'varchar'
  is_nullable: 0
  size: 100

code to group content per lang

location

  data_type: 'varchar'
  is_nullable: 0
  size: 255

location of the additional content

branchcode

  data_type: 'varchar'
  is_foreign_key: 1
  is_nullable: 1
  size: 10

branch code users to create branch specific additional content, NULL is every branch.

published_on

  data_type: 'date'
  datetime_undef_if_invalid: 1
  is_nullable: 1

publication date

updated_on

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

last modification

expirationdate

  data_type: 'date'
  datetime_undef_if_invalid: 1
  is_nullable: 1

date the additional content is set to expire or no longer be visible

number

  data_type: 'integer'
  is_nullable: 1

the order in which this additional content appears in that specific location

borrowernumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

The user who created the additional content

PRIMARY KEY

UNIQUE CONSTRAINTS

additional_contents_uniq

RELATIONS

additional_contents_localizations

Type: has_many

Related object: Koha::Schema::Result::AdditionalContentsLocalization

borrowernumber

Type: belongs_to

Related object: Koha::Schema::Result::Borrower

branchcode

Type: belongs_to

Related object: Koha::Schema::Result::Branch

<<