<<

NAME

Koha::Schema::Result::ErmDocument

TABLE: erm_documents

ACCESSORS

document_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

primary key

agreement_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

link to the agreement

license_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

link to the license

file_name

  data_type: 'varchar'
  is_nullable: 1
  size: 255

name of the file

file_type

  data_type: 'varchar'
  is_nullable: 1
  size: 255

type of the file

file_description

  data_type: 'varchar'
  is_nullable: 1
  size: 255

description of the file

file_content

  data_type: 'longblob'
  is_nullable: 1

the content of the file

uploaded_on

  data_type: 'datetime'
  datetime_undef_if_invalid: 1
  is_nullable: 1

datetime when the file as attached

physical_location

  data_type: 'varchar'
  is_nullable: 1
  size: 255

physical location of the document

uri

  data_type: 'varchar'
  is_nullable: 1
  size: 255

URI of the document

notes

  data_type: 'mediumtext'
  is_nullable: 1

notes about this relationship

PRIMARY KEY

RELATIONS

agreement

Type: belongs_to

Related object: Koha::Schema::Result::ErmAgreement

license

Type: belongs_to

Related object: Koha::Schema::Result::ErmLicense

<<