<<

NAME

Koha::Schema::Result::ImportRecord

TABLE: import_records

ACCESSORS

import_record_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

import_batch_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

branchcode

  data_type: 'varchar'
  is_nullable: 1
  size: 10

record_sequence

  data_type: 'integer'
  default_value: 0
  is_nullable: 0

upload_timestamp

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

import_date

  data_type: 'date'
  datetime_undef_if_invalid: 1
  is_nullable: 1

marc

  data_type: 'longblob'
  is_nullable: 0

marcxml

  data_type: 'longtext'
  is_nullable: 0

marcxml_old

  data_type: 'longtext'
  is_nullable: 0

record_type

  data_type: 'enum'
  default_value: 'biblio'
  extra: {list => ["biblio","auth","holdings"]}
  is_nullable: 0

overlay_status

  data_type: 'enum'
  default_value: 'no_match'
  extra: {list => ["no_match","auto_match","manual_match","match_applied"]}
  is_nullable: 0

status

  data_type: 'enum'
  default_value: 'staged'
  extra: {list => ["error","staged","imported","reverted","items_reverted","ignored"]}
  is_nullable: 0

import_error

  data_type: 'mediumtext'
  is_nullable: 1

encoding

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

z3950random

  data_type: 'varchar'
  is_nullable: 1
  size: 40

PRIMARY KEY

RELATIONS

import_auths

Type: has_many

Related object: Koha::Schema::Result::ImportAuth

import_batch

Type: belongs_to

Related object: Koha::Schema::Result::ImportBatch

import_biblios

Type: has_many

Related object: Koha::Schema::Result::ImportBiblio

import_items

Type: has_many

Related object: Koha::Schema::Result::ImportItem

import_record_matches

Type: has_many

Related object: Koha::Schema::Result::ImportRecordMatch

<<