<<

NAME

Koha::Schema::Result::OpacNews

TABLE: opac_news

ACCESSORS

idnew

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

branchcode

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

title

  data_type: 'varchar'
  default_value: (empty string)
  is_nullable: 0
  size: 250

new

  accessor: undef
  data_type: 'text'
  is_nullable: 0

lang

  data_type: 'varchar'
  default_value: (empty string)
  is_nullable: 0
  size: 25

timestamp

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

expirationdate

  data_type: 'date'
  datetime_undef_if_invalid: 1
  is_nullable: 1

number

  data_type: 'integer'
  is_nullable: 1

borrowernumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

PRIMARY KEY

RELATIONS

borrowernumber

Type: belongs_to

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

branchcode

Type: belongs_to

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

<<