<<

NAME

Koha::Schema::Result::Review

TABLE: reviews

ACCESSORS

reviewid

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

unique identifier for this comment

borrowernumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

foreign key from the borrowers table defining which patron left this comment

biblionumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

foreign key from the biblio table defining which bibliographic record this comment is for

review

  data_type: 'mediumtext'
  is_nullable: 1

the body of the comment

approved

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 1

whether this comment has been approved by a librarian (1 for yes, 0 for no)

datereviewed

  data_type: 'datetime'
  datetime_undef_if_invalid: 1
  is_nullable: 1

the date the comment was left

PRIMARY KEY

RELATIONS

biblionumber

Type: belongs_to

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

borrowernumber

Type: belongs_to

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

<<