<<

NAME

Koha::Schema::Result::ImportBatch

TABLE: import_batches

ACCESSORS

import_batch_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

matcher_id

  data_type: 'integer'
  is_nullable: 1

template_id

  data_type: 'integer'
  is_nullable: 1

branchcode

  data_type: 'varchar'
  is_nullable: 1
  size: 10

num_records

  data_type: 'integer'
  default_value: 0
  is_nullable: 0

num_items

  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

overlay_action

  data_type: 'enum'
  default_value: 'create_new'
  extra: {list => ["replace","create_new","use_template","ignore"]}
  is_nullable: 0

nomatch_action

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

item_action

  data_type: 'enum'
  default_value: 'always_add'
  extra: {list => ["always_add","add_only_for_matches","add_only_for_new","ignore","replace"]}
  is_nullable: 0

import_status

  data_type: 'enum'
  default_value: 'staging'
  extra: {list => ["staging","staged","importing","imported","reverting","reverted","cleaned"]}
  is_nullable: 0

batch_type

  data_type: 'enum'
  default_value: 'batch'
  extra: {list => ["batch","z3950","webservice"]}
  is_nullable: 0

record_type

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

file_name

  data_type: 'varchar'
  is_nullable: 1
  size: 100

comments

  data_type: 'mediumtext'
  is_nullable: 1

PRIMARY KEY

RELATIONS

import_records

Type: has_many

Related object: Koha::Schema::Result::ImportRecord

<<