<<

NAME

Koha::Schema::Result::Course

TABLE: courses

ACCESSORS

course_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

department

  data_type: 'varchar'
  is_nullable: 1
  size: 80

course_number

  data_type: 'varchar'
  is_nullable: 1
  size: 255

section

  data_type: 'varchar'
  is_nullable: 1
  size: 255

course_name

  data_type: 'varchar'
  is_nullable: 1
  size: 255

term

  data_type: 'varchar'
  is_nullable: 1
  size: 80

staff_note

  data_type: 'mediumtext'
  is_nullable: 1

public_note

  data_type: 'mediumtext'
  is_nullable: 1

students_count

  data_type: 'varchar'
  is_nullable: 1
  size: 20

enabled

  data_type: 'enum'
  default_value: 'yes'
  extra: {list => ["yes","no"]}
  is_nullable: 0

timestamp

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

PRIMARY KEY

RELATIONS

course_instructors

Type: has_many

Related object: Koha::Schema::Result::CourseInstructor

course_reserves

Type: has_many

Related object: Koha::Schema::Result::CourseReserve

borrowernumbers

Type: many_to_many

Composing rels: "course_instructors" -> borrowernumber

<<