Koha::Schema::Result::ImportBatch
import_batches
data_type: 'integer' is_auto_increment: 1 is_nullable: 0
unique identifier and primary key
data_type: 'integer' is_nullable: 1
the id of the match rule used (matchpoints.matcher_id)
data_type: 'integer' is_nullable: 1
data_type: 'varchar' is_nullable: 1 size: 10
data_type: 'integer' default_value: 0 is_nullable: 0
number of records in the file
data_type: 'integer' default_value: 0 is_nullable: 0
number of items in the file
data_type: 'timestamp' datetime_undef_if_invalid: 1 default_value: current_timestamp is_nullable: 0
date and time the file was uploaded
data_type: 'enum' default_value: 'create_new' extra: {list => ["replace","create_new","use_template","ignore"]} is_nullable: 0
how to handle duplicate records
data_type: 'enum' default_value: 'create_new' extra: {list => ["create_new","ignore"]} is_nullable: 0
how to handle records where no match is found
data_type: 'enum' default_value: 'always_add' extra: {list => ["always_add","add_only_for_matches","add_only_for_new","ignore","replace"]} is_nullable: 0
what to do with item records
data_type: 'enum' default_value: 'staging' extra: {list => ["staging","staged","importing","imported","reverting","reverted","cleaned"]} is_nullable: 0
the status of the imported file
data_type: 'enum' default_value: 'batch' extra: {list => ["batch","z3950","webservice"]} is_nullable: 0
where this batch has come from
data_type: 'enum' default_value: 'biblio' extra: {list => ["biblio","auth","holdings"]} is_nullable: 0
type of record in the batch
data_type: 'varchar' is_nullable: 1 size: 100
the name of the file uploaded
data_type: 'longtext' is_nullable: 1
any comments added when the file was uploaded
data_type: 'integer' is_foreign_key: 1 is_nullable: 1
Type: has_many
Related object: Koha::Schema::Result::ImportRecord
Type: belongs_to
Related object: Koha::Schema::Result::ImportBatchProfile
Koha Object class
Koha Objects class