APA
Consejo superior de investigaciones científicas, e-libro C., . (2012). Arbor. Madrid: Editorial CSIC Consejo Superior de Investigaciones Científicas.
Chicago
Consejo superior de investigaciones científicas, e-libro Corp, . 2012. Arbor. Madrid: Editorial CSIC Consejo Superior de Investigaciones Científicas.
Harvard
Consejo superior de investigaciones científicas, e-libro C., . (2012). Arbor. Madrid: Editorial CSIC Consejo Superior de Investigaciones Científicas.
MLA
Consejo superior de investigaciones científicas, e-libro Corp, . Arbor. Madrid: Editorial CSIC Consejo Superior de Investigaciones Científicas. 2012.
$VAR1 = bless( {
'_resultset' => bless( {
'result_source' => bless( {
'_columns' => {
'itemnotes_nonpublic' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'location' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'issues' => {
'default_value' => 0,
'is_nullable' => 1,
'data_type' => 'smallint'
},
'itemlost_on' => {
'data_type' => 'datetime',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'datelastseen' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'itemnumber' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'damaged' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'homebranch' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 1,
'data_type' => 'varchar',
'is_foreign_key' => 1,
'size' => 10
},
'new_status' => {
'size' => 32,
'data_type' => 'varchar',
'is_nullable' => 1
},
'itype' => {
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
},
'cn_sort' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'renewals' => {
'is_nullable' => 1,
'data_type' => 'smallint'
},
'onloan' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'reserves' => {
'is_nullable' => 1,
'data_type' => 'smallint'
},
'stocknumber' => {
'size' => 32,
'data_type' => 'varchar',
'is_nullable' => 1
},
'datelastborrowed' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'dateaccessioned' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'itemnotes' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'replacementprice' => {
'size' => [
8,
2
],
'is_nullable' => 1,
'data_type' => 'decimal'
},
'withdrawn_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'enumchron' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'restricted' => {
'data_type' => 'tinyint',
'is_nullable' => 1
},
'stack' => {
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'materials' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'copynumber' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 32
},
'cn_source' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'booksellerid' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'price' => {
'size' => [
8,
2
],
'data_type' => 'decimal',
'is_nullable' => 1
},
'timestamp' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 0
},
'deleted_on' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'uri' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'holdingbranch' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
},
'localuse' => {
'data_type' => 'smallint',
'is_nullable' => 1
},
'damaged_on' => {
'data_type' => 'datetime',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'ccode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'notforloan' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'permanent_location' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'exclude_from_local_holds_priority' => {
'data_type' => 'tinyint',
'is_nullable' => 1,
'is_boolean' => 1
},
'biblionumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 0,
'is_foreign_key' => 1
},
'replacementpricedate' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'bookable' => {
'data_type' => 'tinyint',
'is_nullable' => 1,
'is_boolean' => 1
},
'biblioitemnumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 0,
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'withdrawn' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'coded_location_qualifier' => {
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'itemcallnumber' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'more_subfields_xml' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'barcode' => {
'size' => 20,
'data_type' => 'varchar',
'is_nullable' => 1
},
'itemlost' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
}
},
'_unique_constraints' => {
'primary' => [
'itemnumber'
],
'itembarcodeidx' => [
'barcode'
]
},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'_unique_constraints'}{'primary'},
'source_name' => 'Item',
'_ordered_columns' => [
'itemnumber',
'biblionumber',
'biblioitemnumber',
'barcode',
'bookable',
'dateaccessioned',
'booksellerid',
'homebranch',
'price',
'replacementprice',
'replacementpricedate',
'datelastborrowed',
'datelastseen',
'stack',
'notforloan',
'damaged',
'damaged_on',
'itemlost',
'itemlost_on',
'withdrawn',
'withdrawn_on',
'itemcallnumber',
'coded_location_qualifier',
'issues',
'renewals',
'localuse',
'reserves',
'restricted',
'itemnotes',
'itemnotes_nonpublic',
'holdingbranch',
'timestamp',
'deleted_on',
'location',
'permanent_location',
'onloan',
'cn_source',
'cn_sort',
'ccode',
'materials',
'uri',
'itype',
'more_subfields_xml',
'enumchron',
'copynumber',
'stocknumber',
'new_status',
'exclude_from_local_holds_priority'
],
'name' => 'items',
'_relationships' => {
'bookings' => {
'class' => 'Koha::Schema::Result::Booking',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.item_id' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Booking'
},
'biblio' => {
'class' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'biblionumber' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio'
},
'return_claims' => {
'class' => 'Koha::Schema::Result::ReturnClaim',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::ReturnClaim',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
}
},
'serialitem' => {
'class' => 'Koha::Schema::Result::Serialitem',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Serialitem',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'accessor' => 'single',
'cascade_update' => 1
}
},
'item_bundles_item' => {
'class' => 'Koha::Schema::Result::ItemBundle',
'cond' => {
'foreign.item' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::ItemBundle',
'attrs' => {
'cascade_copy' => 0,
'cascade_update' => 1,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'single'
}
},
'accountlines' => {
'source' => 'Koha::Schema::Result::Accountline',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::Accountline'
},
'biblioitem' => {
'cond' => {
'foreign.biblioitemnumber' => 'self.biblioitemnumber'
},
'source' => 'Koha::Schema::Result::Biblioitem',
'attrs' => {
'accessor' => 'single',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'undef_on_null_fk' => 1,
'fk_columns' => {
'biblioitemnumber' => 1
}
},
'class' => 'Koha::Schema::Result::Biblioitem'
},
'items_last_borrower' => {
'class' => 'Koha::Schema::Result::ItemsLastBorrower',
'source' => 'Koha::Schema::Result::ItemsLastBorrower',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_update' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 0,
'cascade_delete' => 0
}
},
'biblioitemnumber' => {
'source' => 'Koha::Schema::Result::Biblioitem',
'cond' => {
'foreign.biblioitemnumber' => 'self.biblioitemnumber'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::Biblioitem'
},
'issue' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'single',
'cascade_delete' => 0,
'cascade_update' => 1
},
'source' => 'Koha::Schema::Result::Issue',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'class' => 'Koha::Schema::Result::Issue'
},
'stockrotationitem' => {
'class' => 'Koha::Schema::Result::Stockrotationitem',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'single',
'cascade_delete' => 0,
'cascade_update' => 1,
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Stockrotationitem',
'cond' => {
'foreign.itemnumber_id' => 'self.itemnumber'
}
},
'old_reserves' => {
'class' => 'Koha::Schema::Result::OldReserve',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::OldReserve',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
}
},
'item_group_item' => {
'class' => 'Koha::Schema::Result::ItemGroupItem',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'single',
'cascade_update' => 1
},
'cond' => {
'foreign.item_id' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::ItemGroupItem'
},
'preservation_trains_items' => {
'cond' => {
'foreign.item_id' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::PreservationTrainsItem',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::PreservationTrainsItem'
},
'course_item' => {
'class' => 'Koha::Schema::Result::CourseItem',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'single',
'cascade_update' => 1
},
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::CourseItem'
},
'home_library' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'on_delete' => 'RESTRICT',
'is_depends_on' => 1,
'fk_columns' => {
'homebranch' => 1
},
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.branchcode' => 'self.homebranch'
},
'source' => 'Koha::Schema::Result::Branch'
},
'current_branchtransfers' => {
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => sub { "DUMMY" },
'source' => 'Koha::Schema::Result::Branchtransfer',
'class' => 'Koha::Schema::Result::Branchtransfer'
},
'club_holds' => {
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::ClubHold',
'cond' => {
'foreign.item_id' => 'self.itemnumber'
},
'class' => 'Koha::Schema::Result::ClubHold'
},
'hold_fill_target' => {
'attrs' => {
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 0,
'cascade_delete' => 0,
'cascade_update' => 1,
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::HoldFillTarget',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'class' => 'Koha::Schema::Result::HoldFillTarget'
},
'aqorders_item' => {
'source' => 'Koha::Schema::Result::AqordersItem',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::AqordersItem'
},
'old_issues' => {
'class' => 'Koha::Schema::Result::OldIssue',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
},
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::OldIssue'
},
'homebranch' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'is_depends_on' => 1,
'on_delete' => 'RESTRICT',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.branchcode' => 'self.homebranch'
},
'source' => 'Koha::Schema::Result::Branch'
},
'branchtransfers' => {
'class' => 'Koha::Schema::Result::Branchtransfer',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Branchtransfer'
},
'linktrackers' => {
'class' => 'Koha::Schema::Result::Linktracker',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::Linktracker',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
}
},
'holdingbranch' => {
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'RESTRICT',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.holdingbranch'
},
'class' => 'Koha::Schema::Result::Branch'
},
'reserves' => {
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Reserve',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'class' => 'Koha::Schema::Result::Reserve'
},
'holding_library' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'fk_columns' => {
'holdingbranch' => 1
},
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'is_depends_on' => 1,
'on_delete' => 'RESTRICT',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.holdingbranch'
}
},
'article_requests' => {
'source' => 'Koha::Schema::Result::ArticleRequest',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ArticleRequest'
},
'item_bundles_hosts' => {
'cond' => {
'foreign.host' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::ItemBundle',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::ItemBundle'
},
'serial_item' => {
'class' => 'Koha::Schema::Result::Serialitem',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 0,
'cascade_delete' => 0,
'cascade_update' => 1
},
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Serialitem'
},
'creator_batches' => {
'cond' => {
'foreign.item_number' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::CreatorBatch',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::CreatorBatch'
},
'last_returned_by' => {
'class' => 'Koha::Schema::Result::ItemsLastBorrower',
'source' => 'Koha::Schema::Result::ItemsLastBorrower',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'single',
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'cascade_update' => 1
}
},
'cover_images' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
},
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::CoverImage',
'class' => 'Koha::Schema::Result::CoverImage'
},
'recalls' => {
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.item_id' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Recall',
'class' => 'Koha::Schema::Result::Recall'
},
'tmp_holdsqueue' => {
'class' => 'Koha::Schema::Result::TmpHoldsqueue',
'source' => 'Koha::Schema::Result::TmpHoldsqueue',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_update' => 1,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'accessor' => 'single',
'cascade_delete' => 0
}
},
'biblionumber' => {
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::Biblio'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Item',
'schema' => bless( {
'storage' => bless( {
'_connect_info' => [
{
'dbh_maker' => sub { "DUMMY" },
'quote_names' => 1,
'auto_savepoint' => 1
}
],
'_driver_determined' => 1,
'_dbh' => bless( {}, 'DBI::db' ),
'savepoints' => [],
'_dbh_autocommit' => 1,
'_sql_maker_opts' => {
'quote_names' => 1
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_dbh_details' => {
'_datatype_map_cache' => {
'varchar' => undef,
'enum' => undef,
'mediumtext' => undef,
'tinyint' => undef,
'integer' => undef
},
'info' => {
'normalized_dbms_version' => '5.005005',
'dbms_version' => '5.5.5-10.6.22-MariaDB-0ubuntu0.22.04.1'
}
},
'_conn_pid' => 2211472,
'_dbic_connect_attributes' => {
'ShowErrorStatement' => 1,
'AutoCommit' => 1,
'PrintError' => 0,
'RaiseError' => 1
},
'_sql_maker' => bless( {
'sqlfalse' => '0=1',
'quote_char' => '`',
'like_op' => qr/^ (is\s+)? r?like $/ix,
'limit_dialect' => 'LimitXY',
'sqltrue' => '1=1',
'name_sep' => '.',
'array_datatypes' => 1,
'equality_op' => qr/^( \= | \= )$/ix,
'inequality_op' => qr/^( != | <> )$/ix,
'unary_ops' => [
{
'handler' => '_where_op_ANDOR',
'regex' => qr/^ and (?: [_\s]? \d+ )? $/ix
},
{
'handler' => '_where_op_ANDOR',
'regex' => qr/^ or (?: [_\s]? \d+ )? $/ix
},
{
'regex' => qr/^ nest (?: [_\s]? \d+ )? $/ix,
'handler' => '_where_op_NEST'
},
{
'handler' => '_where_op_BOOL',
'regex' => qr/^ (?: not \s )? bool $/ix
},
{
'regex' => qr/^ ident $/ix,
'handler' => '_where_op_IDENT'
},
{
'regex' => qr/^ value $/ix,
'handler' => '_where_op_VALUE'
}
],
'bindtype' => 'columns',
'special_ops' => [
{
'regex' => qr/^ (?: not \s )? between $/ix,
'handler' => '_where_field_BETWEEN'
},
{
'handler' => '_where_field_IN',
'regex' => qr/^ (?: not \s )? in $/ix
},
{
'regex' => qr/^ ident $/ix,
'handler' => '_where_op_IDENT'
},
{
'regex' => qr/^ value $/ix,
'handler' => '_where_op_VALUE'
},
{
'regex' => qr/^ is (?: \s+ not )? $/ix,
'handler' => '_where_field_IS'
}
],
'quote_names' => 1,
'injection_guard' => qr/
\;
|
^ \s* go \s
/mix,
'logic' => 'OR',
'not_like_op' => qr/^ (is\s+)? not \s+ r?like $/ix,
'cmp' => '='
}, 'DBIx::Class::SQLMaker::MySQL' ),
'_in_do_block' => 0,
'auto_savepoint' => 1,
'transaction_depth' => 0,
'_dbi_connect_info' => [
$VAR1->{'_resultset'}{'result_source'}{'schema'}{'storage'}{'_connect_info'}[0]{'dbh_maker'}
]
}, 'DBIx::Class::Storage::DBI::mysql' ),
'class_mappings' => {
'Koha::Schema::Result::LanguageRfc4646ToIso639' => 'LanguageRfc4646ToIso639',
'Koha::Schema::Result::RestrictionType' => 'RestrictionType',
'Koha::Schema::Result::Collection' => 'Collection',
'Koha::Schema::Result::RecordSource' => 'RecordSource',
'Koha::Schema::Result::AdvancedEditorMacro' => 'AdvancedEditorMacro',
'Koha::Schema::Result::AuthTagStructure' => 'AuthTagStructure',
'Koha::Schema::Result::BiblioFramework' => 'BiblioFramework',
'Koha::Schema::Result::TransportCost' => 'TransportCost',
'Koha::Schema::Result::BorrowerAttribute' => 'BorrowerAttribute',
'Koha::Schema::Result::MatcherMatchpoint' => 'MatcherMatchpoint',
'Koha::Schema::Result::MessageQueue' => 'MessageQueue',
'Koha::Schema::Result::BorrowerAttributeTypesBranch' => 'BorrowerAttributeTypesBranch',
'Koha::Schema::Result::Serialitem' => 'Serialitem',
'Koha::Schema::Result::Subscriptionhistory' => 'Subscriptionhistory',
'Koha::Schema::Result::BorrowerRelationship' => 'BorrowerRelationship',
'Koha::Schema::Result::AuthorisedValue' => 'AuthorisedValue',
'Koha::Schema::Result::Zebraqueue' => 'Zebraqueue',
'Koha::Schema::Result::Branchtransfer' => 'Branchtransfer',
'Koha::Schema::Result::PreservationTrainsItem' => 'PreservationTrainsItem',
'Koha::Schema::Result::ArticleRequest' => 'ArticleRequest',
'Koha::Schema::Result::PreservationTrain' => 'PreservationTrain',
'Koha::Schema::Result::ErmUsageYus' => 'ErmUsageYus',
'Koha::Schema::Result::ItemEditorTemplate' => 'ItemEditorTemplate',
'Koha::Schema::Result::SavedSql' => 'SavedSql',
'Koha::Schema::Result::HouseboundProfile' => 'HouseboundProfile',
'Koha::Schema::Result::PatronListPatron' => 'PatronListPatron',
'Koha::Schema::Result::Borrower' => 'Borrower',
'Koha::Schema::Result::Alert' => 'Alert',
'Koha::Schema::Result::AqbooksellerInterface' => 'AqbooksellerInterface',
'Koha::Schema::Result::TmpHoldsqueue' => 'TmpHoldsqueue',
'Koha::Schema::Result::CoverImage' => 'CoverImage',
'Koha::Schema::Result::AccountDebitTypesBranch' => 'AccountDebitTypesBranch',
'Koha::Schema::Result::MarcSubfieldStructure' => 'MarcSubfieldStructure',
'Koha::Schema::Result::ImportBatch' => 'ImportBatch',
'Koha::Schema::Result::OaiServer' => 'OaiServer',
'Koha::Schema::Result::ErmUserRole' => 'ErmUserRole',
'Koha::Schema::Result::Aqbasket' => 'Aqbasket',
'Koha::Schema::Result::ClassSource' => 'ClassSource',
'Koha::Schema::Result::ErmEholdingsPackagesAgreement' => 'ErmEholdingsPackagesAgreement',
'Koha::Schema::Result::CreatorLayout' => 'CreatorLayout',
'Koha::Schema::Result::Stockrotationstage' => 'Stockrotationstage',
'Koha::Schema::Result::AccountDebitType' => 'AccountDebitType',
'Koha::Schema::Result::CourseReserve' => 'CourseReserve',
'Koha::Schema::Result::MarcModificationTemplate' => 'MarcModificationTemplate',
'Koha::Schema::Result::SubscriptionNumberpattern' => 'SubscriptionNumberpattern',
'Koha::Schema::Result::LibraryHour' => 'LibraryHour',
'Koha::Schema::Result::ErmDocument' => 'ErmDocument',
'Koha::Schema::Result::ImportOaiAuthority' => 'ImportOaiAuthority',
'Koha::Schema::Result::Stockrotationitem' => 'Stockrotationitem',
'Koha::Schema::Result::BorrowerFile' => 'BorrowerFile',
'Koha::Schema::Result::Course' => 'Course',
'Koha::Schema::Result::LanguageScriptBidi' => 'LanguageScriptBidi',
'Koha::Schema::Result::ErmEholdingsTitle' => 'ErmEholdingsTitle',
'Koha::Schema::Result::OaiSetsMapping' => 'OaiSetsMapping',
'Koha::Schema::Result::UploadedFile' => 'UploadedFile',
'Koha::Schema::Result::AuthSubfieldStructure' => 'AuthSubfieldStructure',
'Koha::Schema::Result::Aqinvoice' => 'Aqinvoice',
'Koha::Schema::Result::Reserve' => 'Reserve',
'Koha::Schema::Result::Quote' => 'Quote',
'Koha::Schema::Result::BorrowerMessageTransportPreference' => 'BorrowerMessageTransportPreference',
'Koha::Schema::Result::ExportFormat' => 'ExportFormat',
'Koha::Schema::Result::PatronConsent' => 'PatronConsent',
'Koha::Schema::Result::AccountCreditType' => 'AccountCreditType',
'Koha::Schema::Result::ClassSortRule' => 'ClassSortRule',
'Koha::Schema::Result::ReportsDictionary' => 'ReportsDictionary',
'Koha::Schema::Result::Issue' => 'Issue',
'Koha::Schema::Result::Z3950server' => 'Z3950server',
'Koha::Schema::Result::CurbsidePickupPolicy' => 'CurbsidePickupPolicy',
'Koha::Schema::Result::CurbsidePickup' => 'CurbsidePickup',
'Koha::Schema::Result::SearchMarcMap' => 'SearchMarcMap',
'Koha::Schema::Result::ErmLicense' => 'ErmLicense',
'Koha::Schema::Result::BorrowerAttributeType' => 'BorrowerAttributeType',
'Koha::Schema::Result::CurbsidePickupIssue' => 'CurbsidePickupIssue',
'Koha::Schema::Result::TagsApproval' => 'TagsApproval',
'Koha::Schema::Result::Currency' => 'Currency',
'Koha::Schema::Result::ClubTemplate' => 'ClubTemplate',
'Koha::Schema::Result::Booking' => 'Booking',
'Koha::Schema::Result::AqinvoiceAdjustment' => 'AqinvoiceAdjustment',
'Koha::Schema::Result::Deleteditem' => 'Deleteditem',
'Koha::Schema::Result::CashRegisterAction' => 'CashRegisterAction',
'Koha::Schema::Result::TablesSetting' => 'TablesSetting',
'Koha::Schema::Result::Virtualshelve' => 'Virtualshelve',
'Koha::Schema::Result::SmtpServer' => 'SmtpServer',
'Koha::Schema::Result::MiscFile' => 'MiscFile',
'Koha::Schema::Result::Permission' => 'Permission',
'Koha::Schema::Result::ImportBiblio' => 'ImportBiblio',
'Koha::Schema::Result::Virtualshelfcontent' => 'Virtualshelfcontent',
'Koha::Schema::Result::Illrequest' => 'Illrequest',
'Koha::Schema::Result::ErmAgreement' => 'ErmAgreement',
'Koha::Schema::Result::Aqbudget' => 'Aqbudget',
'Koha::Schema::Result::HouseboundRole' => 'HouseboundRole',
'Koha::Schema::Result::ErmCounterFile' => 'ErmCounterFile',
'Koha::Schema::Result::CreatorBatch' => 'CreatorBatch',
'Koha::Schema::Result::Ticket' => 'Ticket',
'Koha::Schema::Result::CategoriesBranch' => 'CategoriesBranch',
'Koha::Schema::Result::CreatorTemplate' => 'CreatorTemplate',
'Koha::Schema::Result::PatronList' => 'PatronList',
'Koha::Schema::Result::ActionLog' => 'ActionLog',
'Koha::Schema::Result::ErmUsageItem' => 'ErmUsageItem',
'Koha::Schema::Result::AqbooksellerIssue' => 'AqbooksellerIssue',
'Koha::Schema::Result::HoldCancellationRequest' => 'HoldCancellationRequest',
'Koha::Schema::Result::SearchField' => 'SearchField',
'Koha::Schema::Result::Aqbasketuser' => 'Aqbasketuser',
'Koha::Schema::Result::TagsIndex' => 'TagsIndex',
'Koha::Schema::Result::BorrowerModification' => 'BorrowerModification',
'Koha::Schema::Result::Subscriptionroutinglist' => 'Subscriptionroutinglist',
'Koha::Schema::Result::EdifactMessage' => 'EdifactMessage',
'Koha::Schema::Result::Patronimage' => 'Patronimage',
'Koha::Schema::Result::ErmEholdingsPackage' => 'ErmEholdingsPackage',
'Koha::Schema::Result::MatchpointComponent' => 'MatchpointComponent',
'Koha::Schema::Result::Biblio' => 'Biblio',
'Koha::Schema::Result::ErmUsagePlatform' => 'ErmUsagePlatform',
'Koha::Schema::Result::ItemBundle' => 'ItemBundle',
'Koha::Schema::Result::City' => 'City',
'Koha::Schema::Result::CashRegister' => 'CashRegister',
'Koha::Schema::Result::Review' => 'Review',
'Koha::Schema::Result::ErmEholdingsResource' => 'ErmEholdingsResource',
'Koha::Schema::Result::SmsProvider' => 'SmsProvider',
'Koha::Schema::Result::AuthHeader' => 'AuthHeader',
'Koha::Schema::Result::ErmAgreementLicense' => 'ErmAgreementLicense',
'Koha::Schema::Result::ImportBatchProfile' => 'ImportBatchProfile',
'Koha::Schema::Result::ApiKey' => 'ApiKey',
'Koha::Schema::Result::PreservationProcessing' => 'PreservationProcessing',
'Koha::Schema::Result::BorrowerMessagePreference' => 'BorrowerMessagePreference',
'Koha::Schema::Result::AqordersItem' => 'AqordersItem',
'Koha::Schema::Result::AccountCreditTypesBranch' => 'AccountCreditTypesBranch',
'Koha::Schema::Result::HoldFillTarget' => 'HoldFillTarget',
'Koha::Schema::Result::ItemsLastBorrower' => 'ItemsLastBorrower',
'Koha::Schema::Result::CirculationRule' => 'CirculationRule',
'Koha::Schema::Result::AqbooksellerAlias' => 'AqbooksellerAlias',
'Koha::Schema::Result::Subscription' => 'Subscription',
'Koha::Schema::Result::CourseItem' => 'CourseItem',
'Koha::Schema::Result::Tag' => 'Tag',
'Koha::Schema::Result::Biblioitem' => 'Biblioitem',
'Koha::Schema::Result::Deletedbiblioitem' => 'Deletedbiblioitem',
'Koha::Schema::Result::Illbatch' => 'Illbatch',
'Koha::Schema::Result::MarcModificationTemplateAction' => 'MarcModificationTemplateAction',
'Koha::Schema::Result::DeletedbiblioMetadata' => 'DeletedbiblioMetadata',
'Koha::Schema::Result::LanguageDescription' => 'LanguageDescription',
'Koha::Schema::Result::Browser' => 'Browser',
'Koha::Schema::Result::OldIssue' => 'OldIssue',
'Koha::Schema::Result::TagAll' => 'TagAll',
'Koha::Schema::Result::Systempreference' => 'Systempreference',
'Koha::Schema::Result::AdditionalContentsLocalization' => 'AdditionalContentsLocalization',
'Koha::Schema::Result::ItemsSearchField' => 'ItemsSearchField',
'Koha::Schema::Result::AdditionalField' => 'AdditionalField',
'Koha::Schema::Result::CheckoutRenewal' => 'CheckoutRenewal',
'Koha::Schema::Result::ProblemReport' => 'ProblemReport',
'Koha::Schema::Result::ColumnsSetting' => 'ColumnsSetting',
'Koha::Schema::Result::VendorEdiAccount' => 'VendorEdiAccount',
'Koha::Schema::Result::OaiSetsDescription' => 'OaiSetsDescription',
'Koha::Schema::Result::PseudonymizedTransaction' => 'PseudonymizedTransaction',
'Koha::Schema::Result::LanguageScriptMapping' => 'LanguageScriptMapping',
'Koha::Schema::Result::SubscriptionFrequency' => 'SubscriptionFrequency',
'Koha::Schema::Result::PendingOfflineOperation' => 'PendingOfflineOperation',
'Koha::Schema::Result::IdentityProvider' => 'IdentityProvider',
'Koha::Schema::Result::Matchcheck' => 'Matchcheck',
'Koha::Schema::Result::Aqcontact' => 'Aqcontact',
'Koha::Schema::Result::ClubTemplateField' => 'ClubTemplateField',
'Koha::Schema::Result::Userflag' => 'Userflag',
'Koha::Schema::Result::MarcOverlayRule' => 'MarcOverlayRule',
'Koha::Schema::Result::Aqbookseller' => 'Aqbookseller',
'Koha::Schema::Result::SearchHistory' => 'SearchHistory',
'Koha::Schema::Result::Serial' => 'Serial',
'Koha::Schema::Result::OldReserve' => 'OldReserve',
'Koha::Schema::Result::Deletedborrower' => 'Deletedborrower',
'Koha::Schema::Result::SearchMarcToField' => 'SearchMarcToField',
'Koha::Schema::Result::ItemGroup' => 'ItemGroup',
'Koha::Schema::Result::Discharge' => 'Discharge',
'Koha::Schema::Result::ErmAgreementRelationship' => 'ErmAgreementRelationship',
'Koha::Schema::Result::ImportRecord' => 'ImportRecord',
'Koha::Schema::Result::Illrequestattribute' => 'Illrequestattribute',
'Koha::Schema::Result::Statistic' => 'Statistic',
'Koha::Schema::Result::MatchpointComponentNorm' => 'MatchpointComponentNorm',
'Koha::Schema::Result::OverduerulesTransportType' => 'OverduerulesTransportType',
'Koha::Schema::Result::Item' => 'Item',
'Koha::Schema::Result::Message' => 'Message',
'Koha::Schema::Result::RepeatableHoliday' => 'RepeatableHoliday',
'Koha::Schema::Result::CollectionsTracking' => 'CollectionsTracking',
'Koha::Schema::Result::Deletedbiblio' => 'Deletedbiblio',
'Koha::Schema::Result::AdditionalContent' => 'AdditionalContent',
'Koha::Schema::Result::Category' => 'Category',
'Koha::Schema::Result::Illcomment' => 'Illcomment',
'Koha::Schema::Result::BiblioMetadata' => 'BiblioMetadata',
'Koha::Schema::Result::BranchTransferLimit' => 'BranchTransferLimit',
'Koha::Schema::Result::ImportAuth' => 'ImportAuth',
'Koha::Schema::Result::UserPermission' => 'UserPermission',
'Koha::Schema::Result::Suggestion' => 'Suggestion',
'Koha::Schema::Result::AqordersClaim' => 'AqordersClaim',
'Koha::Schema::Result::BorrowerPasswordRecovery' => 'BorrowerPasswordRecovery',
'Koha::Schema::Result::ErmDefaultUsageReport' => 'ErmDefaultUsageReport',
'Koha::Schema::Result::ClubEnrollmentField' => 'ClubEnrollmentField',
'Koha::Schema::Result::Accountline' => 'Accountline',
'Koha::Schema::Result::MarcOrderAccount' => 'MarcOrderAccount',
'Koha::Schema::Result::AdditionalFieldValue' => 'AdditionalFieldValue',
'Koha::Schema::Result::SavedReport' => 'SavedReport',
'Koha::Schema::Result::PreservationProcessingAttribute' => 'PreservationProcessingAttribute',
'Koha::Schema::Result::OaiSet' => 'OaiSet',
'Koha::Schema::Result::PreservationProcessingAttributesItem' => 'PreservationProcessingAttributesItem',
'Koha::Schema::Result::AuthorisedValueCategory' => 'AuthorisedValueCategory',
'Koha::Schema::Result::PluginData' => 'PluginData',
'Koha::Schema::Result::Desk' => 'Desk',
'Koha::Schema::Result::Rating' => 'Rating',
'Koha::Schema::Result::OauthAccessToken' => 'OauthAccessToken',
'Koha::Schema::Result::ImportOaiBiblio' => 'ImportOaiBiblio',
'Koha::Schema::Result::ErmCounterLog' => 'ErmCounterLog',
'Koha::Schema::Result::KeyboardShortcut' => 'KeyboardShortcut',
'Koha::Schema::Result::Aqorder' => 'Aqorder',
'Koha::Schema::Result::Letter' => 'Letter',
'Koha::Schema::Result::BackgroundJob' => 'BackgroundJob',
'Koha::Schema::Result::ClubEnrollment' => 'ClubEnrollment',
'Koha::Schema::Result::Linktracker' => 'Linktracker',
'Koha::Schema::Result::AqordersTransfer' => 'AqordersTransfer',
'Koha::Schema::Result::ItemCirculationAlertPreference' => 'ItemCirculationAlertPreference',
'Koha::Schema::Result::Stockrotationrota' => 'Stockrotationrota',
'Koha::Schema::Result::CourseInstructor' => 'CourseInstructor',
'Koha::Schema::Result::SpecialHoliday' => 'SpecialHoliday',
'Koha::Schema::Result::Itemtype' => 'Itemtype',
'Koha::Schema::Result::EdifactEan' => 'EdifactEan',
'Koha::Schema::Result::OaiSetsBiblio' => 'OaiSetsBiblio',
'Koha::Schema::Result::Overduerule' => 'Overduerule',
'Koha::Schema::Result::LibraryGroup' => 'LibraryGroup',
'Koha::Schema::Result::Localization' => 'Localization',
'Koha::Schema::Result::ErmUsageMus' => 'ErmUsageMus',
'Koha::Schema::Result::ClubField' => 'ClubField',
'Koha::Schema::Result::SocialData' => 'SocialData',
'Koha::Schema::Result::ImportRecordMatch' => 'ImportRecordMatch',
'Koha::Schema::Result::ClubHoldsToPatronHold' => 'ClubHoldsToPatronHold',
'Koha::Schema::Result::IllbatchStatus' => 'IllbatchStatus',
'Koha::Schema::Result::Aqcontract' => 'Aqcontract',
'Koha::Schema::Result::ImportItem' => 'ImportItem',
'Koha::Schema::Result::CreatorImage' => 'CreatorImage',
'Koha::Schema::Result::BranchesOverdrive' => 'BranchesOverdrive',
'Koha::Schema::Result::IdentityProviderDomain' => 'IdentityProviderDomain',
'Koha::Schema::Result::Session' => 'Session',
'Koha::Schema::Result::CurbsidePickupOpeningSlot' => 'CurbsidePickupOpeningSlot',
'Koha::Schema::Result::PrintersProfile' => 'PrintersProfile',
'Koha::Schema::Result::Aqbudgetborrower' => 'Aqbudgetborrower',
'Koha::Schema::Result::AuthType' => 'AuthType',
'Koha::Schema::Result::PseudonymizedBorrowerAttribute' => 'PseudonymizedBorrowerAttribute',
'Koha::Schema::Result::ClassSplitRule' => 'ClassSplitRule',
'Koha::Schema::Result::NeedMergeAuthority' => 'NeedMergeAuthority',
'Koha::Schema::Result::PluginMethod' => 'PluginMethod',
'Koha::Schema::Result::HouseboundVisit' => 'HouseboundVisit',
'Koha::Schema::Result::Recall' => 'Recall',
'Koha::Schema::Result::ItemtypeLocalization' => 'ItemtypeLocalization',
'Koha::Schema::Result::Aqbudgetperiod' => 'Aqbudgetperiod',
'Koha::Schema::Result::ErmUsageDatabase' => 'ErmUsageDatabase',
'Koha::Schema::Result::ErmUsageTitle' => 'ErmUsageTitle',
'Koha::Schema::Result::MessageTransportType' => 'MessageTransportType',
'Koha::Schema::Result::SearchFilter' => 'SearchFilter',
'Koha::Schema::Result::TicketUpdate' => 'TicketUpdate',
'Koha::Schema::Result::ReturnClaim' => 'ReturnClaim',
'Koha::Schema::Result::AqorderUser' => 'AqorderUser',
'Koha::Schema::Result::ErmAgreementPeriod' => 'ErmAgreementPeriod',
'Koha::Schema::Result::ErmUsageDataProvider' => 'ErmUsageDataProvider',
'Koha::Schema::Result::AqbudgetsPlanning' => 'AqbudgetsPlanning',
'Koha::Schema::Result::Aqbasketgroup' => 'Aqbasketgroup',
'Koha::Schema::Result::LanguageSubtagRegistry' => 'LanguageSubtagRegistry',
'Koha::Schema::Result::Club' => 'Club',
'Koha::Schema::Result::Branch' => 'Branch',
'Koha::Schema::Result::MessageTransport' => 'MessageTransport',
'Koha::Schema::Result::AccountOffset' => 'AccountOffset',
'Koha::Schema::Result::ClubHold' => 'ClubHold',
'Koha::Schema::Result::ItemtypesBranch' => 'ItemtypesBranch',
'Koha::Schema::Result::MessageAttribute' => 'MessageAttribute',
'Koha::Schema::Result::AuthorisedValuesBranch' => 'AuthorisedValuesBranch',
'Koha::Schema::Result::ClubTemplateEnrollmentField' => 'ClubTemplateEnrollmentField',
'Koha::Schema::Result::BorrowerDebarment' => 'BorrowerDebarment',
'Koha::Schema::Result::LibrarySmtpServer' => 'LibrarySmtpServer',
'Koha::Schema::Result::MarcTagStructure' => 'MarcTagStructure',
'Koha::Schema::Result::AudioAlert' => 'AudioAlert',
'Koha::Schema::Result::MarcMatcher' => 'MarcMatcher',
'Koha::Schema::Result::ItemGroupItem' => 'ItemGroupItem',
'Koha::Schema::Result::Matchpoint' => 'Matchpoint',
'Koha::Schema::Result::Virtualshelfshare' => 'Virtualshelfshare'
},
'source_registrations' => {
'Statistic' => bless( {
'_columns' => {
'value' => {
'is_nullable' => 1,
'data_type' => 'double precision',
'size' => [
16,
4
]
},
'other' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'borrowernumber' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'type' => {
'size' => 16,
'data_type' => 'varchar',
'is_nullable' => 1
},
'interface' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 30
},
'location' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'branch' => {
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
},
'categorycode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'itemnumber' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'datetime' => {
'is_nullable' => 1,
'data_type' => 'datetime',
'datetime_undef_if_invalid' => 1
},
'itemtype' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'ccode' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
}
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {},
'result_class' => 'Koha::Schema::Result::Statistic',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'datetime',
'branch',
'value',
'type',
'other',
'itemnumber',
'itemtype',
'location',
'borrowernumber',
'ccode',
'categorycode',
'interface'
],
'name' => 'statistics',
'source_name' => 'Statistic',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'Course' => bless( {
'_primaries' => [
'course_id'
],
'source_name' => 'Course',
'_columns_info_loaded' => 0,
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Course',
'_relationships' => {
'course_reserves' => {
'source' => 'Koha::Schema::Result::CourseReserve',
'cond' => {
'foreign.course_id' => 'self.course_id'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::CourseReserve'
},
'course_instructors' => {
'class' => 'Koha::Schema::Result::CourseInstructor',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::CourseInstructor',
'cond' => {
'foreign.course_id' => 'self.course_id'
}
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'course_id',
'department',
'course_number',
'section',
'course_name',
'term',
'staff_note',
'public_note',
'students_count',
'enabled',
'timestamp'
],
'name' => 'courses',
'_columns' => {
'enabled' => {
'default_value' => 'yes',
'extra' => {
'list' => [
'yes',
'no'
]
},
'is_nullable' => 0,
'data_type' => 'enum'
},
'course_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'term' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'section' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'department' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'staff_note' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'course_name' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'timestamp' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'students_count' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 20
},
'course_number' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'public_note' => {
'data_type' => 'longtext',
'is_nullable' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Course'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'AccountDebitTypesBranch' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'AccountDebitTypesBranch',
'name' => 'account_debit_types_branches',
'_ordered_columns' => [
'debit_type_code',
'branchcode'
],
'_relationships' => {
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'RESTRICT',
'is_deferrable' => 1
}
},
'debit_type_code' => {
'cond' => {
'foreign.code' => 'self.debit_type_code'
},
'source' => 'Koha::Schema::Result::AccountDebitType',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'RESTRICT',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::AccountDebitType'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::AccountDebitTypesBranch',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'branchcode' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
},
'debit_type_code' => {
'size' => 80,
'is_foreign_key' => 1,
'data_type' => 'varchar',
'is_nullable' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'SearchMarcMap' => bless( {
'_columns' => {
'marc_field' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'index_name' => {
'extra' => {
'list' => [
'biblios',
'authorities'
]
},
'data_type' => 'enum',
'is_nullable' => 0
},
'marc_type' => {
'data_type' => 'enum',
'is_nullable' => 0,
'extra' => {
'list' => [
'marc21',
'unimarc'
]
}
}
},
'_unique_constraints' => {
'index_name' => [
'index_name',
'marc_field',
'marc_type'
],
'primary' => [
'id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SearchMarcMap'}{'_unique_constraints'}{'primary'},
'source_name' => 'SearchMarcMap',
'_columns_info_loaded' => 0,
'_relationships' => {
'search_marc_to_fields' => {
'class' => 'Koha::Schema::Result::SearchMarcToField',
'source' => 'Koha::Schema::Result::SearchMarcToField',
'cond' => {
'foreign.search_marc_map_id' => 'self.id'
},
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
}
}
},
'result_class' => 'Koha::Schema::Result::SearchMarcMap',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'search_marc_map',
'_ordered_columns' => [
'id',
'index_name',
'marc_type',
'marc_field'
]
}, 'DBIx::Class::ResultSource::Table' ),
'ClubTemplate' => bless( {
'source_name' => 'ClubTemplate',
'_primaries' => [
'id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::ClubTemplate',
'resultset_attributes' => {},
'_relationships' => {
'club_template_enrollment_fields' => {
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.club_template_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::ClubTemplateEnrollmentField',
'class' => 'Koha::Schema::Result::ClubTemplateEnrollmentField'
},
'clubs' => {
'source' => 'Koha::Schema::Result::Club',
'cond' => {
'foreign.club_template_id' => 'self.id'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::Club'
},
'club_template_fields' => {
'class' => 'Koha::Schema::Result::ClubTemplateField',
'source' => 'Koha::Schema::Result::ClubTemplateField',
'cond' => {
'foreign.club_template_id' => 'self.id'
},
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'club_templates',
'_ordered_columns' => [
'id',
'name',
'description',
'is_enrollable_from_opac',
'is_email_required',
'branchcode',
'date_created',
'date_updated',
'is_deletable'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubTemplate'}{'_primaries'}
},
'_columns' => {
'is_deletable' => {
'default_value' => 1,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'branchcode' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'size' => 10,
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'description' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'name' => {
'is_nullable' => 0,
'data_type' => 'text'
},
'is_enrollable_from_opac' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'date_created' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'date_updated' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'timestamp'
},
'is_email_required' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'LibraryHour' => bless( {
'_columns' => {
'day' => {
'extra' => {
'list' => [
0,
1,
2,
3,
4,
5,
6
]
},
'is_nullable' => 0,
'data_type' => 'enum',
'default_value' => 0
},
'close_time' => {
'data_type' => 'time',
'is_nullable' => 1
},
'library_id' => {
'is_foreign_key' => 1,
'size' => 10,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'open_time' => {
'is_nullable' => 1,
'data_type' => 'time'
}
},
'_unique_constraints' => {
'primary' => [
'library_id',
'day'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LibraryHour'}{'_unique_constraints'}{'primary'},
'source_name' => 'LibraryHour',
'_columns_info_loaded' => 0,
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'library' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'library_id' => 1
},
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.branchcode' => 'self.library_id'
},
'source' => 'Koha::Schema::Result::Branch'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::LibraryHour',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'library_id',
'day',
'open_time',
'close_time'
],
'name' => 'library_hours'
}, 'DBIx::Class::ResultSource::Table' ),
'Aqbasketuser' => bless( {
'_ordered_columns' => [
'basketno',
'borrowernumber'
],
'name' => 'aqbasketusers',
'result_class' => 'Koha::Schema::Result::Aqbasketuser',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'basketno' => {
'class' => 'Koha::Schema::Result::Aqbasket',
'attrs' => {
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.basketno' => 'self.basketno'
},
'source' => 'Koha::Schema::Result::Aqbasket'
},
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
}
},
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => [
'basketno',
'borrowernumber'
],
'source_name' => 'Aqbasketuser',
'_columns' => {
'borrowernumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'basketno' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer',
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqbasketuser'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmEholdingsPackagesAgreement' => bless( {
'source_name' => 'ErmEholdingsPackagesAgreement',
'_primaries' => [
'package_id',
'agreement_id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::ErmEholdingsPackagesAgreement',
'_relationships' => {
'package' => {
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'package_id' => 1
}
},
'cond' => {
'foreign.package_id' => 'self.package_id'
},
'source' => 'Koha::Schema::Result::ErmEholdingsPackage',
'class' => 'Koha::Schema::Result::ErmEholdingsPackage'
},
'agreement' => {
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'agreement_id' => 1
}
},
'cond' => {
'foreign.agreement_id' => 'self.agreement_id'
},
'source' => 'Koha::Schema::Result::ErmAgreement',
'class' => 'Koha::Schema::Result::ErmAgreement'
}
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'erm_eholdings_packages_agreements',
'_ordered_columns' => [
'package_id',
'agreement_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmEholdingsPackagesAgreement'}{'_primaries'}
},
'_columns' => {
'package_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'agreement_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmAgreementLicense' => bless( {
'_unique_constraints' => {
'erm_agreement_licenses_uniq' => [
'agreement_id',
'license_id'
],
'primary' => [
'agreement_license_id'
]
},
'_columns' => {
'agreement_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'uri' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'notes' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'status' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 80
},
'physical_location' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'agreement_license_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'license_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
},
'name' => 'erm_agreement_licenses',
'_ordered_columns' => [
'agreement_license_id',
'agreement_id',
'license_id',
'status',
'physical_location',
'notes',
'uri'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ErmAgreementLicense',
'_relationships' => {
'license' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'license_id' => 1
},
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::ErmLicense',
'cond' => {
'foreign.license_id' => 'self.license_id'
},
'class' => 'Koha::Schema::Result::ErmLicense'
},
'agreement' => {
'class' => 'Koha::Schema::Result::ErmAgreement',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'agreement_id' => 1
}
},
'source' => 'Koha::Schema::Result::ErmAgreement',
'cond' => {
'foreign.agreement_id' => 'self.agreement_id'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'_columns_info_loaded' => 0,
'source_name' => 'ErmAgreementLicense',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmAgreementLicense'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'ClubTemplateField' => bless( {
'_ordered_columns' => [
'id',
'club_template_id',
'name',
'description',
'authorised_value_category'
],
'name' => 'club_template_fields',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ClubTemplateField',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'club_fields' => {
'source' => 'Koha::Schema::Result::ClubField',
'cond' => {
'foreign.club_template_field_id' => 'self.id'
},
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ClubField'
},
'club_template' => {
'cond' => {
'foreign.id' => 'self.club_template_id'
},
'source' => 'Koha::Schema::Result::ClubTemplate',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'club_template_id' => 1
},
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::ClubTemplate'
}
},
'_primaries' => [
'id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubTemplateField'}{'_primaries'}
},
'_columns' => {
'description' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'name' => {
'data_type' => 'text',
'is_nullable' => 0
},
'club_template_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'authorised_value_category' => {
'size' => 32,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'ClubTemplateField'
}, 'DBIx::Class::ResultSource::Table' ),
'ClubEnrollmentField' => bless( {
'_columns' => {
'club_enrollment_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'value' => {
'data_type' => 'mediumtext',
'is_nullable' => 0
},
'club_template_enrollment_field_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
}
},
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubEnrollmentField'}{'_unique_constraints'}{'primary'},
'source_name' => 'ClubEnrollmentField',
'name' => 'club_enrollment_fields',
'_ordered_columns' => [
'id',
'club_enrollment_id',
'club_template_enrollment_field_id',
'value'
],
'result_class' => 'Koha::Schema::Result::ClubEnrollmentField',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'club_template_enrollment_field' => {
'class' => 'Koha::Schema::Result::ClubTemplateEnrollmentField',
'source' => 'Koha::Schema::Result::ClubTemplateEnrollmentField',
'cond' => {
'foreign.id' => 'self.club_template_enrollment_field_id'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'club_template_enrollment_field_id' => 1
},
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
}
},
'club_enrollment' => {
'cond' => {
'foreign.id' => 'self.club_enrollment_id'
},
'source' => 'Koha::Schema::Result::ClubEnrollment',
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'club_enrollment_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::ClubEnrollment'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'Matchpoint' => bless( {
'_primaries' => [
'matchpoint_id'
],
'source_name' => 'Matchpoint',
'_columns_info_loaded' => 0,
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Matchpoint',
'_relationships' => {
'matchpoint_components' => {
'source' => 'Koha::Schema::Result::MatchpointComponent',
'cond' => {
'foreign.matchpoint_id' => 'self.matchpoint_id'
},
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::MatchpointComponent'
},
'matchchecks_source_matchpoints' => {
'source' => 'Koha::Schema::Result::Matchcheck',
'cond' => {
'foreign.source_matchpoint_id' => 'self.matchpoint_id'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::Matchcheck'
},
'matcher_matchpoints' => {
'cond' => {
'foreign.matchpoint_id' => 'self.matchpoint_id'
},
'source' => 'Koha::Schema::Result::MatcherMatchpoint',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::MatcherMatchpoint'
},
'matchchecks_target_matchpoints' => {
'cond' => {
'foreign.target_matchpoint_id' => 'self.matchpoint_id'
},
'source' => 'Koha::Schema::Result::Matchcheck',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::Matchcheck'
},
'matcher' => {
'class' => 'Koha::Schema::Result::MarcMatcher',
'cond' => {
'foreign.matcher_id' => 'self.matcher_id'
},
'source' => 'Koha::Schema::Result::MarcMatcher',
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'fk_columns' => {
'matcher_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
}
},
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'matchpoints',
'_ordered_columns' => [
'matcher_id',
'matchpoint_id',
'search_index',
'score'
],
'_columns' => {
'search_index' => {
'size' => 30,
'default_value' => '',
'is_nullable' => 0,
'data_type' => 'varchar'
},
'matchpoint_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'score' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 0
},
'matcher_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Matchpoint'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ImportOaiBiblio' => bless( {
'_unique_constraints' => {
'primary' => [
'import_oai_biblio_id'
]
},
'_columns' => {
'import_oai_biblio_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'recordtype' => {
'default_value' => 'biblio',
'data_type' => 'enum',
'is_nullable' => 0,
'extra' => {
'list' => [
'authority',
'biblio'
]
}
},
'identifier' => {
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'biblionumber' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer',
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'datestamp' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'repository' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255
},
'last_modified' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 0
}
},
'result_class' => 'Koha::Schema::Result::ImportOaiBiblio',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'biblionumber' => {
'class' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'NO ACTION',
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio'
}
},
'name' => 'import_oai_biblios',
'_ordered_columns' => [
'import_oai_biblio_id',
'biblionumber',
'identifier',
'repository',
'recordtype',
'datestamp',
'last_modified'
],
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportOaiBiblio'}{'_unique_constraints'}{'primary'},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'ImportOaiBiblio',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'CoverImage' => bless( {
'_columns' => {
'itemnumber' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer',
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'imagefile' => {
'is_nullable' => 0,
'data_type' => 'mediumblob'
},
'mimetype' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 15
},
'biblionumber' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'thumbnail' => {
'is_nullable' => 0,
'data_type' => 'mediumblob'
},
'timestamp' => {
'is_nullable' => 0,
'data_type' => 'timestamp',
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
},
'imagenumber' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
}
},
'_unique_constraints' => {
'primary' => [
'imagenumber'
]
},
'resultset_attributes' => {},
'_relationships' => {
'biblionumber' => {
'class' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio'
},
'itemnumber' => {
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Item',
'class' => 'Koha::Schema::Result::Item'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::CoverImage',
'_ordered_columns' => [
'imagenumber',
'biblionumber',
'itemnumber',
'mimetype',
'imagefile',
'thumbnail',
'timestamp'
],
'name' => 'cover_images',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CoverImage'}{'_unique_constraints'}{'primary'},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'CoverImage',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'RepeatableHoliday' => bless( {
'_ordered_columns' => [
'id',
'branchcode',
'weekday',
'day',
'month',
'title',
'description'
],
'name' => 'repeatable_holidays',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::RepeatableHoliday',
'resultset_attributes' => {},
'_relationships' => {
'branchcode' => {
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter'
},
'class' => 'Koha::Schema::Result::Branch'
}
},
'_columns_info_loaded' => 0,
'source_name' => 'RepeatableHoliday',
'_primaries' => [
'id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'RepeatableHoliday'}{'_primaries'}
},
'_columns' => {
'month' => {
'is_nullable' => 1,
'data_type' => 'smallint'
},
'description' => {
'is_nullable' => 0,
'data_type' => 'mediumtext'
},
'title' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 50,
'default_value' => ''
},
'branchcode' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 10,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'day' => {
'data_type' => 'smallint',
'is_nullable' => 1
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'weekday' => {
'is_nullable' => 1,
'data_type' => 'smallint'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'CurbsidePickup' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'curbside_pickup_issues' => {
'class' => 'Koha::Schema::Result::CurbsidePickupIssue',
'cond' => {
'foreign.curbside_pickup_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::CurbsidePickupIssue',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'branchcode' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_foreign_key_constraint' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'class' => 'Koha::Schema::Result::Branch'
},
'staged_by' => {
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.staged_by'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
},
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
}
},
'result_class' => 'Koha::Schema::Result::CurbsidePickup',
'_ordered_columns' => [
'id',
'borrowernumber',
'branchcode',
'scheduled_pickup_datetime',
'staged_datetime',
'staged_by',
'arrival_datetime',
'delivered_datetime',
'delivered_by',
'notes'
],
'name' => 'curbside_pickups',
'source_name' => 'CurbsidePickup',
'_primaries' => [
'id'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CurbsidePickup'}{'_primaries'}
},
'_columns' => {
'staged_by' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'delivered_datetime' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'borrowernumber' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'delivered_by' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'staged_datetime' => {
'data_type' => 'datetime',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'branchcode' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'size' => 10,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'scheduled_pickup_datetime' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 0
},
'notes' => {
'data_type' => 'text',
'is_nullable' => 1
},
'arrival_datetime' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'TagsIndex' => bless( {
'_columns' => {
'biblionumber' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer',
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'weight' => {
'default_value' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'term' => {
'size' => 191,
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'varchar',
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
}
},
'_unique_constraints' => {
'primary' => [
'term',
'biblionumber'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TagsIndex'}{'_unique_constraints'}{'primary'},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'biblionumber' => {
'class' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
}
},
'term' => {
'class' => 'Koha::Schema::Result::TagsApproval',
'cond' => {
'foreign.term' => 'self.term'
},
'source' => 'Koha::Schema::Result::TagsApproval',
'attrs' => {
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
}
},
'result_class' => 'Koha::Schema::Result::TagsIndex',
'resultset_attributes' => {},
'_ordered_columns' => [
'term',
'biblionumber',
'weight'
],
'name' => 'tags_index',
'source_name' => 'TagsIndex',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'Branch' => bless( {
'_unique_constraints' => {
'primary' => [
'branchcode'
]
},
'_columns' => {
'branchillemail' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'branchaddress1' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'branchreplyto' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'marcorgcode' => {
'size' => 16,
'data_type' => 'varchar',
'is_nullable' => 1
},
'opacuserjs' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'branchurl' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'branchemail' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'branchcountry' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'branchfax' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'branchcity' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'opacusercss' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'geolocation' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'branchname' => {
'is_nullable' => 0,
'data_type' => 'longtext'
},
'public' => {
'is_boolean' => 1,
'default_value' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'branchip' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 15
},
'branchcode' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 10,
'default_value' => ''
},
'issuing' => {
'data_type' => 'tinyint',
'is_nullable' => 1
},
'branchreturnpath' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'branchaddress2' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'branchphone' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'branchstate' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'pickup_location' => {
'default_value' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'branchnotes' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'branchzip' => {
'size' => 25,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'branchaddress3' => {
'is_nullable' => 1,
'data_type' => 'longtext'
}
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Branch',
'_relationships' => {
'course_items_homebranch_storages' => {
'class' => 'Koha::Schema::Result::CourseItem',
'source' => 'Koha::Schema::Result::CourseItem',
'cond' => {
'foreign.homebranch_storage' => 'self.branchcode'
},
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'branches_overdrive' => {
'class' => 'Koha::Schema::Result::BranchesOverdrive',
'source' => 'Koha::Schema::Result::BranchesOverdrive',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_update' => 1,
'accessor' => 'single',
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0
}
},
'club_enrollments' => {
'source' => 'Koha::Schema::Result::ClubEnrollment',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ClubEnrollment'
},
'special_holidays' => {
'source' => 'Koha::Schema::Result::SpecialHoliday',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::SpecialHoliday'
},
'curbside_pickup_policy' => {
'class' => 'Koha::Schema::Result::CurbsidePickupPolicy',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::CurbsidePickupPolicy',
'attrs' => {
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 0,
'cascade_delete' => 0,
'cascade_update' => 1,
'cascade_copy' => 0
}
},
'illrequests' => {
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Illrequest',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::Illrequest'
},
'illbatches' => {
'class' => 'Koha::Schema::Result::Illbatch',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.library_id' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Illbatch'
},
'reserves' => {
'class' => 'Koha::Schema::Result::Reserve',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::Reserve',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
}
},
'problem_reports' => {
'class' => 'Koha::Schema::Result::ProblemReport',
'source' => 'Koha::Schema::Result::ProblemReport',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
}
},
'account_credit_types_branches' => {
'source' => 'Koha::Schema::Result::AccountCreditTypesBranch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::AccountCreditTypesBranch'
},
'edifact_eans' => {
'class' => 'Koha::Schema::Result::EdifactEan',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::EdifactEan'
},
'cash_registers' => {
'source' => 'Koha::Schema::Result::CashRegister',
'cond' => {
'foreign.branch' => 'self.branchcode'
},
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::CashRegister'
},
'authorised_values_branches' => {
'class' => 'Koha::Schema::Result::AuthorisedValuesBranch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::AuthorisedValuesBranch',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
},
'suggestions' => {
'class' => 'Koha::Schema::Result::Suggestion',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Suggestion'
},
'collections' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.colBranchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Collection',
'class' => 'Koha::Schema::Result::Collection'
},
'borrower_attribute_types_branches' => {
'class' => 'Koha::Schema::Result::BorrowerAttributeTypesBranch',
'source' => 'Koha::Schema::Result::BorrowerAttributeTypesBranch',
'cond' => {
'foreign.b_branchcode' => 'self.branchcode'
},
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'hold_fill_targets' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.source_branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::HoldFillTarget',
'class' => 'Koha::Schema::Result::HoldFillTarget'
},
'clubs' => {
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Club',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::Club'
},
'branchtransfers_tobranches' => {
'class' => 'Koha::Schema::Result::Branchtransfer',
'cond' => {
'foreign.tobranch' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branchtransfer',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
},
'accountlines' => {
'class' => 'Koha::Schema::Result::Accountline',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Accountline',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'club_templates' => {
'class' => 'Koha::Schema::Result::ClubTemplate',
'source' => 'Koha::Schema::Result::ClubTemplate',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
},
'additional_contents' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::AdditionalContent',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'class' => 'Koha::Schema::Result::AdditionalContent'
},
'desks' => {
'class' => 'Koha::Schema::Result::Desk',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Desk',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
}
},
'bookings' => {
'class' => 'Koha::Schema::Result::Booking',
'cond' => {
'foreign.pickup_library_id' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Booking',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'account_debit_types_branches' => {
'class' => 'Koha::Schema::Result::AccountDebitTypesBranch',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::AccountDebitTypesBranch'
},
'borrowers' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
}
},
'recalls' => {
'class' => 'Koha::Schema::Result::Recall',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.pickup_library_id' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Recall'
},
'identity_provider_domains' => {
'class' => 'Koha::Schema::Result::IdentityProviderDomain',
'source' => 'Koha::Schema::Result::IdentityProviderDomain',
'cond' => {
'foreign.default_library_id' => 'self.branchcode'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
},
'items_holdingbranches' => {
'class' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.holdingbranch' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Item',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
}
},
'transport_cost_frombranches' => {
'class' => 'Koha::Schema::Result::TransportCost',
'cond' => {
'foreign.frombranch' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::TransportCost',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'creator_batches' => {
'class' => 'Koha::Schema::Result::CreatorBatch',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.branch_code' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::CreatorBatch'
},
'items_homebranches' => {
'class' => 'Koha::Schema::Result::Item',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'cond' => {
'foreign.homebranch' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Item'
},
'article_requests' => {
'class' => 'Koha::Schema::Result::ArticleRequest',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::ArticleRequest',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'library_hours' => {
'class' => 'Koha::Schema::Result::LibraryHour',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::LibraryHour',
'cond' => {
'foreign.library_id' => 'self.branchcode'
}
},
'transport_cost_tobranches' => {
'cond' => {
'foreign.tobranch' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::TransportCost',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::TransportCost'
},
'repeatable_holidays' => {
'class' => 'Koha::Schema::Result::RepeatableHoliday',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::RepeatableHoliday',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
},
'aqbaskets' => {
'cond' => {
'foreign.branch' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Aqbasket',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::Aqbasket'
},
'stockrotationstages' => {
'class' => 'Koha::Schema::Result::Stockrotationstage',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.branchcode_id' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Stockrotationstage'
},
'itemtypes_branches' => {
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::ItemtypesBranch',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::ItemtypesBranch'
},
'course_items_homebranches' => {
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::CourseItem',
'cond' => {
'foreign.homebranch' => 'self.branchcode'
},
'class' => 'Koha::Schema::Result::CourseItem'
},
'library_smtp_server' => {
'class' => 'Koha::Schema::Result::LibrarySmtpServer',
'source' => 'Koha::Schema::Result::LibrarySmtpServer',
'cond' => {
'foreign.library_id' => 'self.branchcode'
},
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'single',
'cascade_delete' => 0,
'cascade_update' => 1,
'cascade_copy' => 0
}
},
'old_reserves' => {
'class' => 'Koha::Schema::Result::OldReserve',
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::OldReserve'
},
'branchtransfers_frombranches' => {
'class' => 'Koha::Schema::Result::Branchtransfer',
'cond' => {
'foreign.frombranch' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branchtransfer',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
},
'course_items' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.holdingbranch' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::CourseItem',
'class' => 'Koha::Schema::Result::CourseItem'
},
'curbside_pickups' => {
'class' => 'Koha::Schema::Result::CurbsidePickup',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::CurbsidePickup'
},
'categories_branches' => {
'class' => 'Koha::Schema::Result::CategoriesBranch',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::CategoriesBranch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
}
},
'circulation_rules' => {
'class' => 'Koha::Schema::Result::CirculationRule',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::CirculationRule',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'library_groups' => {
'class' => 'Koha::Schema::Result::LibraryGroup',
'source' => 'Koha::Schema::Result::LibraryGroup',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
}
},
'name' => 'branches',
'_ordered_columns' => [
'branchcode',
'branchname',
'branchaddress1',
'branchaddress2',
'branchaddress3',
'branchzip',
'branchcity',
'branchstate',
'branchcountry',
'branchphone',
'branchfax',
'branchemail',
'branchillemail',
'branchreplyto',
'branchreturnpath',
'branchurl',
'issuing',
'branchip',
'branchnotes',
'geolocation',
'marcorgcode',
'pickup_location',
'public',
'opacuserjs',
'opacusercss'
],
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Branch'}{'_unique_constraints'}{'primary'},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'Branch',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'Stockrotationrota' => bless( {
'_unique_constraints' => {
'primary' => [
'rota_id'
],
'stockrotationrotas_title' => [
'title'
]
},
'_columns' => {
'active' => {
'is_boolean' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'rota_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'description' => {
'is_nullable' => 0,
'data_type' => 'text'
},
'title' => {
'size' => 100,
'data_type' => 'varchar',
'is_nullable' => 0
},
'cyclical' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Stockrotationrota',
'resultset_attributes' => {},
'_relationships' => {
'stockrotationstages' => {
'class' => 'Koha::Schema::Result::Stockrotationstage',
'source' => 'Koha::Schema::Result::Stockrotationstage',
'cond' => {
'foreign.rota_id' => 'self.rota_id'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
}
},
'name' => 'stockrotationrotas',
'_ordered_columns' => [
'rota_id',
'title',
'description',
'cyclical',
'active'
],
'source_name' => 'Stockrotationrota',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Stockrotationrota'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'Borrower' => bless( {
'_columns' => {
'streettype' => {
'is_nullable' => 1,
'data_type' => 'tinytext'
},
'password' => {
'size' => 60,
'data_type' => 'varchar',
'is_nullable' => 1
},
'auth_method' => {
'default_value' => 'password',
'data_type' => 'enum',
'is_nullable' => 0,
'extra' => {
'list' => [
'password',
'two-factor'
]
}
},
'address' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'zipcode' => {
'data_type' => 'tinytext',
'is_nullable' => 1
},
'phonepro' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'contactnote' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'surname' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'othernames' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'date_renewed' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'contactfirstname' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'B_zipcode' => {
'accessor' => 'b_zipcode',
'is_nullable' => 1,
'data_type' => 'tinytext'
},
'dateofbirth' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'B_phone' => {
'accessor' => 'b_phone',
'data_type' => 'longtext',
'is_nullable' => 1
},
'email' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'B_address2' => {
'is_nullable' => 1,
'data_type' => 'mediumtext',
'accessor' => 'b_address2'
},
'mobile' => {
'data_type' => 'tinytext',
'is_nullable' => 1
},
'overdrive_auth_token' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'opacnote' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'B_address' => {
'accessor' => 'b_address',
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'altcontactstate' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'city' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'altcontactaddress2' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'B_streetnumber' => {
'accessor' => 'b_streetnumber',
'data_type' => 'tinytext',
'is_nullable' => 1
},
'userid' => {
'size' => 75,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'borrowernotes' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'flags' => {
'data_type' => 'bigint',
'is_nullable' => 1
},
'privacy' => {
'default_value' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'B_city' => {
'data_type' => 'longtext',
'is_nullable' => 1,
'accessor' => 'b_city'
},
'login_attempts' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'relationship' => {
'size' => 100,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'middle_name' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'altcontactcountry' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'dateenrolled' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'autorenew_checkouts' => {
'is_boolean' => 1,
'default_value' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'debarredcomment' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'title' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'sort2' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'sms_provider_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'altcontactaddress1' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'gonenoaddress' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 1
},
'password_expiration_date' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'B_country' => {
'is_nullable' => 1,
'data_type' => 'mediumtext',
'accessor' => 'b_country'
},
'altcontactfirstname' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'preferred_name' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'altcontactzipcode' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'protected' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'address2' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'state' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'sort1' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'country' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'altcontactaddress3' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'privacy_guarantor_fines' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'pronouns' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'contacttitle' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'B_email' => {
'accessor' => 'b_email',
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'primary_contact_method' => {
'size' => 45,
'data_type' => 'varchar',
'is_nullable' => 1
},
'streetnumber' => {
'is_nullable' => 1,
'data_type' => 'tinytext'
},
'firstname' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'categorycode' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'size' => 10,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 0
},
'debarred' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'secret' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'B_state' => {
'accessor' => 'b_state',
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'B_streettype' => {
'data_type' => 'tinytext',
'is_nullable' => 1,
'accessor' => 'b_streettype'
},
'lang' => {
'size' => 25,
'default_value' => 'default',
'data_type' => 'varchar',
'is_nullable' => 0
},
'cardnumber' => {
'size' => 32,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'anonymized' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'privacy_guarantor_checkouts' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'altcontactsurname' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'updated_on' => {
'is_nullable' => 0,
'data_type' => 'timestamp',
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'smsalertnumber' => {
'size' => 50,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'borrowernumber' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'contactname' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'emailpro' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'lost' => {
'is_nullable' => 1,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'initials' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'altcontactphone' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'dateexpiry' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'lastseen' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'fax' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'checkprevcheckout' => {
'size' => 7,
'default_value' => 'inherit',
'is_nullable' => 0,
'data_type' => 'varchar'
},
'sex' => {
'size' => 1,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'branchcode' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 10,
'default_value' => '',
'is_foreign_key' => 1
},
'phone' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
}
},
'_unique_constraints' => {
'userid' => [
'userid'
],
'cardnumber' => [
'cardnumber'
],
'primary' => [
'borrowernumber'
]
},
'_relationships' => {
'items_last_borrowers' => {
'source' => 'Koha::Schema::Result::ItemsLastBorrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::ItemsLastBorrower'
},
'erm_counter_logs' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::ErmCounterLog',
'class' => 'Koha::Schema::Result::ErmCounterLog'
},
'suggestions_lastmodificationbies' => {
'source' => 'Koha::Schema::Result::Suggestion',
'cond' => {
'foreign.lastmodificationby' => 'self.borrowernumber'
},
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::Suggestion'
},
'tags_all' => {
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::TagAll',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::TagAll'
},
'creator_batches' => {
'class' => 'Koha::Schema::Result::CreatorBatch',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::CreatorBatch',
'cond' => {
'foreign.borrower_number' => 'self.borrowernumber'
}
},
'housebound_visit_chooser_brwnumbers' => {
'class' => 'Koha::Schema::Result::HouseboundVisit',
'cond' => {
'foreign.chooser_brwnumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::HouseboundVisit',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
}
},
'housebound_role' => {
'class' => 'Koha::Schema::Result::HouseboundRole',
'cond' => {
'foreign.borrowernumber_id' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::HouseboundRole',
'attrs' => {
'cascade_update' => 1,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'single',
'cascade_copy' => 0
}
},
'article_requests' => {
'class' => 'Koha::Schema::Result::ArticleRequest',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::ArticleRequest',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'erm_user_roles' => {
'source' => 'Koha::Schema::Result::ErmUserRole',
'cond' => {
'foreign.user_id' => 'self.borrowernumber'
},
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ErmUserRole'
},
'recalls' => {
'cond' => {
'foreign.patron_id' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Recall',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::Recall'
},
'tags_approvals' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::TagsApproval',
'cond' => {
'foreign.approved_by' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::TagsApproval'
},
'old_issues_issuers' => {
'cond' => {
'foreign.issuer_id' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::OldIssue',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::OldIssue'
},
'patron_lists' => {
'class' => 'Koha::Schema::Result::PatronList',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'cond' => {
'foreign.owner' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::PatronList'
},
'borrower_message_preferences' => {
'class' => 'Koha::Schema::Result::BorrowerMessagePreference',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::BorrowerMessagePreference',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
}
},
'item_editor_templates' => {
'cond' => {
'foreign.patron_id' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::ItemEditorTemplate',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::ItemEditorTemplate'
},
'course_instructors' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::CourseInstructor',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::CourseInstructor'
},
'categorycode' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'RESTRICT',
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'RESTRICT',
'accessor' => 'filter'
},
'source' => 'Koha::Schema::Result::Category',
'cond' => {
'foreign.categorycode' => 'self.categorycode'
},
'class' => 'Koha::Schema::Result::Category'
},
'linktrackers' => {
'class' => 'Koha::Schema::Result::Linktracker',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::Linktracker',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
},
'library' => {
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'branchcode' => 1
},
'is_depends_on' => 1,
'on_delete' => 'RESTRICT',
'accessor' => 'single'
},
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'class' => 'Koha::Schema::Result::Branch'
},
'aqorder_users' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::AqorderUser',
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::AqorderUser'
},
'issues_issuers' => {
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Issue',
'cond' => {
'foreign.issuer_id' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Issue'
},
'tickets_resolvers' => {
'class' => 'Koha::Schema::Result::Ticket',
'source' => 'Koha::Schema::Result::Ticket',
'cond' => {
'foreign.resolver_id' => 'self.borrowernumber'
},
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
}
},
'tickets_assignees' => {
'class' => 'Koha::Schema::Result::Ticket',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.assignee_id' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Ticket'
},
'suggestions_rejectedbies' => {
'class' => 'Koha::Schema::Result::Suggestion',
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Suggestion',
'cond' => {
'foreign.rejectedby' => 'self.borrowernumber'
}
},
'housebound_profile' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::HouseboundProfile',
'attrs' => {
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 0,
'cascade_delete' => 0,
'cascade_update' => 1,
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::HouseboundProfile'
},
'cash_register_actions' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::CashRegisterAction',
'cond' => {
'foreign.manager_id' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::CashRegisterAction'
},
'curbside_pickups_staged_by' => {
'class' => 'Koha::Schema::Result::CurbsidePickup',
'source' => 'Koha::Schema::Result::CurbsidePickup',
'cond' => {
'foreign.staged_by' => 'self.borrowernumber'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
}
},
'virtualshelfcontents' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::Virtualshelfcontent',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Virtualshelfcontent'
},
'return_claims_updated_by' => {
'class' => 'Koha::Schema::Result::ReturnClaim',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::ReturnClaim',
'cond' => {
'foreign.updated_by' => 'self.borrowernumber'
}
},
'patron_list_patrons' => {
'class' => 'Koha::Schema::Result::PatronListPatron',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::PatronListPatron',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
},
'branchcode' => {
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'accessor' => 'filter',
'on_delete' => 'RESTRICT',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::Branch'
},
'borrower_relationships_guarantors' => {
'source' => 'Koha::Schema::Result::BorrowerRelationship',
'cond' => {
'foreign.guarantor_id' => 'self.borrowernumber'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::BorrowerRelationship'
},
'borrower_files' => {
'class' => 'Koha::Schema::Result::BorrowerFile',
'source' => 'Koha::Schema::Result::BorrowerFile',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'ratings' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Rating',
'class' => 'Koha::Schema::Result::Rating'
},
'api_keys' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::ApiKey',
'cond' => {
'foreign.patron_id' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::ApiKey'
},
'virtualshelfshares' => {
'class' => 'Koha::Schema::Result::Virtualshelfshare',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Virtualshelfshare'
},
'old_reserves' => {
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::OldReserve',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::OldReserve'
},
'tickets_reporters' => {
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Ticket',
'cond' => {
'foreign.reporter_id' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Ticket'
},
'ticket_updates' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::TicketUpdate',
'cond' => {
'foreign.user_id' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::TicketUpdate'
},
'message_queues' => {
'source' => 'Koha::Schema::Result::MessageQueue',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::MessageQueue'
},
'reserves' => {
'source' => 'Koha::Schema::Result::Reserve',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::Reserve'
},
'illrequests' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Illrequest',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::Illrequest'
},
'illbatches' => {
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.patron_id' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Illbatch',
'class' => 'Koha::Schema::Result::Illbatch'
},
'housebound_visit_deliverer_brwnumbers' => {
'class' => 'Koha::Schema::Result::HouseboundVisit',
'source' => 'Koha::Schema::Result::HouseboundVisit',
'cond' => {
'foreign.deliverer_brwnumber' => 'self.borrowernumber'
},
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
}
},
'return_claims_resolved_by' => {
'class' => 'Koha::Schema::Result::ReturnClaim',
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.resolved_by' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::ReturnClaim'
},
'checkout_renewals' => {
'class' => 'Koha::Schema::Result::CheckoutRenewal',
'cond' => {
'foreign.renewer_id' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::CheckoutRenewal',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
},
'suggestions_acceptedbies' => {
'class' => 'Koha::Schema::Result::Suggestion',
'source' => 'Koha::Schema::Result::Suggestion',
'cond' => {
'foreign.acceptedby' => 'self.borrowernumber'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
},
'suggestions_managedbies' => {
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Suggestion',
'cond' => {
'foreign.managedby' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Suggestion'
},
'club_enrollments' => {
'source' => 'Koha::Schema::Result::ClubEnrollment',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ClubEnrollment'
},
'extended_attributes' => {
'source' => 'Koha::Schema::Result::BorrowerAttribute',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::BorrowerAttribute'
},
'reviews' => {
'class' => 'Koha::Schema::Result::Review',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::Review',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
},
'illcomments' => {
'class' => 'Koha::Schema::Result::Illcomment',
'source' => 'Koha::Schema::Result::Illcomment',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
},
'messages' => {
'cond' => {
'foreign.manager_id' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Message',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::Message'
},
'old_issues' => {
'class' => 'Koha::Schema::Result::OldIssue',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::OldIssue'
},
'aqbudgetborrowers' => {
'class' => 'Koha::Schema::Result::Aqbudgetborrower',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Aqbudgetborrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
},
'aqorders' => {
'class' => 'Koha::Schema::Result::Aqorder',
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.created_by' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Aqorder'
},
'alerts' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::Alert',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Alert'
},
'patronimage' => {
'class' => 'Koha::Schema::Result::Patronimage',
'attrs' => {
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 0,
'cascade_delete' => 0,
'cascade_update' => 1,
'cascade_copy' => 0
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Patronimage'
},
'problem_reports' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::ProblemReport',
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ProblemReport'
},
'issues' => {
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::Issue',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Issue'
},
'discharges' => {
'class' => 'Koha::Schema::Result::Discharge',
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Discharge',
'cond' => {
'foreign.borrower' => 'self.borrowernumber'
}
},
'return_claims_created_by' => {
'class' => 'Koha::Schema::Result::ReturnClaim',
'source' => 'Koha::Schema::Result::ReturnClaim',
'cond' => {
'foreign.created_by' => 'self.borrowernumber'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
},
'user_permissions' => {
'class' => 'Koha::Schema::Result::UserPermission',
'source' => 'Koha::Schema::Result::UserPermission',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'hold_fill_targets' => {
'class' => 'Koha::Schema::Result::HoldFillTarget',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::HoldFillTarget',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
},
'restrictions' => {
'class' => 'Koha::Schema::Result::BorrowerDebarment',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::BorrowerDebarment',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
},
'tmp_holdsqueues' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::TmpHoldsqueue',
'class' => 'Koha::Schema::Result::TmpHoldsqueue'
},
'accountlines_managers' => {
'class' => 'Koha::Schema::Result::Accountline',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.manager_id' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Accountline'
},
'aqbasketusers' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Aqbasketuser',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Aqbasketuser'
},
'curbside_pickups_borrowernumbers' => {
'class' => 'Koha::Schema::Result::CurbsidePickup',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::CurbsidePickup'
},
'borrower_relationships_guarantees' => {
'class' => 'Koha::Schema::Result::BorrowerRelationship',
'cond' => {
'foreign.guarantee_id' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::BorrowerRelationship',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
},
'borrower_attributes' => {
'class' => 'Koha::Schema::Result::BorrowerAttribute',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::BorrowerAttribute',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
}
},
'suggestions_suggestedbies' => {
'class' => 'Koha::Schema::Result::Suggestion',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::Suggestion',
'cond' => {
'foreign.suggestedby' => 'self.borrowernumber'
}
},
'messages_borrowernumbers' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Message',
'class' => 'Koha::Schema::Result::Message'
},
'return_claims_borrowernumbers' => {
'class' => 'Koha::Schema::Result::ReturnClaim',
'source' => 'Koha::Schema::Result::ReturnClaim',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
}
},
'accountlines' => {
'class' => 'Koha::Schema::Result::Accountline',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Accountline',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'subscriptionroutinglists' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Subscriptionroutinglist',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::Subscriptionroutinglist'
},
'additional_contents' => {
'source' => 'Koha::Schema::Result::AdditionalContent',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::AdditionalContent'
},
'bookings' => {
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.patron_id' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Booking',
'class' => 'Koha::Schema::Result::Booking'
},
'ticket_updates_assignees' => {
'class' => 'Koha::Schema::Result::TicketUpdate',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.assignee_id' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::TicketUpdate'
},
'advanced_editor_macros' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::AdvancedEditorMacro',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::AdvancedEditorMacro'
},
'borrower_debarments' => {
'class' => 'Koha::Schema::Result::BorrowerDebarment',
'source' => 'Koha::Schema::Result::BorrowerDebarment',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'club_holds_to_patron_holds' => {
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::ClubHoldsToPatronHold',
'cond' => {
'foreign.patron_id' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::ClubHoldsToPatronHold'
},
'virtualshelves' => {
'class' => 'Koha::Schema::Result::Virtualshelve',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.owner' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Virtualshelve'
},
'sms_provider' => {
'cond' => {
'foreign.id' => 'self.sms_provider_id'
},
'source' => 'Koha::Schema::Result::SmsProvider',
'attrs' => {
'fk_columns' => {
'sms_provider_id' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'class' => 'Koha::Schema::Result::SmsProvider'
},
'patron_consents' => {
'class' => 'Koha::Schema::Result::PatronConsent',
'source' => 'Koha::Schema::Result::PatronConsent',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Borrower',
'_ordered_columns' => [
'borrowernumber',
'cardnumber',
'surname',
'firstname',
'preferred_name',
'middle_name',
'title',
'othernames',
'initials',
'pronouns',
'streetnumber',
'streettype',
'address',
'address2',
'city',
'state',
'zipcode',
'country',
'email',
'phone',
'mobile',
'fax',
'emailpro',
'phonepro',
'B_streetnumber',
'B_streettype',
'B_address',
'B_address2',
'B_city',
'B_state',
'B_zipcode',
'B_country',
'B_email',
'B_phone',
'dateofbirth',
'branchcode',
'categorycode',
'dateenrolled',
'dateexpiry',
'password_expiration_date',
'date_renewed',
'gonenoaddress',
'lost',
'debarred',
'debarredcomment',
'contactname',
'contactfirstname',
'contacttitle',
'borrowernotes',
'relationship',
'sex',
'password',
'secret',
'auth_method',
'flags',
'userid',
'opacnote',
'contactnote',
'sort1',
'sort2',
'altcontactfirstname',
'altcontactsurname',
'altcontactaddress1',
'altcontactaddress2',
'altcontactaddress3',
'altcontactstate',
'altcontactzipcode',
'altcontactcountry',
'altcontactphone',
'smsalertnumber',
'sms_provider_id',
'privacy',
'privacy_guarantor_fines',
'privacy_guarantor_checkouts',
'checkprevcheckout',
'updated_on',
'lastseen',
'lang',
'login_attempts',
'overdrive_auth_token',
'anonymized',
'autorenew_checkouts',
'primary_contact_method',
'protected'
],
'name' => 'borrowers',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Borrower'}{'_unique_constraints'}{'primary'},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'Borrower',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'PreservationProcessingAttributesItem' => bless( {
'source_name' => 'PreservationProcessingAttributesItem',
'_primaries' => [
'processing_attribute_item_id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::PreservationProcessingAttributesItem',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'train_item' => {
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'train_item_id' => 1
}
},
'source' => 'Koha::Schema::Result::PreservationTrainsItem',
'cond' => {
'foreign.train_item_id' => 'self.train_item_id'
},
'class' => 'Koha::Schema::Result::PreservationTrainsItem'
},
'processing_attribute' => {
'class' => 'Koha::Schema::Result::PreservationProcessingAttribute',
'cond' => {
'foreign.processing_attribute_id' => 'self.processing_attribute_id'
},
'source' => 'Koha::Schema::Result::PreservationProcessingAttribute',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'processing_attribute_id' => 1
}
}
}
},
'resultset_attributes' => {},
'name' => 'preservation_processing_attributes_items',
'_ordered_columns' => [
'processing_attribute_item_id',
'processing_attribute_id',
'train_item_id',
'value'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PreservationProcessingAttributesItem'}{'_primaries'}
},
'_columns' => {
'processing_attribute_item_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'value' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'processing_attribute_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'train_item_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Z3950server' => bless( {
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_columns' => {
'timeout' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 0
},
'password' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'sru_options' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'recordtype' => {
'extra' => {
'list' => [
'authority',
'biblio'
]
},
'data_type' => 'enum',
'is_nullable' => 0,
'default_value' => 'biblio'
},
'userid' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'port' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'add_xslt' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'servername' => {
'data_type' => 'longtext',
'is_nullable' => 0
},
'rank' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'db' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'servertype' => {
'extra' => {
'list' => [
'zed',
'sru'
]
},
'data_type' => 'enum',
'is_nullable' => 0,
'default_value' => 'zed'
},
'encoding' => {
'is_nullable' => 0,
'data_type' => 'mediumtext'
},
'host' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255
},
'sru_fields' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'checked' => {
'data_type' => 'smallint',
'is_nullable' => 1
},
'attributes' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'syntax' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 0
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {},
'result_class' => 'Koha::Schema::Result::Z3950server',
'name' => 'z3950servers',
'_ordered_columns' => [
'id',
'host',
'port',
'db',
'userid',
'password',
'servername',
'checked',
'rank',
'syntax',
'timeout',
'servertype',
'encoding',
'recordtype',
'sru_options',
'sru_fields',
'add_xslt',
'attributes'
],
'source_name' => 'Z3950server',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Z3950server'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'AqorderUser' => bless( {
'name' => 'aqorder_users',
'_ordered_columns' => [
'ordernumber',
'borrowernumber'
],
'result_class' => 'Koha::Schema::Result::AqorderUser',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'ordernumber' => {
'class' => 'Koha::Schema::Result::Aqorder',
'cond' => {
'foreign.ordernumber' => 'self.ordernumber'
},
'source' => 'Koha::Schema::Result::Aqorder',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter'
}
},
'borrowernumber' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter'
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Borrower'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => [
'ordernumber',
'borrowernumber'
],
'source_name' => 'AqorderUser',
'_columns' => {
'ordernumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'borrowernumber' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqorderUser'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'MiscFile' => bless( {
'_ordered_columns' => [
'file_id',
'table_tag',
'record_id',
'file_name',
'file_type',
'file_description',
'file_content',
'date_uploaded'
],
'name' => 'misc_files',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {},
'result_class' => 'Koha::Schema::Result::MiscFile',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_columns_info_loaded' => 0,
'source_name' => 'MiscFile',
'_primaries' => [
'file_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MiscFile'}{'_primaries'}
},
'_columns' => {
'file_name' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
},
'file_type' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
},
'file_description' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'record_id' => {
'data_type' => 'integer',
'is_nullable' => 0
},
'file_content' => {
'is_nullable' => 0,
'data_type' => 'longblob'
},
'file_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'table_tag' => {
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'date_uploaded' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'CreatorLayout' => bless( {
'_columns' => {
'font' => {
'size' => 10,
'default_value' => 'TR',
'is_nullable' => 0,
'data_type' => 'char'
},
'oblique_title' => {
'data_type' => 'integer',
'is_nullable' => 1,
'default_value' => 1
},
'font_size' => {
'default_value' => 10,
'is_nullable' => 0,
'data_type' => 'integer'
},
'format_string' => {
'default_value' => 'barcode',
'size' => 210,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'scale_height' => {
'is_nullable' => 0,
'data_type' => 'decimal',
'default_value' => '0.010000',
'size' => [
28,
6
]
},
'layout_xml' => {
'is_nullable' => 0,
'data_type' => 'mediumtext'
},
'layout_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'barcode_type' => {
'size' => 100,
'default_value' => 'CODE39',
'is_nullable' => 0,
'data_type' => 'char'
},
'scale_width' => {
'is_nullable' => 0,
'data_type' => 'decimal',
'size' => [
28,
6
],
'default_value' => '0.800000'
},
'units' => {
'data_type' => 'char',
'is_nullable' => 0,
'default_value' => 'POINT',
'size' => 20
},
'creator' => {
'default_value' => 'Labels',
'size' => 15,
'is_nullable' => 0,
'data_type' => 'char'
},
'layout_name' => {
'data_type' => 'char',
'is_nullable' => 0,
'size' => 25,
'default_value' => 'DEFAULT'
},
'start_label' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 1
},
'text_justify' => {
'is_nullable' => 0,
'data_type' => 'char',
'size' => 1,
'default_value' => 'L'
},
'printing_type' => {
'data_type' => 'char',
'is_nullable' => 0,
'size' => 32,
'default_value' => 'BAR'
},
'callnum_split' => {
'is_nullable' => 1,
'data_type' => 'integer',
'default_value' => 0
},
'guidebox' => {
'data_type' => 'integer',
'is_nullable' => 1,
'default_value' => 0
}
},
'_unique_constraints' => {
'primary' => [
'layout_id'
]
},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CreatorLayout'}{'_unique_constraints'}{'primary'},
'source_name' => 'CreatorLayout',
'name' => 'creator_layouts',
'_ordered_columns' => [
'layout_id',
'barcode_type',
'start_label',
'printing_type',
'layout_name',
'guidebox',
'oblique_title',
'font',
'font_size',
'scale_width',
'scale_height',
'units',
'callnum_split',
'text_justify',
'format_string',
'layout_xml',
'creator'
],
'result_class' => 'Koha::Schema::Result::CreatorLayout',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'Aqcontact' => bless( {
'_columns' => {
'claimacquisition' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'altphone' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 100
},
'orderacquisition' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0,
'is_boolean' => 1
},
'position' => {
'size' => 100,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'acqprimary' => {
'is_boolean' => 1,
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'serialsprimary' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'name' => {
'size' => 100,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'notes' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'phone' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 100
},
'booksellerid' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'email' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 100
},
'claimissues' => {
'is_boolean' => 1,
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'fax' => {
'size' => 100,
'is_nullable' => 1,
'data_type' => 'varchar'
}
},
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqcontact'}{'_unique_constraints'}{'primary'},
'source_name' => 'Aqcontact',
'_columns_info_loaded' => 0,
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Aqcontact',
'_relationships' => {
'booksellerid' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'cond' => {
'foreign.id' => 'self.booksellerid'
},
'class' => 'Koha::Schema::Result::Aqbookseller'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'id',
'name',
'position',
'phone',
'altphone',
'fax',
'email',
'notes',
'orderacquisition',
'claimacquisition',
'claimissues',
'acqprimary',
'serialsprimary',
'booksellerid'
],
'name' => 'aqcontacts'
}, 'DBIx::Class::ResultSource::Table' ),
'CashRegisterAction' => bless( {
'_primaries' => [
'id'
],
'resultset_attributes' => {},
'_relationships' => {
'register' => {
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'register_id' => 1
},
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1
},
'cond' => {
'foreign.id' => 'self.register_id'
},
'source' => 'Koha::Schema::Result::CashRegister',
'class' => 'Koha::Schema::Result::CashRegister'
},
'manager' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'manager_id' => 1
}
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.manager_id'
}
}
},
'result_class' => 'Koha::Schema::Result::CashRegisterAction',
'resultset_class' => 'DBIx::Class::ResultSet',
'_ordered_columns' => [
'id',
'code',
'register_id',
'manager_id',
'amount',
'timestamp'
],
'name' => 'cash_register_actions',
'_columns' => {
'code' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 24
},
'manager_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'timestamp' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 0
},
'register_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'amount' => {
'is_nullable' => 1,
'data_type' => 'decimal',
'size' => [
28,
6
]
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CashRegisterAction'}{'_primaries'}
},
'source_name' => 'CashRegisterAction',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmUsageYus' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ErmUsageYus',
'_relationships' => {
'title' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'title_id' => 1
},
'accessor' => 'single',
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::ErmUsageTitle',
'cond' => {
'foreign.title_id' => 'self.title_id'
},
'class' => 'Koha::Schema::Result::ErmUsageTitle'
},
'database' => {
'class' => 'Koha::Schema::Result::ErmUsageDatabase',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'accessor' => 'single',
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'database_id' => 1
}
},
'source' => 'Koha::Schema::Result::ErmUsageDatabase',
'cond' => {
'foreign.database_id' => 'self.database_id'
}
},
'usage_data_provider' => {
'attrs' => {
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'fk_columns' => {
'usage_data_provider_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
},
'source' => 'Koha::Schema::Result::ErmUsageDataProvider',
'class' => 'Koha::Schema::Result::ErmUsageDataProvider'
},
'item' => {
'class' => 'Koha::Schema::Result::ErmUsageItem',
'cond' => {
'foreign.item_id' => 'self.item_id'
},
'source' => 'Koha::Schema::Result::ErmUsageItem',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'item_id' => 1
}
}
},
'platform' => {
'class' => 'Koha::Schema::Result::ErmUsagePlatform',
'source' => 'Koha::Schema::Result::ErmUsagePlatform',
'cond' => {
'foreign.platform_id' => 'self.platform_id'
},
'attrs' => {
'accessor' => 'single',
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'platform_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
}
},
'_ordered_columns' => [
'yearly_usage_summary_id',
'title_id',
'platform_id',
'database_id',
'item_id',
'usage_data_provider_id',
'year',
'totalcount',
'metric_type',
'access_type',
'yop',
'report_type'
],
'name' => 'erm_usage_yus',
'source_name' => 'ErmUsageYus',
'_primaries' => [
'yearly_usage_summary_id'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsageYus'}{'_primaries'}
},
'_columns' => {
'platform_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'metric_type' => {
'size' => 50,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'yop' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'usage_data_provider_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'database_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'totalcount' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'title_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'year' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'yearly_usage_summary_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'item_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'report_type' => {
'size' => 50,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'access_type' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'SearchMarcToField' => bless( {
'_columns' => {
'facet' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'sort' => {
'default_value' => 1,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'search' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 1
},
'search_field_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'filter' => {
'default_value' => '',
'size' => 100,
'data_type' => 'varchar',
'is_nullable' => 0
},
'search_marc_map_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'suggestible' => {
'is_nullable' => 1,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
}
},
'_unique_constraints' => {
'primary' => [
'search_marc_map_id',
'search_field_id',
'filter'
]
},
'result_class' => 'Koha::Schema::Result::SearchMarcToField',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'search_field' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'search_field_id' => 1
},
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::SearchField',
'cond' => {
'foreign.id' => 'self.search_field_id'
},
'class' => 'Koha::Schema::Result::SearchField'
},
'search_marc_map' => {
'class' => 'Koha::Schema::Result::SearchMarcMap',
'attrs' => {
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'fk_columns' => {
'search_marc_map_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::SearchMarcMap',
'cond' => {
'foreign.id' => 'self.search_marc_map_id'
}
}
},
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'search',
'filter',
'search_marc_map_id',
'search_field_id',
'facet',
'suggestible',
'sort'
],
'name' => 'search_marc_to_field',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SearchMarcToField'}{'_unique_constraints'}{'primary'},
'source_name' => 'SearchMarcToField',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'OverduerulesTransportType' => bless( {
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_columns' => {
'message_transport_type' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'size' => 20,
'default_value' => 'email',
'data_type' => 'varchar',
'is_nullable' => 0
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'letternumber' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 1
},
'overduerules_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'OverduerulesTransportType'}{'_unique_constraints'}{'primary'},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'overduerule' => {
'class' => 'Koha::Schema::Result::Overduerule',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'fk_columns' => {
'overduerules_id' => 1
},
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Overduerule',
'cond' => {
'foreign.overduerules_id' => 'self.overduerules_id'
}
},
'message_transport_type' => {
'cond' => {
'foreign.message_transport_type' => 'self.message_transport_type'
},
'source' => 'Koha::Schema::Result::MessageTransportType',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::MessageTransportType'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::OverduerulesTransportType',
'name' => 'overduerules_transport_types',
'_ordered_columns' => [
'id',
'letternumber',
'message_transport_type',
'overduerules_id'
],
'source_name' => 'OverduerulesTransportType',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'CreatorImage' => bless( {
'source_name' => 'CreatorImage',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_unique_constraints' => {
'primary' => [
'image_id'
],
'image_name_index' => [
'image_name'
]
},
'_columns' => {
'imagefile' => {
'data_type' => 'mediumblob',
'is_nullable' => 1
},
'image_name' => {
'default_value' => 'DEFAULT',
'size' => 20,
'data_type' => 'char',
'is_nullable' => 0
},
'image_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CreatorImage'}{'_unique_constraints'}{'primary'},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::CreatorImage',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {},
'name' => 'creator_images',
'_ordered_columns' => [
'image_id',
'imagefile',
'image_name'
]
}, 'DBIx::Class::ResultSource::Table' ),
'CurbsidePickupOpeningSlot' => bless( {
'source_name' => 'CurbsidePickupOpeningSlot',
'_primaries' => [
'id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'curbside_pickup_policy' => {
'class' => 'Koha::Schema::Result::CurbsidePickupPolicy',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'fk_columns' => {
'curbside_pickup_policy_id' => 1
},
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.id' => 'self.curbside_pickup_policy_id'
},
'source' => 'Koha::Schema::Result::CurbsidePickupPolicy'
}
},
'result_class' => 'Koha::Schema::Result::CurbsidePickupOpeningSlot',
'name' => 'curbside_pickup_opening_slots',
'_ordered_columns' => [
'id',
'curbside_pickup_policy_id',
'day',
'start_hour',
'start_minute',
'end_hour',
'end_minute'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CurbsidePickupOpeningSlot'}{'_primaries'}
},
'_columns' => {
'end_hour' => {
'is_nullable' => 0,
'data_type' => 'integer'
},
'curbside_pickup_policy_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'start_hour' => {
'data_type' => 'integer',
'is_nullable' => 0
},
'end_minute' => {
'is_nullable' => 0,
'data_type' => 'integer'
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'day' => {
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'start_minute' => {
'is_nullable' => 0,
'data_type' => 'integer'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'MarcOrderAccount' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'MarcOrderAccount',
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_columns' => {
'parse_items' => {
'data_type' => 'tinyint',
'is_nullable' => 1,
'is_boolean' => 1
},
'nomatch_action' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
},
'matcher_id' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'download_directory' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'encoding' => {
'size' => 50,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'budget_id' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'match_field' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'vendor_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'description' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 250
},
'record_type' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
},
'match_value' => {
'size' => 50,
'data_type' => 'varchar',
'is_nullable' => 1
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'item_action' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
},
'overlay_action' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::MarcOrderAccount',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'vendor' => {
'cond' => {
'foreign.id' => 'self.vendor_id'
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'attrs' => {
'fk_columns' => {
'vendor_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'class' => 'Koha::Schema::Result::Aqbookseller'
},
'budget' => {
'class' => 'Koha::Schema::Result::Aqbudget',
'cond' => {
'foreign.budget_id' => 'self.budget_id'
},
'source' => 'Koha::Schema::Result::Aqbudget',
'attrs' => {
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'fk_columns' => {
'budget_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
}
},
'_ordered_columns' => [
'id',
'description',
'vendor_id',
'budget_id',
'download_directory',
'matcher_id',
'overlay_action',
'nomatch_action',
'item_action',
'parse_items',
'record_type',
'encoding',
'match_field',
'match_value'
],
'name' => 'marc_order_accounts',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcOrderAccount'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'Virtualshelfshare' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'Virtualshelfshare',
'_columns_info_loaded' => 0,
'_columns' => {
'sharedate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'borrowernumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'invitekey' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'shelfnumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
}
},
'_unique_constraints' => {
'primary' => [
'id'
]
},
'result_class' => 'Koha::Schema::Result::Virtualshelfshare',
'resultset_attributes' => {},
'_relationships' => {
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'SET NULL',
'undef_on_null_fk' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
},
'shelfnumber' => {
'class' => 'Koha::Schema::Result::Virtualshelve',
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Virtualshelve',
'cond' => {
'foreign.shelfnumber' => 'self.shelfnumber'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'virtualshelfshares',
'_ordered_columns' => [
'id',
'shelfnumber',
'borrowernumber',
'invitekey',
'sharedate'
],
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Virtualshelfshare'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'CourseReserve' => bless( {
'_primaries' => [
'cr_id'
],
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'ci' => {
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'fk_columns' => {
'ci_id' => 1
},
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::CourseItem',
'cond' => {
'foreign.ci_id' => 'self.ci_id'
},
'class' => 'Koha::Schema::Result::CourseItem'
},
'course' => {
'attrs' => {
'accessor' => 'single',
'on_delete' => 'RESTRICT',
'is_depends_on' => 1,
'fk_columns' => {
'course_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'RESTRICT',
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Course',
'cond' => {
'foreign.course_id' => 'self.course_id'
},
'class' => 'Koha::Schema::Result::Course'
}
},
'result_class' => 'Koha::Schema::Result::CourseReserve',
'_ordered_columns' => [
'cr_id',
'course_id',
'ci_id',
'staff_note',
'public_note',
'timestamp'
],
'name' => 'course_reserves',
'_columns' => {
'cr_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'public_note' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'timestamp' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 0
},
'course_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'staff_note' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'ci_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CourseReserve'}{'_primaries'},
'pseudo_key' => [
'course_id',
'ci_id'
]
},
'source_name' => 'CourseReserve',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'Category' => bless( {
'_unique_constraints' => {
'primary' => [
'categorycode'
]
},
'_columns' => {
'enrolmentfee' => {
'size' => [
28,
6
],
'data_type' => 'decimal',
'is_nullable' => 1
},
'noissueschargeguarantorswithguarantees' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'default_privacy' => {
'data_type' => 'enum',
'is_nullable' => 0,
'extra' => {
'list' => [
'default',
'never',
'forever'
]
},
'default_value' => 'default'
},
'exclude_from_local_holds_priority' => {
'is_boolean' => 1,
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'noissueschargeguarantees' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'description' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'password_expiry_days' => {
'data_type' => 'smallint',
'is_nullable' => 1
},
'change_password' => {
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'reset_password' => {
'data_type' => 'tinyint',
'is_nullable' => 1
},
'enrolmentperioddate' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'categorycode' => {
'size' => 10,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 0
},
'force_password_reset_when_set_by_staff' => {
'data_type' => 'tinyint',
'is_nullable' => 1,
'is_boolean' => 1
},
'hidelostitems' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'require_strong_password' => {
'is_nullable' => 1,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'overduenoticerequired' => {
'data_type' => 'tinyint',
'is_nullable' => 1
},
'can_be_guarantee' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'BlockExpiredPatronOpacActions' => {
'size' => 128,
'default_value' => 'follow_syspref_BlockExpiredPatronOpacActions',
'data_type' => 'varchar',
'is_nullable' => 0,
'accessor' => 'block_expired_patron_opac_actions'
},
'min_password_length' => {
'data_type' => 'smallint',
'is_nullable' => 1
},
'category_type' => {
'size' => 1,
'default_value' => 'A',
'data_type' => 'varchar',
'is_nullable' => 0
},
'dateofbirthrequired' => {
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'checkprevcheckout' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'default_value' => 'inherit',
'size' => 7
},
'reservefee' => {
'size' => [
28,
6
],
'data_type' => 'decimal',
'is_nullable' => 1
},
'enrolmentperiod' => {
'is_nullable' => 1,
'data_type' => 'smallint'
},
'noissuescharge' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'can_place_ill_in_opac' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 1,
'is_boolean' => 1
},
'upperagelimit' => {
'data_type' => 'smallint',
'is_nullable' => 1
}
},
'name' => 'categories',
'_ordered_columns' => [
'categorycode',
'description',
'enrolmentperiod',
'enrolmentperioddate',
'password_expiry_days',
'upperagelimit',
'dateofbirthrequired',
'enrolmentfee',
'overduenoticerequired',
'reservefee',
'hidelostitems',
'category_type',
'BlockExpiredPatronOpacActions',
'default_privacy',
'checkprevcheckout',
'can_place_ill_in_opac',
'can_be_guarantee',
'reset_password',
'change_password',
'min_password_length',
'require_strong_password',
'force_password_reset_when_set_by_staff',
'exclude_from_local_holds_priority',
'noissuescharge',
'noissueschargeguarantees',
'noissueschargeguarantorswithguarantees'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::Category',
'_relationships' => {
'borrower_attribute_types' => {
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'cond' => {
'foreign.category_code' => 'self.categorycode'
},
'source' => 'Koha::Schema::Result::BorrowerAttributeType',
'class' => 'Koha::Schema::Result::BorrowerAttributeType'
},
'identity_provider_domains' => {
'class' => 'Koha::Schema::Result::IdentityProviderDomain',
'source' => 'Koha::Schema::Result::IdentityProviderDomain',
'cond' => {
'foreign.default_category_id' => 'self.categorycode'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
}
},
'categories_branches' => {
'class' => 'Koha::Schema::Result::CategoriesBranch',
'source' => 'Koha::Schema::Result::CategoriesBranch',
'cond' => {
'foreign.categorycode' => 'self.categorycode'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
}
},
'borrowers' => {
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.categorycode' => 'self.categorycode'
},
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::Borrower'
},
'borrower_message_preferences' => {
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::BorrowerMessagePreference',
'cond' => {
'foreign.categorycode' => 'self.categorycode'
},
'class' => 'Koha::Schema::Result::BorrowerMessagePreference'
},
'circulation_rules' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'cond' => {
'foreign.categorycode' => 'self.categorycode'
},
'source' => 'Koha::Schema::Result::CirculationRule',
'class' => 'Koha::Schema::Result::CirculationRule'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_columns_info_loaded' => 0,
'source_name' => 'Category',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Category'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'Subscription' => bless( {
'_unique_constraints' => {
'primary' => [
'subscriptionid'
]
},
'_columns' => {
'location' => {
'size' => 80,
'default_value' => '',
'is_nullable' => 1,
'data_type' => 'varchar'
},
'numberlength' => {
'data_type' => 'integer',
'is_nullable' => 1,
'default_value' => 0
},
'letter' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 20
},
'reneweddate' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'opacdisplaycount' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'serialsadditems' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'graceperiod' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'integer'
},
'lastvalue3' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'periodicity' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'notes' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'itemtype' => {
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
},
'status' => {
'default_value' => '',
'size' => 100,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'ccode' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'callnumber' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'innerloop2' => {
'is_nullable' => 1,
'data_type' => 'integer',
'default_value' => 0
},
'biblionumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'locale' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'librarian' => {
'size' => 100,
'default_value' => '',
'is_nullable' => 1,
'data_type' => 'varchar'
},
'manualhistory' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'internalnotes' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'lastvalue1' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'skip_serialseq' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0,
'is_boolean' => 1
},
'innerloop1' => {
'data_type' => 'integer',
'is_nullable' => 1,
'default_value' => 0
},
'irregularity' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'numberpattern' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'cost' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 1
},
'monthlength' => {
'default_value' => 0,
'is_nullable' => 1,
'data_type' => 'integer'
},
'branchcode' => {
'default_value' => '',
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 0
},
'weeklength' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 1
},
'distributedto' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'lastvalue2' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'published_on_template' => {
'data_type' => 'text',
'is_nullable' => 1
},
'lastbranch' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'previousitemtype' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'closed' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'startdate' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'aqbooksellerid' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'staffdisplaycount' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'innerloop3' => {
'default_value' => 0,
'is_nullable' => 1,
'data_type' => 'integer'
},
'firstacquidate' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'enddate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'subscriptionid' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'aqbudgetid' => {
'is_nullable' => 1,
'data_type' => 'integer',
'default_value' => 0
},
'countissuesperunit' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 1
},
'mana_id' => {
'data_type' => 'integer',
'is_nullable' => 1
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'periodicity' => {
'class' => 'Koha::Schema::Result::SubscriptionFrequency',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::SubscriptionFrequency',
'cond' => {
'foreign.id' => 'self.periodicity'
}
},
'serials' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.subscriptionid' => 'self.subscriptionid'
},
'source' => 'Koha::Schema::Result::Serial',
'class' => 'Koha::Schema::Result::Serial'
},
'subscriptionroutinglists' => {
'class' => 'Koha::Schema::Result::Subscriptionroutinglist',
'cond' => {
'foreign.subscriptionid' => 'self.subscriptionid'
},
'source' => 'Koha::Schema::Result::Subscriptionroutinglist',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'aqorders' => {
'class' => 'Koha::Schema::Result::Aqorder',
'source' => 'Koha::Schema::Result::Aqorder',
'cond' => {
'foreign.subscriptionid' => 'self.subscriptionid'
},
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'biblionumber' => {
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::Biblio'
},
'aqbooksellerid' => {
'class' => 'Koha::Schema::Result::Aqbookseller',
'source' => 'Koha::Schema::Result::Aqbookseller',
'cond' => {
'foreign.id' => 'self.aqbooksellerid'
},
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
},
'additional_field_values' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'cond' => sub { "DUMMY" },
'source' => 'Koha::Schema::Result::AdditionalFieldValue',
'class' => 'Koha::Schema::Result::AdditionalFieldValue'
},
'numberpattern' => {
'cond' => {
'foreign.id' => 'self.numberpattern'
},
'source' => 'Koha::Schema::Result::SubscriptionNumberpattern',
'attrs' => {
'accessor' => 'filter',
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::SubscriptionNumberpattern'
},
'subscriptionhistory' => {
'source' => 'Koha::Schema::Result::Subscriptionhistory',
'cond' => {
'foreign.subscriptionid' => 'self.subscriptionid'
},
'attrs' => {
'cascade_update' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 0,
'cascade_delete' => 0,
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::Subscriptionhistory'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Subscription',
'name' => 'subscription',
'_ordered_columns' => [
'biblionumber',
'subscriptionid',
'librarian',
'startdate',
'aqbooksellerid',
'cost',
'aqbudgetid',
'weeklength',
'monthlength',
'numberlength',
'periodicity',
'countissuesperunit',
'notes',
'status',
'lastvalue1',
'innerloop1',
'lastvalue2',
'innerloop2',
'lastvalue3',
'innerloop3',
'firstacquidate',
'manualhistory',
'irregularity',
'skip_serialseq',
'letter',
'numberpattern',
'locale',
'distributedto',
'internalnotes',
'callnumber',
'location',
'branchcode',
'lastbranch',
'serialsadditems',
'staffdisplaycount',
'opacdisplaycount',
'graceperiod',
'enddate',
'closed',
'reneweddate',
'itemtype',
'previousitemtype',
'mana_id',
'ccode',
'published_on_template'
],
'source_name' => 'Subscription',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Subscription'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'Letter' => bless( {
'name' => 'letter',
'_ordered_columns' => [
'id',
'module',
'code',
'branchcode',
'name',
'is_html',
'title',
'content',
'message_transport_type',
'lang',
'updated_on',
'style'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::Letter',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'message_queues' => {
'class' => 'Koha::Schema::Result::MessageQueue',
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.letter_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::MessageQueue'
},
'message_transport_type' => {
'source' => 'Koha::Schema::Result::MessageTransportType',
'cond' => {
'foreign.message_transport_type' => 'self.message_transport_type'
},
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::MessageTransportType'
}
},
'_columns_info_loaded' => 0,
'source_name' => 'Letter',
'_primaries' => [
'id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Letter'}{'_primaries'},
'letter_uniq_1' => [
'module',
'code',
'branchcode',
'message_transport_type',
'lang'
]
},
'_columns' => {
'module' => {
'size' => 20,
'default_value' => '',
'is_nullable' => 0,
'data_type' => 'varchar'
},
'branchcode' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 10,
'default_value' => ''
},
'style' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'name' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 100,
'default_value' => ''
},
'title' => {
'size' => 200,
'default_value' => '',
'is_nullable' => 0,
'data_type' => 'varchar'
},
'lang' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 25,
'default_value' => 'default'
},
'is_html' => {
'is_nullable' => 1,
'data_type' => 'tinyint',
'default_value' => 0
},
'code' => {
'size' => 20,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 0
},
'content' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'message_transport_type' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'size' => 20,
'default_value' => 'email',
'is_foreign_key' => 1,
'data_type' => 'varchar',
'is_nullable' => 0
},
'updated_on' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'LanguageDescription' => bless( {
'result_class' => 'Koha::Schema::Result::LanguageDescription',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {},
'name' => 'language_descriptions',
'_ordered_columns' => [
'subtag',
'type',
'lang',
'description',
'id'
],
'_primaries' => [
'id'
],
'_unique_constraints' => {
'uniq_desc' => [
'subtag',
'type',
'lang'
],
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LanguageDescription'}{'_primaries'}
},
'_columns' => {
'lang' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 25
},
'subtag' => {
'size' => 25,
'data_type' => 'varchar',
'is_nullable' => 1
},
'type' => {
'size' => 25,
'data_type' => 'varchar',
'is_nullable' => 1
},
'description' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'LanguageDescription',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'ImportBatch' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::ImportBatch',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'profile' => {
'class' => 'Koha::Schema::Result::ImportBatchProfile',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'SET NULL',
'fk_columns' => {
'profile_id' => 1
},
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'single',
'is_depends_on' => 1
},
'source' => 'Koha::Schema::Result::ImportBatchProfile',
'cond' => {
'foreign.id' => 'self.profile_id'
}
},
'import_records' => {
'class' => 'Koha::Schema::Result::ImportRecord',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::ImportRecord',
'cond' => {
'foreign.import_batch_id' => 'self.import_batch_id'
}
}
},
'_ordered_columns' => [
'import_batch_id',
'matcher_id',
'template_id',
'branchcode',
'num_records',
'num_items',
'upload_timestamp',
'overlay_action',
'nomatch_action',
'item_action',
'import_status',
'batch_type',
'record_type',
'file_name',
'comments',
'profile_id'
],
'name' => 'import_batches',
'source_name' => 'ImportBatch',
'_primaries' => [
'import_batch_id'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportBatch'}{'_primaries'}
},
'_columns' => {
'item_action' => {
'default_value' => 'always_add',
'data_type' => 'enum',
'is_nullable' => 0,
'extra' => {
'list' => [
'always_add',
'add_only_for_matches',
'add_only_for_new',
'ignore',
'replace'
]
}
},
'overlay_action' => {
'data_type' => 'enum',
'is_nullable' => 0,
'extra' => {
'list' => [
'replace',
'create_new',
'use_template',
'ignore'
]
},
'default_value' => 'create_new'
},
'file_name' => {
'size' => 100,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'num_records' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 0
},
'num_items' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'import_status' => {
'data_type' => 'enum',
'is_nullable' => 0,
'extra' => {
'list' => [
'staging',
'staged',
'importing',
'imported',
'reverting',
'reverted',
'cleaned'
]
},
'default_value' => 'staging'
},
'profile_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'comments' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'record_type' => {
'extra' => {
'list' => [
'biblio',
'auth',
'holdings'
]
},
'is_nullable' => 0,
'data_type' => 'enum',
'default_value' => 'biblio'
},
'import_batch_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'upload_timestamp' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
},
'template_id' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'nomatch_action' => {
'extra' => {
'list' => [
'create_new',
'ignore'
]
},
'data_type' => 'enum',
'is_nullable' => 0,
'default_value' => 'create_new'
},
'matcher_id' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'branchcode' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'batch_type' => {
'data_type' => 'enum',
'is_nullable' => 0,
'extra' => {
'list' => [
'batch',
'z3950',
'webservice'
]
},
'default_value' => 'batch'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'BorrowerMessagePreference' => bless( {
'_unique_constraints' => {
'primary' => [
'borrower_message_preference_id'
]
},
'_columns' => {
'days_in_advance' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'message_attribute_id' => {
'is_foreign_key' => 1,
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 1
},
'borrower_message_preference_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'wants_digest' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'categorycode' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'size' => 10,
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'varchar'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::BorrowerMessagePreference',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'categorycode' => {
'class' => 'Koha::Schema::Result::Category',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'accessor' => 'filter',
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.categorycode' => 'self.categorycode'
},
'source' => 'Koha::Schema::Result::Category'
},
'borrower_message_transport_preferences' => {
'cond' => {
'foreign.borrower_message_preference_id' => 'self.borrower_message_preference_id'
},
'source' => 'Koha::Schema::Result::BorrowerMessageTransportPreference',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::BorrowerMessageTransportPreference'
},
'borrowernumber' => {
'attrs' => {
'accessor' => 'filter',
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'class' => 'Koha::Schema::Result::Borrower'
},
'message_attribute' => {
'attrs' => {
'fk_columns' => {
'message_attribute_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.message_attribute_id' => 'self.message_attribute_id'
},
'source' => 'Koha::Schema::Result::MessageAttribute',
'class' => 'Koha::Schema::Result::MessageAttribute'
}
},
'_ordered_columns' => [
'borrower_message_preference_id',
'borrowernumber',
'categorycode',
'message_attribute_id',
'days_in_advance',
'wants_digest'
],
'name' => 'borrower_message_preferences',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerMessagePreference'}{'_unique_constraints'}{'primary'},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'BorrowerMessagePreference',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'PreservationTrain' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'train_id'
],
'source_name' => 'PreservationTrain',
'_ordered_columns' => [
'train_id',
'name',
'description',
'default_processing_id',
'not_for_loan',
'created_on',
'closed_on',
'sent_on',
'received_on'
],
'name' => 'preservation_trains',
'result_class' => 'Koha::Schema::Result::PreservationTrain',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'preservation_trains_items' => {
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::PreservationTrainsItem',
'cond' => {
'foreign.train_id' => 'self.train_id'
},
'class' => 'Koha::Schema::Result::PreservationTrainsItem'
},
'default_processing' => {
'class' => 'Koha::Schema::Result::PreservationProcessing',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'default_processing_id' => 1
},
'join_type' => 'LEFT',
'is_depends_on' => 1,
'on_delete' => 'SET NULL',
'accessor' => 'single'
},
'cond' => {
'foreign.processing_id' => 'self.default_processing_id'
},
'source' => 'Koha::Schema::Result::PreservationProcessing'
}
},
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'not_for_loan' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 80,
'default_value' => 0
},
'default_processing_id' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'received_on' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'sent_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'created_on' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'train_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'closed_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'name' => {
'size' => 80,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'description' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PreservationTrain'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'OaiSet' => bless( {
'_primaries' => [
'id'
],
'resultset_attributes' => {},
'_relationships' => {
'oai_sets_descriptions' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.set_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::OaiSetsDescription',
'class' => 'Koha::Schema::Result::OaiSetsDescription'
},
'oai_sets_mappings' => {
'class' => 'Koha::Schema::Result::OaiSetsMapping',
'source' => 'Koha::Schema::Result::OaiSetsMapping',
'cond' => {
'foreign.set_id' => 'self.id'
},
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
}
},
'oai_sets_biblios' => {
'class' => 'Koha::Schema::Result::OaiSetsBiblio',
'source' => 'Koha::Schema::Result::OaiSetsBiblio',
'cond' => {
'foreign.set_id' => 'self.id'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::OaiSet',
'_ordered_columns' => [
'id',
'spec',
'name'
],
'name' => 'oai_sets',
'_columns' => {
'name' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 80
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'spec' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'spec' => [
'spec'
],
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'OaiSet'}{'_primaries'}
},
'source_name' => 'OaiSet',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'MarcMatcher' => bless( {
'_columns' => {
'matcher_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'code' => {
'default_value' => '',
'size' => 10,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'threshold' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 0
},
'description' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'default_value' => '',
'size' => 255
},
'record_type' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 10,
'default_value' => 'biblio'
}
},
'_unique_constraints' => {
'primary' => [
'matcher_id'
]
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::MarcMatcher',
'resultset_attributes' => {},
'_relationships' => {
'matchpoints' => {
'source' => 'Koha::Schema::Result::Matchpoint',
'cond' => {
'foreign.matcher_id' => 'self.matcher_id'
},
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::Matchpoint'
},
'matcher_matchpoints' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::MatcherMatchpoint',
'cond' => {
'foreign.matcher_id' => 'self.matcher_id'
},
'class' => 'Koha::Schema::Result::MatcherMatchpoint'
},
'matchchecks' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Matchcheck',
'cond' => {
'foreign.matcher_id' => 'self.matcher_id'
},
'class' => 'Koha::Schema::Result::Matchcheck'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'marc_matchers',
'_ordered_columns' => [
'matcher_id',
'code',
'description',
'record_type',
'threshold'
],
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcMatcher'}{'_unique_constraints'}{'primary'},
'source_name' => 'MarcMatcher',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'ImportOaiAuthority' => bless( {
'name' => 'import_oai_authorities',
'_ordered_columns' => [
'import_oai_authority_id',
'authid',
'identifier',
'repository',
'recordtype',
'datestamp',
'last_modified'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::ImportOaiAuthority',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'authid' => {
'source' => 'Koha::Schema::Result::AuthHeader',
'cond' => {
'foreign.authid' => 'self.authid'
},
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'NO ACTION',
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter'
},
'class' => 'Koha::Schema::Result::AuthHeader'
}
},
'_columns_info_loaded' => 0,
'source_name' => 'ImportOaiAuthority',
'_primaries' => [
'import_oai_authority_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportOaiAuthority'}{'_primaries'}
},
'_columns' => {
'identifier' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
},
'datestamp' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'last_modified' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'repository' => {
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'authid' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'bigint',
'is_nullable' => 0,
'extra' => {
'unsigned' => 1
},
'is_foreign_key' => 1
},
'import_oai_authority_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'recordtype' => {
'extra' => {
'list' => [
'authority',
'biblio'
]
},
'is_nullable' => 0,
'data_type' => 'enum',
'default_value' => 'biblio'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'SmtpServer' => bless( {
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'library_smtp_servers' => {
'source' => 'Koha::Schema::Result::LibrarySmtpServer',
'cond' => {
'foreign.smtp_server_id' => 'self.id'
},
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::LibrarySmtpServer'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::SmtpServer',
'name' => 'smtp_servers',
'_ordered_columns' => [
'id',
'name',
'host',
'port',
'timeout',
'ssl_mode',
'user_name',
'password',
'debug',
'is_default'
],
'_primaries' => [
'id'
],
'_columns' => {
'name' => {
'size' => 80,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'is_default' => {
'is_boolean' => 1,
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'port' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 25
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'host' => {
'size' => 80,
'default_value' => 'localhost',
'data_type' => 'varchar',
'is_nullable' => 0
},
'debug' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'password' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'user_name' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'timeout' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 120
},
'ssl_mode' => {
'data_type' => 'enum',
'is_nullable' => 0,
'extra' => {
'list' => [
'disabled',
'ssl',
'starttls'
]
}
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SmtpServer'}{'_primaries'}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'SmtpServer',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'ItemGroup' => bless( {
'source_name' => 'ItemGroup',
'_primaries' => [
'item_group_id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::ItemGroup',
'_relationships' => {
'biblio' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'biblio_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single'
},
'cond' => {
'foreign.biblionumber' => 'self.biblio_id'
},
'source' => 'Koha::Schema::Result::Biblio',
'class' => 'Koha::Schema::Result::Biblio'
},
'reserves' => {
'class' => 'Koha::Schema::Result::Reserve',
'source' => 'Koha::Schema::Result::Reserve',
'cond' => {
'foreign.item_group_id' => 'self.item_group_id'
},
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'old_reserves' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::OldReserve',
'cond' => {
'foreign.item_group_id' => 'self.item_group_id'
},
'class' => 'Koha::Schema::Result::OldReserve'
},
'item_group_items' => {
'class' => 'Koha::Schema::Result::ItemGroupItem',
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::ItemGroupItem',
'cond' => {
'foreign.item_group_id' => 'self.item_group_id'
}
}
},
'resultset_attributes' => {},
'name' => 'item_groups',
'_ordered_columns' => [
'item_group_id',
'biblio_id',
'display_order',
'description',
'created_on',
'updated_on'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemGroup'}{'_primaries'}
},
'_columns' => {
'display_order' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'integer'
},
'item_group_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'biblio_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'created_on' => {
'is_nullable' => 1,
'data_type' => 'timestamp',
'datetime_undef_if_invalid' => 1
},
'updated_on' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 0
},
'description' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmUsageTitle' => bless( {
'_unique_constraints' => {
'primary' => [
'title_id'
]
},
'_columns' => {
'title_uri' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'proprietary_id' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'usage_data_provider_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'publisher' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'platform' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'title_doi' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'isbn' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'title' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'print_issn' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'title_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'publisher_id' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'online_issn' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ErmUsageTitle',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'usage_data_provider' => {
'class' => 'Koha::Schema::Result::ErmUsageDataProvider',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'usage_data_provider_id' => 1
}
},
'source' => 'Koha::Schema::Result::ErmUsageDataProvider',
'cond' => {
'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
}
},
'erm_usage_muses' => {
'cond' => {
'foreign.title_id' => 'self.title_id'
},
'source' => 'Koha::Schema::Result::ErmUsageMus',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::ErmUsageMus'
},
'erm_usage_yuses' => {
'class' => 'Koha::Schema::Result::ErmUsageYus',
'source' => 'Koha::Schema::Result::ErmUsageYus',
'cond' => {
'foreign.title_id' => 'self.title_id'
},
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
}
},
'name' => 'erm_usage_titles',
'_ordered_columns' => [
'title_id',
'title',
'usage_data_provider_id',
'title_doi',
'proprietary_id',
'platform',
'print_issn',
'online_issn',
'title_uri',
'publisher',
'publisher_id',
'isbn'
],
'source_name' => 'ErmUsageTitle',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsageTitle'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'ClubHold' => bless( {
'_primaries' => [
'id'
],
'source_name' => 'ClubHold',
'_columns_info_loaded' => 0,
'_relationships' => {
'club' => {
'class' => 'Koha::Schema::Result::Club',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'club_id' => 1
}
},
'source' => 'Koha::Schema::Result::Club',
'cond' => {
'foreign.id' => 'self.club_id'
}
},
'item' => {
'class' => 'Koha::Schema::Result::Item',
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.item_id'
},
'attrs' => {
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'fk_columns' => {
'item_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
},
'club_holds_to_patron_holds' => {
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'cond' => {
'foreign.club_hold_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::ClubHoldsToPatronHold',
'class' => 'Koha::Schema::Result::ClubHoldsToPatronHold'
},
'biblio' => {
'class' => 'Koha::Schema::Result::Biblio',
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblio_id'
},
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'fk_columns' => {
'biblio_id' => 1
},
'is_foreign_key_constraint' => 1
}
}
},
'result_class' => 'Koha::Schema::Result::ClubHold',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'id',
'club_id',
'biblio_id',
'item_id',
'date_created'
],
'name' => 'club_holds',
'_columns' => {
'biblio_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'item_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'date_created' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 0
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'club_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubHold'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Aqorder' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'ordernumber'
],
'source_name' => 'Aqorder',
'name' => 'aqorders',
'_ordered_columns' => [
'ordernumber',
'biblionumber',
'deleted_biblionumber',
'entrydate',
'quantity',
'currency',
'listprice',
'datereceived',
'invoiceid',
'freight',
'unitprice',
'unitprice_tax_excluded',
'unitprice_tax_included',
'quantityreceived',
'created_by',
'datecancellationprinted',
'cancellationreason',
'order_internalnote',
'order_vendornote',
'basketno',
'timestamp',
'rrp',
'replacementprice',
'rrp_tax_excluded',
'rrp_tax_included',
'ecost',
'ecost_tax_excluded',
'ecost_tax_included',
'tax_rate_bak',
'tax_rate_on_ordering',
'tax_rate_on_receiving',
'tax_value_bak',
'tax_value_on_ordering',
'tax_value_on_receiving',
'discount',
'budget_id',
'budgetdate',
'sort1',
'sort2',
'sort1_authcat',
'sort2_authcat',
'uncertainprice',
'subscriptionid',
'parent_ordernumber',
'orderstatus',
'line_item_id',
'suppliers_reference_number',
'suppliers_reference_qualifier',
'suppliers_report',
'estimated_delivery_date',
'invoice_unitprice',
'invoice_currency'
],
'resultset_attributes' => {},
'_relationships' => {
'aqorders_items' => {
'class' => 'Koha::Schema::Result::AqordersItem',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.ordernumber' => 'self.ordernumber'
},
'source' => 'Koha::Schema::Result::AqordersItem'
},
'currency' => {
'class' => 'Koha::Schema::Result::Currency',
'attrs' => {
'join_type' => 'LEFT',
'accessor' => 'filter',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'SET NULL',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.currency' => 'self.currency'
},
'source' => 'Koha::Schema::Result::Currency'
},
'basketno' => {
'class' => 'Koha::Schema::Result::Aqbasket',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Aqbasket',
'cond' => {
'foreign.basketno' => 'self.basketno'
}
},
'aqorders_claims' => {
'cond' => {
'foreign.ordernumber' => 'self.ordernumber'
},
'source' => 'Koha::Schema::Result::AqordersClaim',
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::AqordersClaim'
},
'created_by' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.created_by'
},
'source' => 'Koha::Schema::Result::Borrower',
'class' => 'Koha::Schema::Result::Borrower'
},
'biblio' => {
'class' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'biblionumber' => 1
}
}
},
'fund' => {
'class' => 'Koha::Schema::Result::Aqbudget',
'attrs' => {
'fk_columns' => {
'budget_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.budget_id' => 'self.budget_id'
},
'source' => 'Koha::Schema::Result::Aqbudget'
},
'budget' => {
'class' => 'Koha::Schema::Result::Aqbudget',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'budget_id' => 1
}
},
'cond' => {
'foreign.budget_id' => 'self.budget_id'
},
'source' => 'Koha::Schema::Result::Aqbudget'
},
'invoice' => {
'source' => 'Koha::Schema::Result::Aqinvoice',
'cond' => {
'foreign.invoiceid' => 'self.invoiceid'
},
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'invoiceid' => 1
},
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::Aqinvoice'
},
'aqorders_transfers_ordernumber_to' => {
'class' => 'Koha::Schema::Result::AqordersTransfer',
'source' => 'Koha::Schema::Result::AqordersTransfer',
'cond' => {
'foreign.ordernumber_to' => 'self.ordernumber'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'accessor' => 'single',
'cascade_update' => 1
}
},
'invoiceid' => {
'source' => 'Koha::Schema::Result::Aqinvoice',
'cond' => {
'foreign.invoiceid' => 'self.invoiceid'
},
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter'
},
'class' => 'Koha::Schema::Result::Aqinvoice'
},
'aqorder_users' => {
'class' => 'Koha::Schema::Result::AqorderUser',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'cond' => {
'foreign.ordernumber' => 'self.ordernumber'
},
'source' => 'Koha::Schema::Result::AqorderUser'
},
'invoice_currency' => {
'cond' => {
'foreign.currency' => 'self.invoice_currency'
},
'source' => 'Koha::Schema::Result::Currency',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'SET NULL',
'is_foreign_key_constraint' => 1,
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'join_type' => 'LEFT',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::Currency'
},
'creator' => {
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.created_by'
},
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'accessor' => 'single',
'fk_columns' => {
'created_by' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
},
'aqorders_transfers_ordernumber_from' => {
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'accessor' => 'single',
'cascade_delete' => 0,
'cascade_update' => 1,
'cascade_copy' => 0
},
'cond' => {
'foreign.ordernumber_from' => 'self.ordernumber'
},
'source' => 'Koha::Schema::Result::AqordersTransfer',
'class' => 'Koha::Schema::Result::AqordersTransfer'
},
'subscriptionid' => {
'class' => 'Koha::Schema::Result::Subscription',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'is_depends_on' => 1
},
'cond' => {
'foreign.subscriptionid' => 'self.subscriptionid'
},
'source' => 'Koha::Schema::Result::Subscription'
},
'biblionumber' => {
'class' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
}
},
'additional_field_values' => {
'class' => 'Koha::Schema::Result::AdditionalFieldValue',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'cond' => sub { "DUMMY" },
'source' => 'Koha::Schema::Result::AdditionalFieldValue'
},
'basket' => {
'class' => 'Koha::Schema::Result::Aqbasket',
'cond' => {
'foreign.basketno' => 'self.basketno'
},
'source' => 'Koha::Schema::Result::Aqbasket',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'basketno' => 1
}
}
},
'subscription' => {
'class' => 'Koha::Schema::Result::Subscription',
'source' => 'Koha::Schema::Result::Subscription',
'cond' => {
'foreign.subscriptionid' => 'self.subscriptionid'
},
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'subscriptionid' => 1
},
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Aqorder',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'estimated_delivery_date' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'suppliers_reference_number' => {
'size' => 35,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'basketno' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'rrp_tax_excluded' => {
'size' => [
28,
6
],
'is_nullable' => 1,
'data_type' => 'decimal'
},
'deleted_biblionumber' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'suppliers_report' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'tax_value_bak' => {
'size' => [
28,
6
],
'is_nullable' => 1,
'data_type' => 'decimal'
},
'quantityreceived' => {
'default_value' => 0,
'data_type' => 'smallint',
'is_nullable' => 0
},
'tax_rate_on_ordering' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
6,
4
]
},
'listprice' => {
'size' => [
28,
6
],
'is_nullable' => 1,
'data_type' => 'decimal'
},
'invoice_currency' => {
'is_foreign_key' => 1,
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar',
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'ecost_tax_included' => {
'is_nullable' => 1,
'data_type' => 'decimal',
'size' => [
28,
6
]
},
'sort1_authcat' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'rrp' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
13,
2
]
},
'budget_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'quantity' => {
'data_type' => 'smallint',
'is_nullable' => 1
},
'tax_rate_bak' => {
'is_nullable' => 1,
'data_type' => 'decimal',
'size' => [
6,
4
]
},
'sort1' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'uncertainprice' => {
'is_nullable' => 1,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'ordernumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'invoice_unitprice' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
28,
6
]
},
'biblionumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'rrp_tax_included' => {
'is_nullable' => 1,
'data_type' => 'decimal',
'size' => [
28,
6
]
},
'order_vendornote' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'unitprice_tax_excluded' => {
'size' => [
28,
6
],
'is_nullable' => 1,
'data_type' => 'decimal'
},
'order_internalnote' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'suppliers_reference_qualifier' => {
'size' => 3,
'data_type' => 'varchar',
'is_nullable' => 1
},
'invoiceid' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'unitprice' => {
'size' => [
28,
6
],
'is_nullable' => 1,
'data_type' => 'decimal'
},
'budgetdate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'replacementprice' => {
'size' => [
28,
6
],
'data_type' => 'decimal',
'is_nullable' => 1
},
'datecancellationprinted' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'created_by' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'cancellationreason' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'tax_rate_on_receiving' => {
'size' => [
6,
4
],
'data_type' => 'decimal',
'is_nullable' => 1
},
'sort2' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'freight' => {
'is_nullable' => 1,
'data_type' => 'decimal',
'size' => [
28,
6
]
},
'line_item_id' => {
'size' => 35,
'data_type' => 'varchar',
'is_nullable' => 1
},
'tax_value_on_ordering' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
28,
6
]
},
'timestamp' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 0
},
'ecost_tax_excluded' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
28,
6
]
},
'parent_ordernumber' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'orderstatus' => {
'size' => 16,
'default_value' => 'new',
'data_type' => 'varchar',
'is_nullable' => 1
},
'subscriptionid' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer',
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'sort2_authcat' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'tax_value_on_receiving' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
28,
6
]
},
'unitprice_tax_included' => {
'is_nullable' => 1,
'data_type' => 'decimal',
'size' => [
28,
6
]
},
'currency' => {
'size' => 10,
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'varchar',
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'datereceived' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'discount' => {
'data_type' => 'float',
'is_nullable' => 1,
'size' => [
6,
4
]
},
'ecost' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
13,
2
]
},
'entrydate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqorder'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ItemGroupItem' => bless( {
'result_class' => 'Koha::Schema::Result::ItemGroupItem',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'item_group' => {
'class' => 'Koha::Schema::Result::ItemGroup',
'cond' => {
'foreign.item_group_id' => 'self.item_group_id'
},
'source' => 'Koha::Schema::Result::ItemGroup',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'item_group_id' => 1
},
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1
}
},
'item' => {
'attrs' => {
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'fk_columns' => {
'item_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.itemnumber' => 'self.item_id'
},
'source' => 'Koha::Schema::Result::Item',
'class' => 'Koha::Schema::Result::Item'
}
},
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'item_group_items',
'_ordered_columns' => [
'item_group_items_id',
'item_group_id',
'item_id'
],
'_primaries' => [
'item_group_items_id'
],
'source_name' => 'ItemGroupItem',
'_columns_info_loaded' => 0,
'_columns' => {
'item_group_items_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'item_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 0,
'is_foreign_key' => 1
},
'item_group_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 0,
'is_foreign_key' => 1
}
},
'_unique_constraints' => {
'item_id' => [
'item_id'
],
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemGroupItem'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Aqbudget' => bless( {
'source_name' => 'Aqbudget',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'budget_notes' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'budget_period_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'sort1_authcat' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'timestamp' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'budget_parent_id' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'budget_branchcode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'budget_owner_id' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'budget_code' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 30
},
'budget_name' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'budget_permission' => {
'data_type' => 'integer',
'is_nullable' => 1,
'default_value' => 0
},
'sort2_authcat' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'budget_encumb' => {
'default_value' => '0.000000',
'size' => [
28,
6
],
'is_nullable' => 1,
'data_type' => 'decimal'
},
'budget_amount' => {
'default_value' => '0.000000',
'size' => [
28,
6
],
'data_type' => 'decimal',
'is_nullable' => 1
},
'budget_expend' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
28,
6
],
'default_value' => '0.000000'
},
'budget_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
}
},
'_unique_constraints' => {
'primary' => [
'budget_id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqbudget'}{'_unique_constraints'}{'primary'},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Aqbudget',
'_relationships' => {
'aqinvoices' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Aqinvoice',
'cond' => {
'foreign.shipmentcost_budgetid' => 'self.budget_id'
},
'class' => 'Koha::Schema::Result::Aqinvoice'
},
'budget' => {
'attrs' => {
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'budget_period_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Aqbudgetperiod',
'cond' => {
'foreign.budget_period_id' => 'self.budget_period_id'
},
'class' => 'Koha::Schema::Result::Aqbudgetperiod'
},
'aqinvoice_adjustments' => {
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.budget_id' => 'self.budget_id'
},
'source' => 'Koha::Schema::Result::AqinvoiceAdjustment',
'class' => 'Koha::Schema::Result::AqinvoiceAdjustment'
},
'aqbudgets_plannings' => {
'cond' => {
'foreign.budget_id' => 'self.budget_id'
},
'source' => 'Koha::Schema::Result::AqbudgetsPlanning',
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::AqbudgetsPlanning'
},
'suggestions' => {
'class' => 'Koha::Schema::Result::Suggestion',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'cond' => {
'foreign.budgetid' => 'self.budget_id'
},
'source' => 'Koha::Schema::Result::Suggestion'
},
'vendor_edi_accounts' => {
'class' => 'Koha::Schema::Result::VendorEdiAccount',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::VendorEdiAccount',
'cond' => {
'foreign.shipment_budget' => 'self.budget_id'
}
},
'aqbudgetborrowers' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Aqbudgetborrower',
'cond' => {
'foreign.budget_id' => 'self.budget_id'
},
'class' => 'Koha::Schema::Result::Aqbudgetborrower'
},
'aqorders' => {
'class' => 'Koha::Schema::Result::Aqorder',
'cond' => {
'foreign.budget_id' => 'self.budget_id'
},
'source' => 'Koha::Schema::Result::Aqorder',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
}
},
'marc_order_accounts' => {
'class' => 'Koha::Schema::Result::MarcOrderAccount',
'source' => 'Koha::Schema::Result::MarcOrderAccount',
'cond' => {
'foreign.budget_id' => 'self.budget_id'
},
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'budget_period' => {
'class' => 'Koha::Schema::Result::Aqbudgetperiod',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'fk_columns' => {
'budget_period_id' => 1
},
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.budget_period_id' => 'self.budget_period_id'
},
'source' => 'Koha::Schema::Result::Aqbudgetperiod'
}
},
'name' => 'aqbudgets',
'_ordered_columns' => [
'budget_id',
'budget_parent_id',
'budget_code',
'budget_name',
'budget_branchcode',
'budget_amount',
'budget_encumb',
'budget_expend',
'budget_notes',
'timestamp',
'budget_period_id',
'sort1_authcat',
'sort2_authcat',
'budget_owner_id',
'budget_permission'
]
}, 'DBIx::Class::ResultSource::Table' ),
'MarcModificationTemplate' => bless( {
'_columns' => {
'template_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'name' => {
'data_type' => 'mediumtext',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => [
'template_id'
]
},
'name' => 'marc_modification_templates',
'_ordered_columns' => [
'template_id',
'name'
],
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::MarcModificationTemplate',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'marc_modification_template_actions' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::MarcModificationTemplateAction',
'cond' => {
'foreign.template_id' => 'self.template_id'
},
'class' => 'Koha::Schema::Result::MarcModificationTemplateAction'
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcModificationTemplate'}{'_unique_constraints'}{'primary'},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'MarcModificationTemplate'
}, 'DBIx::Class::ResultSource::Table' ),
'VendorEdiAccount' => bless( {
'_columns' => {
'san' => {
'size' => 20,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'upload_directory' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'standard' => {
'default_value' => 'EUR',
'size' => 3,
'data_type' => 'varchar',
'is_nullable' => 1
},
'invoices_enabled' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'transport' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 6,
'default_value' => 'FTP'
},
'plugin' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 256,
'default_value' => ''
},
'username' => {
'size' => 40,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'download_port' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'id_code_qualifier' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'default_value' => 14,
'size' => 3
},
'last_activity' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'quotes_enabled' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'vendor_id' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'download_directory' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'host' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 40
},
'orders_enabled' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'responses_enabled' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'password' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'upload_port' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'shipment_budget' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'auto_orders' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'description' => {
'data_type' => 'mediumtext',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'VendorEdiAccount'}{'_unique_constraints'}{'primary'},
'source_name' => 'VendorEdiAccount',
'_columns_info_loaded' => 0,
'result_class' => 'Koha::Schema::Result::VendorEdiAccount',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'vendor' => {
'class' => 'Koha::Schema::Result::Aqbookseller',
'cond' => {
'foreign.id' => 'self.vendor_id'
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'attrs' => {
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'RESTRICT',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'vendor_id' => 1
}
}
},
'shipment_budget' => {
'class' => 'Koha::Schema::Result::Aqbudget',
'attrs' => {
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'RESTRICT',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Aqbudget',
'cond' => {
'foreign.budget_id' => 'self.shipment_budget'
}
},
'edifact_messages' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::EdifactMessage',
'cond' => {
'foreign.edi_acct' => 'self.id'
},
'class' => 'Koha::Schema::Result::EdifactMessage'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'id',
'description',
'host',
'username',
'password',
'upload_port',
'download_port',
'last_activity',
'vendor_id',
'download_directory',
'upload_directory',
'san',
'standard',
'id_code_qualifier',
'transport',
'quotes_enabled',
'invoices_enabled',
'orders_enabled',
'responses_enabled',
'auto_orders',
'shipment_budget',
'plugin'
],
'name' => 'vendor_edi_accounts'
}, 'DBIx::Class::ResultSource::Table' ),
'Aqcontract' => bless( {
'_unique_constraints' => {
'primary' => [
'contractnumber'
]
},
'_columns' => {
'booksellerid' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'contractnumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'contractenddate' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'contractname' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
},
'contractdescription' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'contractstartdate' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
}
},
'_ordered_columns' => [
'contractnumber',
'contractstartdate',
'contractenddate',
'contractname',
'contractdescription',
'booksellerid'
],
'name' => 'aqcontract',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::Aqcontract',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'aqbaskets' => {
'class' => 'Koha::Schema::Result::Aqbasket',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::Aqbasket',
'cond' => {
'foreign.contractnumber' => 'self.contractnumber'
}
},
'booksellerid' => {
'cond' => {
'foreign.id' => 'self.booksellerid'
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'attrs' => {
'undef_on_null_fk' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::Aqbookseller'
}
},
'_columns_info_loaded' => 0,
'source_name' => 'Aqcontract',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqcontract'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'BackgroundJob' => bless( {
'_columns' => {
'context' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'ended_on' => {
'is_nullable' => 1,
'data_type' => 'datetime',
'datetime_undef_if_invalid' => 1
},
'progress' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'type' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 64
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'size' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'data' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'borrowernumber' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'queue' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'default_value' => 'default',
'size' => 191
},
'enqueued_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'status' => {
'size' => 32,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'started_on' => {
'is_nullable' => 1,
'data_type' => 'datetime',
'datetime_undef_if_invalid' => 1
}
},
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BackgroundJob'}{'_unique_constraints'}{'primary'},
'source_name' => 'BackgroundJob',
'_ordered_columns' => [
'id',
'status',
'progress',
'size',
'borrowernumber',
'type',
'queue',
'data',
'context',
'enqueued_on',
'started_on',
'ended_on'
],
'name' => 'background_jobs',
'_relationships' => {},
'result_class' => 'Koha::Schema::Result::BackgroundJob',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'TransportCost' => bless( {
'_unique_constraints' => {
'primary' => [
'frombranch',
'tobranch'
]
},
'_columns' => {
'cost' => {
'size' => [
6,
2
],
'is_nullable' => 0,
'data_type' => 'decimal'
},
'frombranch' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'is_foreign_key' => 1,
'size' => 10,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'disable_transfer' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'tobranch' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'is_foreign_key' => 1,
'size' => 10,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
}
},
'_columns_info_loaded' => 0,
'source_name' => 'TransportCost',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TransportCost'}{'_unique_constraints'}{'primary'},
'name' => 'transport_cost',
'_ordered_columns' => [
'frombranch',
'tobranch',
'cost',
'disable_transfer'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'tobranch' => {
'attrs' => {
'is_deferrable' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.tobranch'
},
'class' => 'Koha::Schema::Result::Branch'
},
'frombranch' => {
'class' => 'Koha::Schema::Result::Branch',
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.frombranch'
},
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::TransportCost'
}, 'DBIx::Class::ResultSource::Table' ),
'RecordSource' => bless( {
'_columns' => {
'name' => {
'data_type' => 'text',
'is_nullable' => 0
},
'can_be_edited' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0,
'is_boolean' => 1
},
'record_source_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => [
'record_source_id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'RecordSource'}{'_unique_constraints'}{'primary'},
'source_name' => 'RecordSource',
'_columns_info_loaded' => 0,
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::RecordSource',
'resultset_attributes' => {},
'_relationships' => {
'biblio_metadatas' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.record_source_id' => 'self.record_source_id'
},
'source' => 'Koha::Schema::Result::BiblioMetadata',
'class' => 'Koha::Schema::Result::BiblioMetadata'
},
'deletedbiblio_metadatas' => {
'class' => 'Koha::Schema::Result::DeletedbiblioMetadata',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::DeletedbiblioMetadata',
'cond' => {
'foreign.record_source_id' => 'self.record_source_id'
}
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'record_sources',
'_ordered_columns' => [
'record_source_id',
'name',
'can_be_edited'
]
}, 'DBIx::Class::ResultSource::Table' ),
'CourseInstructor' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'CourseInstructor',
'_columns_info_loaded' => 0,
'resultset_attributes' => {},
'_relationships' => {
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower'
},
'course' => {
'class' => 'Koha::Schema::Result::Course',
'source' => 'Koha::Schema::Result::Course',
'cond' => {
'foreign.course_id' => 'self.course_id'
},
'attrs' => {
'on_delete' => 'RESTRICT',
'accessor' => 'single',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'course_id' => 1
},
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::CourseInstructor',
'name' => 'course_instructors',
'_ordered_columns' => [
'course_id',
'borrowernumber'
],
'_primaries' => [
'course_id',
'borrowernumber'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CourseInstructor'}{'_primaries'}
},
'_columns' => {
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'course_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'EdifactEan' => bless( {
'_unique_constraints' => {
'primary' => [
'ee_id'
]
},
'_columns' => {
'ee_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'id_code_qualifier' => {
'default_value' => 14,
'size' => 3,
'data_type' => 'varchar',
'is_nullable' => 0
},
'description' => {
'size' => 128,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'ean' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 15
},
'branchcode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
}
},
'source_name' => 'EdifactEan',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'EdifactEan'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::EdifactEan',
'_relationships' => {
'branch' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'branchcode' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
}
},
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'on_delete' => 'RESTRICT',
'accessor' => 'filter',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
}
},
'_ordered_columns' => [
'ee_id',
'description',
'branchcode',
'ean',
'id_code_qualifier'
],
'name' => 'edifact_ean'
}, 'DBIx::Class::ResultSource::Table' ),
'KeyboardShortcut' => bless( {
'_unique_constraints' => {
'primary' => [
'shortcut_name'
]
},
'_columns' => {
'shortcut_keys' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 80
},
'shortcut_name' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 80
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'KeyboardShortcut'}{'_unique_constraints'}{'primary'},
'_relationships' => {},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::KeyboardShortcut',
'_ordered_columns' => [
'shortcut_name',
'shortcut_keys'
],
'name' => 'keyboard_shortcuts',
'source_name' => 'KeyboardShortcut',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'PrintersProfile' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'profile_id'
],
'source_name' => 'PrintersProfile',
'_ordered_columns' => [
'profile_id',
'printer_name',
'template_id',
'paper_bin',
'offset_horz',
'offset_vert',
'creep_horz',
'creep_vert',
'units',
'creator'
],
'name' => 'printers_profile',
'_relationships' => {},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::PrintersProfile',
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'offset_vert' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'float'
},
'template_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 0
},
'offset_horz' => {
'default_value' => 0,
'data_type' => 'float',
'is_nullable' => 0
},
'units' => {
'is_nullable' => 0,
'data_type' => 'char',
'size' => 20,
'default_value' => 'POINT'
},
'creep_horz' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'float'
},
'printer_name' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 40,
'default_value' => 'Default Printer'
},
'creator' => {
'is_nullable' => 0,
'data_type' => 'char',
'size' => 15,
'default_value' => 'Labels'
},
'profile_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'creep_vert' => {
'is_nullable' => 0,
'data_type' => 'float',
'default_value' => 0
},
'paper_bin' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 20,
'default_value' => 'Bypass'
}
},
'_unique_constraints' => {
'printername' => [
'printer_name',
'template_id',
'paper_bin',
'creator'
],
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PrintersProfile'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'SearchFilter' => bless( {
'name' => 'search_filters',
'_ordered_columns' => [
'search_filter_id',
'name',
'query',
'limits',
'opac',
'staff_client'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'_relationships' => {},
'result_class' => 'Koha::Schema::Result::SearchFilter',
'resultset_class' => 'DBIx::Class::ResultSet',
'_columns_info_loaded' => 0,
'source_name' => 'SearchFilter',
'_primaries' => [
'search_filter_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SearchFilter'}{'_primaries'}
},
'_columns' => {
'name' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
},
'query' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'limits' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'search_filter_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'staff_client' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'opac' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0,
'is_boolean' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'BorrowerPasswordRecovery' => bless( {
'_unique_constraints' => {
'primary' => [
'borrowernumber'
]
},
'_columns' => {
'uuid' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 128
},
'borrowernumber' => {
'is_nullable' => 0,
'data_type' => 'integer'
},
'valid_until' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'timestamp'
}
},
'_ordered_columns' => [
'borrowernumber',
'uuid',
'valid_until'
],
'name' => 'borrower_password_recovery',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::BorrowerPasswordRecovery',
'_relationships' => {},
'resultset_attributes' => {},
'_columns_info_loaded' => 0,
'source_name' => 'BorrowerPasswordRecovery',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerPasswordRecovery'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'SavedReport' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'SavedReport',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'date_run' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'report_id' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'report' => {
'is_nullable' => 1,
'data_type' => 'longtext'
}
},
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SavedReport'}{'_unique_constraints'}{'primary'},
'name' => 'saved_reports',
'_ordered_columns' => [
'id',
'report_id',
'report',
'date_run'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::SavedReport',
'_relationships' => {}
}, 'DBIx::Class::ResultSource::Table' ),
'HouseboundProfile' => bless( {
'_primaries' => [
'borrowernumber'
],
'result_class' => 'Koha::Schema::Result::HouseboundProfile',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter'
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
},
'housebound_visits' => {
'class' => 'Koha::Schema::Result::HouseboundVisit',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::HouseboundVisit',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
}
},
'resultset_attributes' => {},
'name' => 'housebound_profile',
'_ordered_columns' => [
'borrowernumber',
'day',
'frequency',
'fav_itemtypes',
'fav_subjects',
'fav_authors',
'referral',
'notes'
],
'_columns' => {
'notes' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'frequency' => {
'is_nullable' => 0,
'data_type' => 'mediumtext'
},
'day' => {
'data_type' => 'mediumtext',
'is_nullable' => 0
},
'fav_authors' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'referral' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'fav_subjects' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'fav_itemtypes' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'borrowernumber' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'HouseboundProfile'}{'_primaries'}
},
'source_name' => 'HouseboundProfile',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'TmpHoldsqueue' => bless( {
'_columns' => {
'firstname' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'holdingbranch' => {
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
},
'cardnumber' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 32
},
'phone' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'itemnumber' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer',
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'reservedate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'notes' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'title' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'item_level_request' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'timestamp' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 0
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'biblionumber' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'itemcallnumber' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'surname' => {
'data_type' => 'longtext',
'is_nullable' => 0
},
'barcode' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 20
},
'pickbranch' => {
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
}
},
'_unique_constraints' => {
'primary' => [
'itemnumber'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TmpHoldsqueue'}{'_unique_constraints'}{'primary'},
'source_name' => 'TmpHoldsqueue',
'_columns_info_loaded' => 0,
'_relationships' => {
'biblio' => {
'class' => 'Koha::Schema::Result::Biblio',
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'biblionumber' => 1
},
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'single'
}
},
'item' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'itemnumber' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 1
},
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Item',
'class' => 'Koha::Schema::Result::Item'
},
'itemnumber' => {
'class' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Item',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
}
},
'borrower' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'borrowernumber' => 1
},
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
},
'biblioitem' => {
'class' => 'Koha::Schema::Result::Biblioitem',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'biblionumber' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'single'
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblioitem'
},
'borrowernumber' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
},
'biblionumber' => {
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::Biblio'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::TmpHoldsqueue',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'tmp_holdsqueue',
'_ordered_columns' => [
'biblionumber',
'itemnumber',
'barcode',
'surname',
'firstname',
'phone',
'borrowernumber',
'cardnumber',
'reservedate',
'title',
'itemcallnumber',
'holdingbranch',
'pickbranch',
'notes',
'item_level_request',
'timestamp'
]
}, 'DBIx::Class::ResultSource::Table' ),
'AuthSubfieldStructure' => bless( {
'result_class' => 'Koha::Schema::Result::AuthSubfieldStructure',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'authtypecode' => {
'source' => 'Koha::Schema::Result::AuthType',
'cond' => {
'foreign.authtypecode' => 'self.authtypecode'
},
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::AuthType'
}
},
'_ordered_columns' => [
'authtypecode',
'tagfield',
'tagsubfield',
'liblibrarian',
'libopac',
'repeatable',
'mandatory',
'tab',
'authorised_value',
'value_builder',
'seealso',
'isurl',
'hidden',
'linkid',
'kohafield',
'frameworkcode',
'defaultvalue',
'display_order'
],
'name' => 'auth_subfield_structure',
'_primaries' => [
'authtypecode',
'tagfield',
'tagsubfield'
],
'_columns' => {
'value_builder' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'display_order' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'integer'
},
'authtypecode' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'default_value' => '',
'size' => 10,
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'frameworkcode' => {
'default_value' => '',
'size' => 10,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'liblibrarian' => {
'default_value' => '',
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'tab' => {
'data_type' => 'tinyint',
'is_nullable' => 1
},
'authorised_value' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 32
},
'seealso' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'hidden' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'libopac' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255,
'default_value' => ''
},
'isurl' => {
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'linkid' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'kohafield' => {
'size' => 45,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 1
},
'tagsubfield' => {
'size' => 1,
'default_value' => '',
'is_nullable' => 0,
'data_type' => 'varchar'
},
'tagfield' => {
'default_value' => '',
'size' => 3,
'data_type' => 'varchar',
'is_nullable' => 0
},
'defaultvalue' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'repeatable' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'mandatory' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AuthSubfieldStructure'}{'_primaries'}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'AuthSubfieldStructure',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'MarcTagStructure' => bless( {
'_columns' => {
'repeatable' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'ind1_defaultvalue' => {
'default_value' => '',
'size' => 1,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'mandatory' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'tagfield' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 3,
'default_value' => ''
},
'authorised_value' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 32
},
'important' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'liblibrarian' => {
'size' => 255,
'default_value' => '',
'is_nullable' => 0,
'data_type' => 'varchar'
},
'frameworkcode' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 4,
'default_value' => ''
},
'libopac' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255,
'default_value' => ''
},
'ind2_defaultvalue' => {
'size' => 1,
'default_value' => '',
'is_nullable' => 0,
'data_type' => 'varchar'
}
},
'_unique_constraints' => {
'primary' => [
'frameworkcode',
'tagfield'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcTagStructure'}{'_unique_constraints'}{'primary'},
'source_name' => 'MarcTagStructure',
'_columns_info_loaded' => 0,
'_relationships' => {},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::MarcTagStructure',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'marc_tag_structure',
'_ordered_columns' => [
'tagfield',
'liblibrarian',
'libopac',
'repeatable',
'mandatory',
'important',
'authorised_value',
'ind1_defaultvalue',
'ind2_defaultvalue',
'frameworkcode'
]
}, 'DBIx::Class::ResultSource::Table' ),
'ProblemReport' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'ProblemReport',
'_primaries' => [
'reportid'
],
'_ordered_columns' => [
'reportid',
'title',
'content',
'borrowernumber',
'branchcode',
'username',
'problempage',
'recipient',
'created_on',
'status'
],
'name' => 'problem_reports',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::ProblemReport',
'_relationships' => {
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'is_foreign_key_constraint' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower'
},
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
}
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ProblemReport'}{'_primaries'}
},
'_columns' => {
'reportid' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'title' => {
'size' => 40,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 0
},
'recipient' => {
'extra' => {
'list' => [
'admin',
'library'
]
},
'is_nullable' => 0,
'data_type' => 'enum',
'default_value' => 'library'
},
'status' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'default_value' => 'New',
'size' => 6
},
'branchcode' => {
'default_value' => '',
'size' => 10,
'is_foreign_key' => 1,
'data_type' => 'varchar',
'is_nullable' => 0,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'username' => {
'size' => 75,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'problempage' => {
'is_nullable' => 1,
'data_type' => 'text'
},
'content' => {
'data_type' => 'text',
'is_nullable' => 0
},
'created_on' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 0
},
'borrowernumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1,
'default_value' => 0
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Subscriptionroutinglist' => bless( {
'_unique_constraints' => {
'subscriptionid' => [
'subscriptionid',
'borrowernumber'
],
'primary' => [
'routingid'
]
},
'_columns' => {
'ranking' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'routingid' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'subscriptionid' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'borrowernumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
}
},
'_columns_info_loaded' => 0,
'source_name' => 'Subscriptionroutinglist',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Subscriptionroutinglist'}{'_unique_constraints'}{'primary'},
'_ordered_columns' => [
'routingid',
'borrowernumber',
'ranking',
'subscriptionid'
],
'name' => 'subscriptionroutinglist',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::Subscriptionroutinglist',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower'
},
'subscriptionid' => {
'class' => 'Koha::Schema::Result::Subscription',
'source' => 'Koha::Schema::Result::Subscription',
'cond' => {
'foreign.subscriptionid' => 'self.subscriptionid'
},
'attrs' => {
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'EdifactMessage' => bless( {
'source_name' => 'EdifactMessage',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_columns' => {
'transfer_date' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'raw_msg' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'basketno' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'status' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'filename' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'message_type' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 10
},
'deleted' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'edi_acct' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'vendor_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'EdifactMessage'}{'_unique_constraints'}{'primary'},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::EdifactMessage',
'resultset_attributes' => {},
'_relationships' => {
'aqinvoices' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.message_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::Aqinvoice',
'class' => 'Koha::Schema::Result::Aqinvoice'
},
'basketno' => {
'class' => 'Koha::Schema::Result::Aqbasket',
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.basketno' => 'self.basketno'
},
'source' => 'Koha::Schema::Result::Aqbasket'
},
'edi_acct' => {
'class' => 'Koha::Schema::Result::VendorEdiAccount',
'cond' => {
'foreign.id' => 'self.edi_acct'
},
'source' => 'Koha::Schema::Result::VendorEdiAccount',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1
}
},
'vendor' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'vendor_id' => 1
},
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'cond' => {
'foreign.id' => 'self.vendor_id'
},
'class' => 'Koha::Schema::Result::Aqbookseller'
}
},
'_ordered_columns' => [
'id',
'message_type',
'transfer_date',
'vendor_id',
'edi_acct',
'status',
'basketno',
'raw_msg',
'filename',
'deleted'
],
'name' => 'edifact_messages'
}, 'DBIx::Class::ResultSource::Table' ),
'ErmEholdingsPackage' => bless( {
'_columns' => {
'created_on' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'vendor_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'package_type' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'external_id' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'content_type' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'package_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'notes' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'name' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255
},
'provider' => {
'extra' => {
'list' => [
'ebsco'
]
},
'data_type' => 'enum',
'is_nullable' => 1
}
},
'_unique_constraints' => {
'primary' => [
'package_id'
]
},
'result_class' => 'Koha::Schema::Result::ErmEholdingsPackage',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'vendor' => {
'class' => 'Koha::Schema::Result::Aqbookseller',
'cond' => {
'foreign.id' => 'self.vendor_id'
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'vendor_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'single'
}
},
'extended_attributes' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::AdditionalFieldValue',
'cond' => sub { "DUMMY" },
'class' => 'Koha::Schema::Result::AdditionalFieldValue'
},
'additional_field_values' => {
'source' => 'Koha::Schema::Result::AdditionalFieldValue',
'cond' => sub { "DUMMY" },
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::AdditionalFieldValue'
},
'erm_eholdings_resources' => {
'class' => 'Koha::Schema::Result::ErmEholdingsResource',
'source' => 'Koha::Schema::Result::ErmEholdingsResource',
'cond' => {
'foreign.package_id' => 'self.package_id'
},
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'erm_eholdings_packages_agreements' => {
'cond' => {
'foreign.package_id' => 'self.package_id'
},
'source' => 'Koha::Schema::Result::ErmEholdingsPackagesAgreement',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::ErmEholdingsPackagesAgreement'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'package_id',
'vendor_id',
'name',
'external_id',
'provider',
'package_type',
'content_type',
'notes',
'created_on'
],
'name' => 'erm_eholdings_packages',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmEholdingsPackage'}{'_unique_constraints'}{'primary'},
'source_name' => 'ErmEholdingsPackage',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'Ticket' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'Ticket',
'_columns_info_loaded' => 0,
'result_class' => 'Koha::Schema::Result::Ticket',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'biblio' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'biblio_id' => 1
},
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblio_id'
},
'class' => 'Koha::Schema::Result::Biblio'
},
'resolver' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'resolver_id' => 1
},
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.resolver_id'
},
'source' => 'Koha::Schema::Result::Borrower',
'class' => 'Koha::Schema::Result::Borrower'
},
'ticket_updates' => {
'cond' => {
'foreign.ticket_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::TicketUpdate',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::TicketUpdate'
},
'reporter' => {
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.reporter_id'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'reporter_id' => 1
},
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
},
'assignee' => {
'cond' => {
'foreign.borrowernumber' => 'self.assignee_id'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'assignee_id' => 1
},
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'single'
},
'class' => 'Koha::Schema::Result::Borrower'
}
},
'_ordered_columns' => [
'id',
'source',
'reporter_id',
'reported_date',
'title',
'body',
'status',
'assignee_id',
'resolver_id',
'resolved_date',
'biblio_id'
],
'name' => 'tickets',
'_primaries' => [
'id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Ticket'}{'_primaries'}
},
'_columns' => {
'resolved_date' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'biblio_id' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'title' => {
'is_nullable' => 0,
'data_type' => 'text'
},
'status' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'reported_date' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 0
},
'assignee_id' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'body' => {
'is_nullable' => 0,
'data_type' => 'text'
},
'reporter_id' => {
'default_value' => 0,
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'resolver_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'source' => {
'extra' => {
'list' => [
'catalog'
]
},
'data_type' => 'enum',
'is_nullable' => 0,
'default_value' => 'catalog'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Stockrotationitem' => bless( {
'_unique_constraints' => {
'primary' => [
'itemnumber_id'
]
},
'_columns' => {
'fresh' => {
'is_boolean' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'indemand' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'stage_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'itemnumber_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
}
},
'source_name' => 'Stockrotationitem',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Stockrotationitem'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Stockrotationitem',
'_relationships' => {
'itemnumber' => {
'class' => 'Koha::Schema::Result::Item',
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'fk_columns' => {
'itemnumber_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.itemnumber' => 'self.itemnumber_id'
},
'source' => 'Koha::Schema::Result::Item'
},
'stage' => {
'class' => 'Koha::Schema::Result::Stockrotationstage',
'source' => 'Koha::Schema::Result::Stockrotationstage',
'cond' => {
'foreign.stage_id' => 'self.stage_id'
},
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'stage_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
}
},
'resultset_attributes' => {},
'name' => 'stockrotationitems',
'_ordered_columns' => [
'itemnumber_id',
'stage_id',
'indemand',
'fresh'
]
}, 'DBIx::Class::ResultSource::Table' ),
'ItemtypeLocalization' => bless( {
'source_name' => 'ItemtypeLocalization',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::ItemtypeLocalization',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'itemtype' => {
'source' => 'Koha::Schema::Result::Itemtype',
'cond' => {
'foreign.code' => 'self.itemtype'
},
'attrs' => {
'is_depends_on' => 1,
'accessor' => 'single',
'fk_columns' => {
'itemtype' => 1
},
'is_foreign_key_constraint' => 1,
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Itemtype'
}
},
'resultset_attributes' => {},
'deploy_depends_on' => {},
'_ordered_columns' => [
'localization_id',
'code',
'lang',
'translation'
],
'name' => 'itemtype_localizations',
'_columns' => {
'translation' => {
'is_nullable' => 1,
'data_type' => 'text'
},
'localization_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'lang' => {
'size' => 25,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'code' => {
'size' => 64,
'data_type' => 'varchar',
'is_nullable' => 0
}
},
'view_definition' => 'SELECT localization_id, code, lang, translation FROM localization WHERE entity=\'itemtypes\'',
'is_virtual' => 1
}, 'DBIx::Class::ResultSource::View' ),
'Branchtransfer' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'Branchtransfer',
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => [
'branchtransfer_id'
]
},
'_columns' => {
'datecancelled' => {
'data_type' => 'datetime',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'frombranch' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'size' => 10,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 0
},
'cancellation_reason' => {
'extra' => {
'list' => [
'Manual',
'StockrotationAdvance',
'StockrotationRepatriation',
'ReturnToHome',
'ReturnToHolding',
'RotatingCollection',
'Reserve',
'LostReserve',
'CancelReserve',
'ItemLost',
'WrongTransfer',
'RecallCancellation'
]
},
'data_type' => 'enum',
'is_nullable' => 1
},
'branchtransfer_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'reason' => {
'extra' => {
'list' => [
'Manual',
'StockrotationAdvance',
'StockrotationRepatriation',
'ReturnToHome',
'ReturnToHolding',
'RotatingCollection',
'Reserve',
'LostReserve',
'CancelReserve',
'TransferCancellation',
'Recall',
'RecallCancellation'
]
},
'data_type' => 'enum',
'is_nullable' => 1
},
'daterequested' => {
'is_nullable' => 0,
'data_type' => 'timestamp',
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
},
'itemnumber' => {
'default_value' => 0,
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer',
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'comments' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'datesent' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'tobranch' => {
'is_foreign_key' => 1,
'size' => 10,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 0,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'datearrived' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
}
},
'_relationships' => {
'tobranch' => {
'class' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.tobranch'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_foreign_key_constraint' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
}
},
'frombranch' => {
'class' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.frombranch'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'on_update' => 'CASCADE',
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'undef_on_null_fk' => 1
}
},
'itemnumber' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Item',
'class' => 'Koha::Schema::Result::Item'
}
},
'result_class' => 'Koha::Schema::Result::Branchtransfer',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_ordered_columns' => [
'branchtransfer_id',
'itemnumber',
'daterequested',
'datesent',
'frombranch',
'datearrived',
'datecancelled',
'tobranch',
'comments',
'reason',
'cancellation_reason'
],
'name' => 'branchtransfers',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Branchtransfer'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'HoldFillTarget' => bless( {
'_columns' => {
'reserve_id' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'borrowernumber' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'itemnumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'biblionumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'item_level_request' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'source_branchcode' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_nullable' => 1,
'data_type' => 'varchar',
'is_foreign_key' => 1,
'size' => 10
}
},
'_unique_constraints' => {
'primary' => [
'itemnumber'
]
},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'HoldFillTarget'}{'_unique_constraints'}{'primary'},
'source_name' => 'HoldFillTarget',
'name' => 'hold_fill_targets',
'_ordered_columns' => [
'borrowernumber',
'biblionumber',
'itemnumber',
'source_branchcode',
'item_level_request',
'reserve_id'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'borrowernumber' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter'
},
'class' => 'Koha::Schema::Result::Borrower'
},
'biblionumber' => {
'class' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
}
},
'itemnumber' => {
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter'
},
'class' => 'Koha::Schema::Result::Item'
},
'source_branchcode' => {
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.source_branchcode'
},
'attrs' => {
'join_type' => 'LEFT',
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Branch'
}
},
'result_class' => 'Koha::Schema::Result::HoldFillTarget',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmCounterLog' => bless( {
'name' => 'erm_counter_logs',
'_ordered_columns' => [
'erm_counter_log_id',
'borrowernumber',
'counter_files_id',
'usage_data_provider_id',
'importdate',
'filename',
'logdetails'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'usage_data_provider' => {
'source' => 'Koha::Schema::Result::ErmUsageDataProvider',
'cond' => {
'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
},
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'single',
'fk_columns' => {
'usage_data_provider_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::ErmUsageDataProvider'
},
'patron' => {
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'single',
'fk_columns' => {
'borrowernumber' => 1
},
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
},
'counter_file' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'counter_files_id' => 1
},
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::ErmCounterFile',
'cond' => {
'foreign.erm_counter_files_id' => 'self.counter_files_id'
},
'class' => 'Koha::Schema::Result::ErmCounterFile'
},
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ErmCounterLog',
'_primaries' => [
'erm_counter_log_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmCounterLog'}{'_primaries'}
},
'_columns' => {
'counter_files_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'logdetails' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'erm_counter_log_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'filename' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'importdate' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 1
},
'usage_data_provider_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'ErmCounterLog'
}, 'DBIx::Class::ResultSource::Table' ),
'Aqbookseller' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'Aqbookseller',
'_columns' => {
'notes' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'name' => {
'data_type' => 'longtext',
'is_nullable' => 0
},
'deliverytime' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'invoiceincgst' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 1
},
'phone' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 30
},
'address1' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'listincgst' => {
'data_type' => 'tinyint',
'is_nullable' => 1,
'is_boolean' => 1
},
'postal' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'address4' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'gstreg' => {
'is_boolean' => 1,
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'fax' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 50
},
'accountnumber' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'active' => {
'is_nullable' => 1,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'tax_rate' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
6,
4
]
},
'invoiceprice' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'listprice' => {
'is_foreign_key' => 1,
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar',
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'type' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'external_id' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'address3' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'address2' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'discount' => {
'data_type' => 'float',
'is_nullable' => 1,
'size' => [
6,
4
]
},
'url' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
}
},
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_ordered_columns' => [
'id',
'name',
'address1',
'address2',
'address3',
'address4',
'phone',
'accountnumber',
'type',
'notes',
'postal',
'url',
'active',
'listprice',
'invoiceprice',
'gstreg',
'listincgst',
'invoiceincgst',
'tax_rate',
'discount',
'fax',
'deliverytime',
'external_id'
],
'name' => 'aqbooksellers',
'resultset_attributes' => {},
'_relationships' => {
'subscriptions' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Subscription',
'cond' => {
'foreign.aqbooksellerid' => 'self.id'
},
'class' => 'Koha::Schema::Result::Subscription'
},
'erm_licenses' => {
'class' => 'Koha::Schema::Result::ErmLicense',
'cond' => {
'foreign.vendor_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::ErmLicense',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'aqcontacts' => {
'class' => 'Koha::Schema::Result::Aqcontact',
'source' => 'Koha::Schema::Result::Aqcontact',
'cond' => {
'foreign.booksellerid' => 'self.id'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
}
},
'aqinvoices' => {
'cond' => {
'foreign.booksellerid' => 'self.id'
},
'source' => 'Koha::Schema::Result::Aqinvoice',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::Aqinvoice'
},
'aqbookseller_issues' => {
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::AqbooksellerIssue',
'cond' => {
'foreign.vendor_id' => 'self.id'
},
'class' => 'Koha::Schema::Result::AqbooksellerIssue'
},
'erm_agreements' => {
'class' => 'Koha::Schema::Result::ErmAgreement',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::ErmAgreement',
'cond' => {
'foreign.vendor_id' => 'self.id'
}
},
'invoiceprice' => {
'class' => 'Koha::Schema::Result::Currency',
'cond' => {
'foreign.currency' => 'self.invoiceprice'
},
'source' => 'Koha::Schema::Result::Currency',
'attrs' => {
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
},
'listprice' => {
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Currency',
'cond' => {
'foreign.currency' => 'self.listprice'
},
'class' => 'Koha::Schema::Result::Currency'
},
'vendor_edi_accounts' => {
'class' => 'Koha::Schema::Result::VendorEdiAccount',
'cond' => {
'foreign.vendor_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::VendorEdiAccount',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
},
'edifact_messages' => {
'source' => 'Koha::Schema::Result::EdifactMessage',
'cond' => {
'foreign.vendor_id' => 'self.id'
},
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::EdifactMessage'
},
'erm_eholdings_packages' => {
'cond' => {
'foreign.vendor_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::ErmEholdingsPackage',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::ErmEholdingsPackage'
},
'aqbaskets' => {
'class' => 'Koha::Schema::Result::Aqbasket',
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.booksellerid' => 'self.id'
},
'source' => 'Koha::Schema::Result::Aqbasket'
},
'aqbookseller_interfaces' => {
'class' => 'Koha::Schema::Result::AqbooksellerInterface',
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.vendor_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::AqbooksellerInterface'
},
'erm_eholdings_resources' => {
'cond' => {
'foreign.vendor_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::ErmEholdingsResource',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::ErmEholdingsResource'
},
'aqbookseller_aliases' => {
'class' => 'Koha::Schema::Result::AqbooksellerAlias',
'cond' => {
'foreign.vendor_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::AqbooksellerAlias',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
},
'marc_order_accounts' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::MarcOrderAccount',
'cond' => {
'foreign.vendor_id' => 'self.id'
},
'class' => 'Koha::Schema::Result::MarcOrderAccount'
},
'aqbasketgroups' => {
'class' => 'Koha::Schema::Result::Aqbasketgroup',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Aqbasketgroup',
'cond' => {
'foreign.booksellerid' => 'self.id'
}
},
'aqcontracts' => {
'class' => 'Koha::Schema::Result::Aqcontract',
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Aqcontract',
'cond' => {
'foreign.booksellerid' => 'self.id'
}
}
},
'result_class' => 'Koha::Schema::Result::Aqbookseller',
'resultset_class' => 'DBIx::Class::ResultSet',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqbookseller'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'Permission' => bless( {
'_unique_constraints' => {
'primary' => [
'module_bit',
'code'
]
},
'_columns' => {
'module_bit' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1,
'default_value' => 0,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'code' => {
'size' => 64,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 0
},
'description' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
}
},
'name' => 'permissions',
'_ordered_columns' => [
'module_bit',
'code',
'description'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'user_permissions' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::UserPermission',
'cond' => {
'foreign.code' => 'self.code',
'foreign.module_bit' => 'self.module_bit'
},
'class' => 'Koha::Schema::Result::UserPermission'
},
'module_bit' => {
'class' => 'Koha::Schema::Result::Userflag',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.bit' => 'self.module_bit'
},
'source' => 'Koha::Schema::Result::Userflag'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Permission',
'_columns_info_loaded' => 0,
'source_name' => 'Permission',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Permission'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'BiblioFramework' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'BiblioFramework',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_unique_constraints' => {
'primary' => [
'frameworkcode'
]
},
'_columns' => {
'frameworktext' => {
'size' => 255,
'default_value' => '',
'is_nullable' => 0,
'data_type' => 'varchar'
},
'frameworkcode' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'default_value' => '',
'size' => 4
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BiblioFramework'}{'_unique_constraints'}{'primary'},
'_ordered_columns' => [
'frameworkcode',
'frameworktext'
],
'name' => 'biblio_framework',
'result_class' => 'Koha::Schema::Result::BiblioFramework',
'_relationships' => {
'marc_tag_structure' => {
'class' => 'Koha::Schema::Result::MarcTagStructure',
'source' => 'Koha::Schema::Result::MarcTagStructure',
'cond' => {
'foreign.frameworkcode' => 'self.frameworkcode'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {}
}, 'DBIx::Class::ResultSource::Table' ),
'ApiKey' => bless( {
'source_name' => 'ApiKey',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_primaries' => [
'client_id'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'patron' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'patron_id' => 1
},
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.patron_id'
},
'source' => 'Koha::Schema::Result::Borrower'
}
},
'result_class' => 'Koha::Schema::Result::ApiKey',
'resultset_attributes' => {},
'_ordered_columns' => [
'client_id',
'secret',
'description',
'patron_id',
'active'
],
'name' => 'api_keys',
'_columns' => {
'secret' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 191
},
'patron_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'client_id' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 191
},
'active' => {
'is_boolean' => 1,
'default_value' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'description' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
}
},
'_unique_constraints' => {
'secret' => [
'secret'
],
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ApiKey'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Itemtype' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'Itemtype',
'name' => 'itemtypes',
'_ordered_columns' => [
'itemtype',
'parent_type',
'description',
'rentalcharge',
'rentalcharge_daily',
'rentalcharge_daily_calendar',
'rentalcharge_hourly',
'rentalcharge_hourly_calendar',
'defaultreplacecost',
'processfee',
'notforloan',
'imageurl',
'summary',
'checkinmsg',
'checkinmsgtype',
'sip_media_type',
'hideinopac',
'searchcategory',
'automatic_checkin',
'bookable'
],
'_relationships' => {
'itemtypes' => {
'class' => 'Koha::Schema::Result::Itemtype',
'cond' => {
'foreign.parent_type' => 'self.itemtype'
},
'source' => 'Koha::Schema::Result::Itemtype',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
},
'old_reserves' => {
'class' => 'Koha::Schema::Result::OldReserve',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.itemtype' => 'self.itemtype'
},
'source' => 'Koha::Schema::Result::OldReserve'
},
'circulation_rules' => {
'source' => 'Koha::Schema::Result::CirculationRule',
'cond' => {
'foreign.itemtype' => 'self.itemtype'
},
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::CirculationRule'
},
'parent_type' => {
'source' => 'Koha::Schema::Result::Itemtype',
'cond' => {
'foreign.itemtype' => 'self.parent_type'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'RESTRICT',
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'on_update' => 'RESTRICT',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::Itemtype'
},
'localization' => {
'class' => 'Koha::Schema::Result::ItemtypeLocalization',
'cond' => sub { "DUMMY" },
'source' => 'Koha::Schema::Result::ItemtypeLocalization',
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'reserves' => {
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::Reserve',
'cond' => {
'foreign.itemtype' => 'self.itemtype'
},
'class' => 'Koha::Schema::Result::Reserve'
},
'itemtypes_branches' => {
'class' => 'Koha::Schema::Result::ItemtypesBranch',
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.itemtype' => 'self.itemtype'
},
'source' => 'Koha::Schema::Result::ItemtypesBranch'
}
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Itemtype',
'_primaries' => [
'itemtype'
],
'_columns' => {
'checkinmsgtype' => {
'default_value' => 'message',
'size' => 16,
'data_type' => 'char',
'is_nullable' => 0
},
'processfee' => {
'size' => [
28,
6
],
'data_type' => 'decimal',
'is_nullable' => 1
},
'imageurl' => {
'size' => 200,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'rentalcharge_daily' => {
'size' => [
28,
6
],
'data_type' => 'decimal',
'is_nullable' => 1
},
'rentalcharge' => {
'is_nullable' => 1,
'data_type' => 'decimal',
'size' => [
28,
6
]
},
'searchcategory' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'rentalcharge_hourly_calendar' => {
'is_boolean' => 1,
'default_value' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'itemtype' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 10,
'default_value' => ''
},
'parent_type' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10,
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'rentalcharge_daily_calendar' => {
'is_boolean' => 1,
'default_value' => 1,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'notforloan' => {
'is_boolean' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'summary' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'sip_media_type' => {
'size' => 3,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'bookable' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 1,
'is_boolean' => 1
},
'checkinmsg' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'hideinopac' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'description' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'rentalcharge_hourly' => {
'size' => [
28,
6
],
'data_type' => 'decimal',
'is_nullable' => 1
},
'defaultreplacecost' => {
'size' => [
28,
6
],
'data_type' => 'decimal',
'is_nullable' => 1
},
'automatic_checkin' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Itemtype'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'LibrarySmtpServer' => bless( {
'_unique_constraints' => {
'primary' => [
'id'
],
'library_id_idx' => [
'library_id'
]
},
'_columns' => {
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'library_id' => {
'is_foreign_key' => 1,
'size' => 10,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'smtp_server_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
}
},
'source_name' => 'LibrarySmtpServer',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LibrarySmtpServer'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'_relationships' => {
'smtp_server' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'smtp_server_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single'
},
'source' => 'Koha::Schema::Result::SmtpServer',
'cond' => {
'foreign.id' => 'self.smtp_server_id'
},
'class' => 'Koha::Schema::Result::SmtpServer'
},
'library' => {
'class' => 'Koha::Schema::Result::Branch',
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.library_id'
},
'attrs' => {
'fk_columns' => {
'library_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::LibrarySmtpServer',
'_ordered_columns' => [
'id',
'library_id',
'smtp_server_id'
],
'name' => 'library_smtp_servers'
}, 'DBIx::Class::ResultSource::Table' ),
'Aqbasket' => bless( {
'result_class' => 'Koha::Schema::Result::Aqbasket',
'_relationships' => {
'aqbasketusers' => {
'class' => 'Koha::Schema::Result::Aqbasketuser',
'cond' => {
'foreign.basketno' => 'self.basketno'
},
'source' => 'Koha::Schema::Result::Aqbasketuser',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
},
'basketgroupid' => {
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'accessor' => 'filter',
'join_type' => 'LEFT',
'on_delete' => 'RESTRICT',
'is_depends_on' => 1
},
'source' => 'Koha::Schema::Result::Aqbasketgroup',
'cond' => {
'foreign.id' => 'self.basketgroupid'
},
'class' => 'Koha::Schema::Result::Aqbasketgroup'
},
'additional_field_values' => {
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::AdditionalFieldValue',
'cond' => sub { "DUMMY" },
'class' => 'Koha::Schema::Result::AdditionalFieldValue'
},
'orders' => {
'class' => 'Koha::Schema::Result::Aqorder',
'source' => 'Koha::Schema::Result::Aqorder',
'cond' => {
'foreign.basketno' => 'self.basketno'
},
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'branch' => {
'class' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branch'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
}
},
'edifact_messages' => {
'class' => 'Koha::Schema::Result::EdifactMessage',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'cond' => {
'foreign.basketno' => 'self.basketno'
},
'source' => 'Koha::Schema::Result::EdifactMessage'
},
'contractnumber' => {
'class' => 'Koha::Schema::Result::Aqcontract',
'source' => 'Koha::Schema::Result::Aqcontract',
'cond' => {
'foreign.contractnumber' => 'self.contractnumber'
},
'attrs' => {
'join_type' => 'LEFT',
'accessor' => 'filter',
'on_delete' => 'RESTRICT',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'RESTRICT',
'undef_on_null_fk' => 1
}
},
'booksellerid' => {
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'RESTRICT',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'cond' => {
'foreign.id' => 'self.booksellerid'
},
'class' => 'Koha::Schema::Result::Aqbookseller'
},
'aqorders' => {
'cond' => {
'foreign.basketno' => 'self.basketno'
},
'source' => 'Koha::Schema::Result::Aqorder',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::Aqorder'
},
'basket_group' => {
'class' => 'Koha::Schema::Result::Aqbasketgroup',
'cond' => {
'foreign.id' => 'self.basketgroupid'
},
'source' => 'Koha::Schema::Result::Aqbasketgroup',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'is_depends_on' => 1,
'on_delete' => 'RESTRICT',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'basketgroupid' => 1
}
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'aqbasket',
'_ordered_columns' => [
'basketno',
'basketname',
'note',
'booksellernote',
'contractnumber',
'creationdate',
'closedate',
'booksellerid',
'authorisedby',
'booksellerinvoicenumber',
'basketgroupid',
'deliveryplace',
'billingplace',
'branch',
'is_standing',
'create_items'
],
'_primaries' => [
'basketno'
],
'source_name' => 'Aqbasket',
'_columns_info_loaded' => 0,
'_columns' => {
'create_items' => {
'extra' => {
'list' => [
'ordering',
'receiving',
'cataloguing'
]
},
'is_nullable' => 1,
'data_type' => 'enum'
},
'closedate' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'booksellernote' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'branch' => {
'size' => 10,
'is_foreign_key' => 1,
'data_type' => 'varchar',
'is_nullable' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'deliveryplace' => {
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
},
'is_standing' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'contractnumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'booksellerid' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1,
'default_value' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'basketno' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'note' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'basketgroupid' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'creationdate' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'billingplace' => {
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'basketname' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 50
},
'authorisedby' => {
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'booksellerinvoicenumber' => {
'data_type' => 'longtext',
'is_nullable' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqbasket'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'CashRegister' => bless( {
'_columns' => {
'archived' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'branch_default' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'name' => {
'size' => 24,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'description' => {
'data_type' => 'longtext',
'is_nullable' => 0
},
'branch' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 10,
'is_foreign_key' => 1
},
'starting_float' => {
'is_nullable' => 1,
'data_type' => 'decimal',
'size' => [
28,
6
]
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
}
},
'_unique_constraints' => {
'name' => [
'name',
'branch'
],
'primary' => [
'id'
]
},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'accountlines' => {
'class' => 'Koha::Schema::Result::Accountline',
'source' => 'Koha::Schema::Result::Accountline',
'cond' => {
'foreign.register_id' => 'self.id'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
}
},
'branch' => {
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branch'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::Branch'
},
'cash_register_actions' => {
'class' => 'Koha::Schema::Result::CashRegisterAction',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::CashRegisterAction',
'cond' => {
'foreign.register_id' => 'self.id'
}
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::CashRegister',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'cash_registers',
'_ordered_columns' => [
'id',
'name',
'description',
'branch',
'branch_default',
'starting_float',
'archived'
],
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CashRegister'}{'_unique_constraints'}{'primary'},
'source_name' => 'CashRegister',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'Illbatch' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'Illbatch',
'_columns' => {
'patron_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'ill_batch_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'status_code' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 20,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'backend' => {
'size' => 20,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'library_id' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'is_foreign_key' => 1,
'size' => 50
},
'name' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 100
}
},
'_unique_constraints' => {
'primary' => [
'ill_batch_id'
],
'u_illbatches__name' => [
'name'
]
},
'_ordered_columns' => [
'ill_batch_id',
'name',
'backend',
'patron_id',
'library_id',
'status_code'
],
'name' => 'illbatches',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Illbatch',
'_relationships' => {
'illrequests' => {
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::Illrequest',
'cond' => {
'foreign.batch_id' => 'self.ill_batch_id'
},
'class' => 'Koha::Schema::Result::Illrequest'
},
'patron' => {
'class' => 'Koha::Schema::Result::Borrower',
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.patron_id'
},
'attrs' => {
'accessor' => 'single',
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'fk_columns' => {
'patron_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
},
'status_code' => {
'cond' => {
'foreign.code' => 'self.status_code'
},
'source' => 'Koha::Schema::Result::IllbatchStatus',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::IllbatchStatus'
},
'library' => {
'cond' => {
'foreign.branchcode' => 'self.library_id'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'library_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Branch'
},
'requests' => {
'class' => 'Koha::Schema::Result::Illrequest',
'source' => 'Koha::Schema::Result::Illrequest',
'cond' => {
'foreign.batch_id' => 'self.ill_batch_id'
},
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
}
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Illbatch'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'ExportFormat' => bless( {
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::ExportFormat',
'_relationships' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'export_format',
'_ordered_columns' => [
'export_format_id',
'profile',
'description',
'content',
'csv_separator',
'field_separator',
'subfield_separator',
'encoding',
'type',
'used_for',
'staff_only'
],
'_primaries' => [
'export_format_id'
],
'source_name' => 'ExportFormat',
'_columns_info_loaded' => 0,
'_columns' => {
'profile' => {
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'used_for' => {
'size' => 255,
'default_value' => 'export_records',
'data_type' => 'varchar',
'is_nullable' => 1
},
'field_separator' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 2
},
'description' => {
'is_nullable' => 0,
'data_type' => 'longtext'
},
'subfield_separator' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 2
},
'csv_separator' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 2,
'default_value' => ','
},
'encoding' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'default_value' => 'utf8',
'size' => 255
},
'type' => {
'default_value' => 'marc',
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'content' => {
'is_nullable' => 0,
'data_type' => 'longtext'
},
'export_format_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'staff_only' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ExportFormat'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Illrequestattribute' => bless( {
'_columns' => {
'readonly' => {
'is_boolean' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 1
},
'type' => {
'size' => 200,
'data_type' => 'varchar',
'is_nullable' => 0
},
'backend' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 80
},
'illrequest_id' => {
'is_foreign_key' => 1,
'data_type' => 'bigint',
'is_nullable' => 0,
'extra' => {
'unsigned' => 1
}
},
'value' => {
'data_type' => 'mediumtext',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => [
'illrequest_id',
'backend',
'type'
]
},
'name' => 'illrequestattributes',
'_ordered_columns' => [
'illrequest_id',
'backend',
'type',
'value',
'readonly'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'illrequest' => {
'class' => 'Koha::Schema::Result::Illrequest',
'cond' => {
'foreign.illrequest_id' => 'self.illrequest_id'
},
'source' => 'Koha::Schema::Result::Illrequest',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'illrequest_id' => 1
}
}
}
},
'result_class' => 'Koha::Schema::Result::Illrequestattribute',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Illrequestattribute'}{'_unique_constraints'}{'primary'},
'source_name' => 'Illrequestattribute'
}, 'DBIx::Class::ResultSource::Table' ),
'ErmAgreement' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::ErmAgreement',
'_relationships' => {
'erm_eholdings_packages_agreements' => {
'class' => 'Koha::Schema::Result::ErmEholdingsPackagesAgreement',
'source' => 'Koha::Schema::Result::ErmEholdingsPackagesAgreement',
'cond' => {
'foreign.agreement_id' => 'self.agreement_id'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
}
},
'erm_user_roles' => {
'source' => 'Koha::Schema::Result::ErmUserRole',
'cond' => {
'foreign.agreement_id' => 'self.agreement_id'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::ErmUserRole'
},
'additional_field_values' => {
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::AdditionalFieldValue',
'cond' => sub { "DUMMY" },
'class' => 'Koha::Schema::Result::AdditionalFieldValue'
},
'erm_agreement_licenses' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.agreement_id' => 'self.agreement_id'
},
'source' => 'Koha::Schema::Result::ErmAgreementLicense',
'class' => 'Koha::Schema::Result::ErmAgreementLicense'
},
'erm_agreement_relationships_related_agreements' => {
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::ErmAgreementRelationship',
'cond' => {
'foreign.related_agreement_id' => 'self.agreement_id'
},
'class' => 'Koha::Schema::Result::ErmAgreementRelationship'
},
'user_roles' => {
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'cond' => {
'foreign.agreement_id' => 'self.agreement_id'
},
'source' => 'Koha::Schema::Result::ErmUserRole',
'class' => 'Koha::Schema::Result::ErmUserRole'
},
'erm_agreement_periods' => {
'class' => 'Koha::Schema::Result::ErmAgreementPeriod',
'cond' => {
'foreign.agreement_id' => 'self.agreement_id'
},
'source' => 'Koha::Schema::Result::ErmAgreementPeriod',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'extended_attributes' => {
'class' => 'Koha::Schema::Result::AdditionalFieldValue',
'cond' => sub { "DUMMY" },
'source' => 'Koha::Schema::Result::AdditionalFieldValue',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
}
},
'vendor' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'vendor_id' => 1
},
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'accessor' => 'single'
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'cond' => {
'foreign.id' => 'self.vendor_id'
},
'class' => 'Koha::Schema::Result::Aqbookseller'
},
'erm_agreement_relationships_agreements' => {
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.agreement_id' => 'self.agreement_id'
},
'source' => 'Koha::Schema::Result::ErmAgreementRelationship',
'class' => 'Koha::Schema::Result::ErmAgreementRelationship'
},
'erm_documents' => {
'class' => 'Koha::Schema::Result::ErmDocument',
'cond' => {
'foreign.agreement_id' => 'self.agreement_id'
},
'source' => 'Koha::Schema::Result::ErmDocument',
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
}
}
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'erm_agreements',
'_ordered_columns' => [
'agreement_id',
'vendor_id',
'name',
'description',
'status',
'closure_reason',
'is_perpetual',
'renewal_priority',
'license_info'
],
'source_name' => 'ErmAgreement',
'_primaries' => [
'agreement_id'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmAgreement'}{'_primaries'}
},
'_columns' => {
'vendor_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'is_perpetual' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'renewal_priority' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'license_info' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'closure_reason' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'agreement_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'description' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'name' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
},
'status' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 80
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Currency' => bless( {
'_ordered_columns' => [
'currency',
'symbol',
'isocode',
'timestamp',
'rate',
'active',
'archived',
'p_sep_by_space',
'p_cs_precedes'
],
'name' => 'currency',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::Currency',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'aqorders' => {
'source' => 'Koha::Schema::Result::Aqorder',
'cond' => {
'foreign.currency' => 'self.currency'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::Aqorder'
},
'aqorders_invoice_currencies' => {
'cond' => {
'foreign.invoice_currency' => 'self.currency'
},
'source' => 'Koha::Schema::Result::Aqorder',
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::Aqorder'
},
'aqbooksellers_listprices' => {
'class' => 'Koha::Schema::Result::Aqbookseller',
'cond' => {
'foreign.listprice' => 'self.currency'
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
},
'aqbooksellers_invoiceprices' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.invoiceprice' => 'self.currency'
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'class' => 'Koha::Schema::Result::Aqbookseller'
}
},
'_columns_info_loaded' => 0,
'source_name' => 'Currency',
'_primaries' => [
'currency'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Currency'}{'_primaries'}
},
'_columns' => {
'p_sep_by_space' => {
'data_type' => 'tinyint',
'is_nullable' => 1,
'default_value' => 0
},
'p_cs_precedes' => {
'is_boolean' => 1,
'default_value' => 1,
'data_type' => 'tinyint',
'is_nullable' => 1
},
'timestamp' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'symbol' => {
'size' => 5,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'active' => {
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'isocode' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 5
},
'currency' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 10,
'default_value' => ''
},
'archived' => {
'default_value' => 0,
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'rate' => {
'size' => [
15,
5
],
'data_type' => 'float',
'is_nullable' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'AdvancedEditorMacro' => bless( {
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_columns' => {
'macro' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'name' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 80
},
'borrowernumber' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'shared' => {
'is_boolean' => 1,
'is_nullable' => 1,
'data_type' => 'tinyint',
'default_value' => 0
}
},
'_columns_info_loaded' => 0,
'source_name' => 'AdvancedEditorMacro',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AdvancedEditorMacro'}{'_unique_constraints'}{'primary'},
'_ordered_columns' => [
'id',
'name',
'macro',
'borrowernumber',
'shared'
],
'name' => 'advanced_editor_macros',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
}
}
},
'result_class' => 'Koha::Schema::Result::AdvancedEditorMacro',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet'
}, 'DBIx::Class::ResultSource::Table' ),
'OaiServer' => bless( {
'source_name' => 'OaiServer',
'_primaries' => [
'oai_server_id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {},
'result_class' => 'Koha::Schema::Result::OaiServer',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_ordered_columns' => [
'oai_server_id',
'endpoint',
'oai_set',
'servername',
'dataformat',
'recordtype',
'add_xslt'
],
'name' => 'oai_servers',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'OaiServer'}{'_primaries'}
},
'_columns' => {
'dataformat' => {
'extra' => {
'list' => [
'oai_dc',
'marc-xml',
'marcxml'
]
},
'data_type' => 'enum',
'is_nullable' => 0,
'default_value' => 'oai_dc'
},
'endpoint' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
},
'recordtype' => {
'default_value' => 'biblio',
'extra' => {
'list' => [
'authority',
'biblio'
]
},
'is_nullable' => 0,
'data_type' => 'enum'
},
'servername' => {
'is_nullable' => 0,
'data_type' => 'longtext'
},
'add_xslt' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'oai_set' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'oai_server_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'BorrowerAttributeType' => bless( {
'source_name' => 'BorrowerAttributeType',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_primaries' => [
'code'
],
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::BorrowerAttributeType',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'borrower_attributes' => {
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::BorrowerAttribute',
'cond' => {
'foreign.code' => 'self.code'
},
'class' => 'Koha::Schema::Result::BorrowerAttribute'
},
'borrower_attribute_types_branches' => {
'cond' => {
'foreign.bat_code' => 'self.code'
},
'source' => 'Koha::Schema::Result::BorrowerAttributeTypesBranch',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::BorrowerAttributeTypesBranch'
},
'category_code' => {
'class' => 'Koha::Schema::Result::Category',
'attrs' => {
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'RESTRICT',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Category',
'cond' => {
'foreign.categorycode' => 'self.category_code'
}
},
'pseudonymized_borrower_attributes' => {
'class' => 'Koha::Schema::Result::PseudonymizedBorrowerAttribute',
'cond' => {
'foreign.code' => 'self.code'
},
'source' => 'Koha::Schema::Result::PseudonymizedBorrowerAttribute',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
}
},
'name' => 'borrower_attribute_types',
'_ordered_columns' => [
'code',
'description',
'repeatable',
'unique_id',
'is_date',
'opac_display',
'opac_editable',
'staff_searchable',
'searched_by_default',
'authorised_value_category',
'display_checkout',
'category_code',
'class',
'keep_for_pseudonymization',
'mandatory'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerAttributeType'}{'_primaries'}
},
'_columns' => {
'repeatable' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'mandatory' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'opac_display' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'searched_by_default' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0,
'is_boolean' => 1
},
'is_date' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'category_code' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10,
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'authorised_value_category' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 32
},
'code' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 64
},
'class' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'default_value' => '',
'size' => 255
},
'unique_id' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'staff_searchable' => {
'is_boolean' => 1,
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'description' => {
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'display_checkout' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'keep_for_pseudonymization' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'opac_editable' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ItemEditorTemplate' => bless( {
'_columns' => {
'contents' => {
'is_nullable' => 0,
'data_type' => 'longtext'
},
'patron_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'name' => {
'is_nullable' => 0,
'data_type' => 'mediumtext'
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'is_shared' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0,
'is_boolean' => 1
}
},
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemEditorTemplate'}{'_unique_constraints'}{'primary'},
'source_name' => 'ItemEditorTemplate',
'_ordered_columns' => [
'id',
'patron_id',
'name',
'is_shared',
'contents'
],
'name' => 'item_editor_templates',
'_relationships' => {
'patron' => {
'class' => 'Koha::Schema::Result::Borrower',
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.patron_id'
},
'attrs' => {
'accessor' => 'single',
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'patron_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ItemEditorTemplate',
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'ImportBiblio' => bless( {
'_ordered_columns' => [
'import_record_id',
'matched_biblionumber',
'control_number',
'original_source',
'title',
'author',
'isbn',
'issn',
'has_items'
],
'name' => 'import_biblios',
'result_class' => 'Koha::Schema::Result::ImportBiblio',
'resultset_attributes' => {},
'_relationships' => {
'import_record' => {
'cond' => {
'foreign.import_record_id' => 'self.import_record_id'
},
'source' => 'Koha::Schema::Result::ImportRecord',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'fk_columns' => {
'import_record_id' => 1
},
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::ImportRecord'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => [
'import_record_id'
],
'source_name' => 'ImportBiblio',
'_columns' => {
'isbn' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'has_items' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'control_number' => {
'size' => 25,
'data_type' => 'varchar',
'is_nullable' => 1
},
'author' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'issn' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'original_source' => {
'size' => 25,
'data_type' => 'varchar',
'is_nullable' => 1
},
'import_record_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'matched_biblionumber' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'title' => {
'data_type' => 'longtext',
'is_nullable' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportBiblio'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'SmsProvider' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'SmsProvider',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_primaries' => [
'id'
],
'_ordered_columns' => [
'id',
'name',
'domain'
],
'name' => 'sms_providers',
'result_class' => 'Koha::Schema::Result::SmsProvider',
'_relationships' => {
'borrowers' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.sms_provider_id' => 'self.id'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_columns' => {
'domain' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
},
'name' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SmsProvider'}{'_primaries'},
'name' => [
'name'
]
}
}, 'DBIx::Class::ResultSource::Table' ),
'PluginMethod' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'plugin_class',
'plugin_method'
],
'source_name' => 'PluginMethod',
'name' => 'plugin_methods',
'_ordered_columns' => [
'plugin_class',
'plugin_method'
],
'_relationships' => {},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::PluginMethod',
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'plugin_method' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
},
'plugin_class' => {
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PluginMethod'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'OldIssue' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'OldIssue',
'_primaries' => [
'issue_id'
],
'_ordered_columns' => [
'issue_id',
'borrowernumber',
'issuer_id',
'itemnumber',
'date_due',
'branchcode',
'returndate',
'checkin_library',
'lastreneweddate',
'renewals_count',
'unseen_renewals',
'auto_renew',
'auto_renew_error',
'timestamp',
'issuedate',
'onsite_checkout',
'note',
'notedate',
'noteseen'
],
'name' => 'old_issues',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'account_lines' => {
'class' => 'Koha::Schema::Result::Accountline',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.issue_id' => 'self.issue_id'
},
'source' => 'Koha::Schema::Result::Accountline'
},
'renewals' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
},
'source' => 'Koha::Schema::Result::CheckoutRenewal',
'cond' => {
'foreign.checkout_id' => 'self.issue_id'
},
'class' => 'Koha::Schema::Result::CheckoutRenewal'
},
'borrowernumber' => {
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'SET NULL',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'accessor' => 'filter'
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Borrower'
},
'patron' => {
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'borrowernumber' => 1
},
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'class' => 'Koha::Schema::Result::Borrower'
},
'issuer' => {
'cond' => {
'foreign.borrowernumber' => 'self.issuer_id'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'issuer_id' => 1
},
'is_foreign_key_constraint' => 1,
'accessor' => 'single',
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
},
'itemnumber' => {
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Item',
'attrs' => {
'is_foreign_key_constraint' => 1,
'accessor' => 'filter',
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'SET NULL',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::Item'
},
'accountlines' => {
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.old_issue_id' => 'self.issue_id'
},
'source' => 'Koha::Schema::Result::Accountline',
'class' => 'Koha::Schema::Result::Accountline'
},
'library' => {
'class' => 'Koha::Schema::Result::Branch',
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'branchcode' => 1
},
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1
}
},
'return_claim' => {
'class' => 'Koha::Schema::Result::ReturnClaim',
'cond' => {
'foreign.issue_id' => 'self.issue_id'
},
'source' => 'Koha::Schema::Result::ReturnClaim',
'attrs' => {
'cascade_update' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 0,
'cascade_delete' => 0,
'cascade_copy' => 0
}
},
'item' => {
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'itemnumber' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'class' => 'Koha::Schema::Result::Item'
}
},
'result_class' => 'Koha::Schema::Result::OldIssue',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'OldIssue'}{'_primaries'}
},
'_columns' => {
'checkin_library' => {
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'issuer_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'itemnumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'lastreneweddate' => {
'data_type' => 'datetime',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'issue_id' => {
'is_nullable' => 0,
'data_type' => 'integer'
},
'onsite_checkout' => {
'is_boolean' => 1,
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'branchcode' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'noteseen' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'note' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'notedate' => {
'is_nullable' => 1,
'data_type' => 'datetime',
'datetime_undef_if_invalid' => 1
},
'timestamp' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'date_due' => {
'data_type' => 'datetime',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'auto_renew' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'auto_renew_error' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 32
},
'returndate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'renewals_count' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'unseen_renewals' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'issuedate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'AdditionalContentsLocalization' => bless( {
'_columns' => {
'lang' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 50,
'default_value' => ''
},
'title' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'default_value' => '',
'size' => 250
},
'updated_on' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 0
},
'content' => {
'is_nullable' => 0,
'data_type' => 'mediumtext'
},
'id' => {
'extra' => {
'unsigned' => 1
},
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'additional_content_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer',
'extra' => {
'unsigned' => 1
}
}
},
'_unique_constraints' => {
'additional_contents_localizations_uniq' => [
'additional_content_id',
'lang'
],
'primary' => [
'id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AdditionalContentsLocalization'}{'_unique_constraints'}{'primary'},
'_ordered_columns' => [
'id',
'additional_content_id',
'title',
'content',
'lang',
'updated_on'
],
'name' => 'additional_contents_localizations',
'result_class' => 'Koha::Schema::Result::AdditionalContentsLocalization',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'additional_content' => {
'class' => 'Koha::Schema::Result::AdditionalContent',
'source' => 'Koha::Schema::Result::AdditionalContent',
'cond' => {
'foreign.id' => 'self.additional_content_id'
},
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'additional_content_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single'
}
}
},
'resultset_attributes' => {},
'_columns_info_loaded' => 0,
'source_name' => 'AdditionalContentsLocalization',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'ReportsDictionary' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::ReportsDictionary',
'_relationships' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_ordered_columns' => [
'id',
'name',
'description',
'date_created',
'date_modified',
'saved_sql',
'report_area'
],
'name' => 'reports_dictionary',
'source_name' => 'ReportsDictionary',
'_primaries' => [
'id'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ReportsDictionary'}{'_primaries'}
},
'_columns' => {
'date_created' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'report_area' => {
'size' => 6,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'saved_sql' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'description' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'name' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'date_modified' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'SubscriptionFrequency' => bless( {
'_primaries' => [
'id'
],
'source_name' => 'SubscriptionFrequency',
'_columns_info_loaded' => 0,
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::SubscriptionFrequency',
'_relationships' => {
'subscriptions' => {
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.periodicity' => 'self.id'
},
'source' => 'Koha::Schema::Result::Subscription',
'class' => 'Koha::Schema::Result::Subscription'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'id',
'description',
'displayorder',
'unit',
'unitsperissue',
'issuesperunit'
],
'name' => 'subscription_frequencies',
'_columns' => {
'displayorder' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'issuesperunit' => {
'default_value' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'description' => {
'data_type' => 'mediumtext',
'is_nullable' => 0
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'unitsperissue' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 1
},
'unit' => {
'extra' => {
'list' => [
'day',
'week',
'month',
'year'
]
},
'data_type' => 'enum',
'is_nullable' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SubscriptionFrequency'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'SocialData' => bless( {
'_columns' => {
'num_critics' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'isbn' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 30,
'default_value' => ''
},
'score_avg' => {
'is_nullable' => 1,
'data_type' => 'decimal',
'size' => [
5,
2
]
},
'num_scores' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'num_quotations' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'num_videos' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'num_critics_pro' => {
'is_nullable' => 1,
'data_type' => 'integer'
}
},
'_unique_constraints' => {
'primary' => [
'isbn'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SocialData'}{'_unique_constraints'}{'primary'},
'result_class' => 'Koha::Schema::Result::SocialData',
'_relationships' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'name' => 'social_data',
'_ordered_columns' => [
'isbn',
'num_critics',
'num_critics_pro',
'num_quotations',
'num_videos',
'score_avg',
'num_scores'
],
'source_name' => 'SocialData',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmAgreementPeriod' => bless( {
'_unique_constraints' => {
'primary' => [
'agreement_period_id'
]
},
'_columns' => {
'started_on' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'date'
},
'agreement_period_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'notes' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'ended_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'cancellation_deadline' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'agreement_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'_relationships' => {
'agreement' => {
'class' => 'Koha::Schema::Result::ErmAgreement',
'attrs' => {
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'agreement_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::ErmAgreement',
'cond' => {
'foreign.agreement_id' => 'self.agreement_id'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::ErmAgreementPeriod',
'name' => 'erm_agreement_periods',
'_ordered_columns' => [
'agreement_period_id',
'agreement_id',
'started_on',
'ended_on',
'cancellation_deadline',
'notes'
],
'source_name' => 'ErmAgreementPeriod',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmAgreementPeriod'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'ErmUsageDataProvider' => bless( {
'source_name' => 'ErmUsageDataProvider',
'_primaries' => [
'erm_usage_data_provider_id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::ErmUsageDataProvider',
'_relationships' => {
'erm_usage_databases' => {
'class' => 'Koha::Schema::Result::ErmUsageDatabase',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
},
'source' => 'Koha::Schema::Result::ErmUsageDatabase'
},
'erm_usage_yuses' => {
'class' => 'Koha::Schema::Result::ErmUsageYus',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
},
'source' => 'Koha::Schema::Result::ErmUsageYus'
},
'erm_usage_titles' => {
'class' => 'Koha::Schema::Result::ErmUsageTitle',
'source' => 'Koha::Schema::Result::ErmUsageTitle',
'cond' => {
'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
},
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'erm_counter_logs' => {
'class' => 'Koha::Schema::Result::ErmCounterLog',
'cond' => {
'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
},
'source' => 'Koha::Schema::Result::ErmCounterLog',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'erm_usage_muses' => {
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::ErmUsageMus',
'cond' => {
'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
},
'class' => 'Koha::Schema::Result::ErmUsageMus'
},
'erm_usage_platforms' => {
'source' => 'Koha::Schema::Result::ErmUsagePlatform',
'cond' => {
'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
},
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ErmUsagePlatform'
},
'erm_counter_files' => {
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'cond' => {
'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
},
'source' => 'Koha::Schema::Result::ErmCounterFile',
'class' => 'Koha::Schema::Result::ErmCounterFile'
},
'erm_usage_items' => {
'class' => 'Koha::Schema::Result::ErmUsageItem',
'cond' => {
'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
},
'source' => 'Koha::Schema::Result::ErmUsageItem',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
}
}
},
'name' => 'erm_usage_data_providers',
'_ordered_columns' => [
'erm_usage_data_provider_id',
'name',
'description',
'active',
'method',
'aggregator',
'service_type',
'service_url',
'report_release',
'customer_id',
'requestor_id',
'api_key',
'requestor_name',
'requestor_email',
'report_types',
'service_platform'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsageDataProvider'}{'_primaries'}
},
'_columns' => {
'method' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'customer_id' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
},
'service_platform' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'description' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'active' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 1
},
'report_types' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'requestor_email' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'api_key' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'erm_usage_data_provider_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'report_release' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'service_url' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'aggregator' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'service_type' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'requestor_name' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'name' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 0
},
'requestor_id' => {
'size' => 50,
'data_type' => 'varchar',
'is_nullable' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'PatronList' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'PatronList',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'patron_list_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'owner' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'name' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
},
'shared' => {
'data_type' => 'tinyint',
'is_nullable' => 1,
'default_value' => 0
}
},
'_unique_constraints' => {
'primary' => [
'patron_list_id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PatronList'}{'_unique_constraints'}{'primary'},
'_ordered_columns' => [
'patron_list_id',
'name',
'owner',
'shared'
],
'name' => 'patron_lists',
'result_class' => 'Koha::Schema::Result::PatronList',
'resultset_attributes' => {},
'_relationships' => {
'patron_list_patrons' => {
'class' => 'Koha::Schema::Result::PatronListPatron',
'cond' => {
'foreign.patron_list_id' => 'self.patron_list_id'
},
'source' => 'Koha::Schema::Result::PatronListPatron',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
}
},
'owner' => {
'class' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.owner'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet'
}, 'DBIx::Class::ResultSource::Table' ),
'BorrowerMessageTransportPreference' => bless( {
'_unique_constraints' => {
'primary' => [
'borrower_message_preference_id',
'message_transport_type'
]
},
'_columns' => {
'borrower_message_preference_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 0,
'is_foreign_key' => 1
},
'message_transport_type' => {
'default_value' => 0,
'size' => 20,
'is_foreign_key' => 1,
'data_type' => 'varchar',
'is_nullable' => 0,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'message_transport_type' => {
'class' => 'Koha::Schema::Result::MessageTransportType',
'source' => 'Koha::Schema::Result::MessageTransportType',
'cond' => {
'foreign.message_transport_type' => 'self.message_transport_type'
},
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
},
'borrower_message_preference' => {
'class' => 'Koha::Schema::Result::BorrowerMessagePreference',
'source' => 'Koha::Schema::Result::BorrowerMessagePreference',
'cond' => {
'foreign.borrower_message_preference_id' => 'self.borrower_message_preference_id'
},
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'borrower_message_preference_id' => 1
},
'is_foreign_key_constraint' => 1
}
}
},
'result_class' => 'Koha::Schema::Result::BorrowerMessageTransportPreference',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'borrower_message_transport_preferences',
'_ordered_columns' => [
'borrower_message_preference_id',
'message_transport_type'
],
'source_name' => 'BorrowerMessageTransportPreference',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerMessageTransportPreference'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'Accountline' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'Accountline',
'_ordered_columns' => [
'accountlines_id',
'issue_id',
'old_issue_id',
'borrowernumber',
'itemnumber',
'date',
'amount',
'description',
'credit_type_code',
'debit_type_code',
'credit_number',
'status',
'payment_type',
'amountoutstanding',
'timestamp',
'note',
'manager_id',
'register_id',
'interface',
'branchcode'
],
'name' => 'accountlines',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Accountline',
'_relationships' => {
'library' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'branchcode' => 1
},
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'single'
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
}
},
'old_issue' => {
'class' => 'Koha::Schema::Result::OldIssue',
'attrs' => {
'fk_columns' => {
'old_issue_id' => 1
},
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'source' => 'Koha::Schema::Result::OldIssue',
'cond' => {
'foreign.issue_id' => 'self.old_issue_id'
}
},
'article_requests' => {
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.debit_id' => 'self.accountlines_id'
},
'source' => 'Koha::Schema::Result::ArticleRequest',
'class' => 'Koha::Schema::Result::ArticleRequest'
},
'account_offsets_debits' => {
'cond' => {
'foreign.debit_id' => 'self.accountlines_id'
},
'source' => 'Koha::Schema::Result::AccountOffset',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::AccountOffset'
},
'debit_type_code' => {
'class' => 'Koha::Schema::Result::AccountDebitType',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'RESTRICT',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.code' => 'self.debit_type_code'
},
'source' => 'Koha::Schema::Result::AccountDebitType'
},
'register' => {
'class' => 'Koha::Schema::Result::CashRegister',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'single',
'fk_columns' => {
'register_id' => 1
},
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.id' => 'self.register_id'
},
'source' => 'Koha::Schema::Result::CashRegister'
},
'account_offsets_credits' => {
'cond' => {
'foreign.credit_id' => 'self.accountlines_id'
},
'source' => 'Koha::Schema::Result::AccountOffset',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::AccountOffset'
},
'additional_field_values' => {
'cond' => sub { "DUMMY" },
'source' => 'Koha::Schema::Result::AdditionalFieldValue',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::AdditionalFieldValue'
},
'borrowernumber' => {
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Borrower'
},
'manager' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'manager_id' => 1
},
'is_foreign_key_constraint' => 1,
'accessor' => 'single',
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.manager_id'
},
'source' => 'Koha::Schema::Result::Borrower',
'class' => 'Koha::Schema::Result::Borrower'
},
'credit_type_code' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'on_delete' => 'RESTRICT',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'filter'
},
'source' => 'Koha::Schema::Result::AccountCreditType',
'cond' => {
'foreign.code' => 'self.credit_type_code'
},
'class' => 'Koha::Schema::Result::AccountCreditType'
},
'itemnumber' => {
'class' => 'Koha::Schema::Result::Item',
'attrs' => {
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Item'
},
'branchcode' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'accessor' => 'filter'
},
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'class' => 'Koha::Schema::Result::Branch'
},
'issue' => {
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'issue_id' => 1
},
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 1
},
'cond' => {
'foreign.issue_id' => 'self.issue_id'
},
'source' => 'Koha::Schema::Result::Issue',
'class' => 'Koha::Schema::Result::Issue'
},
'patron' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'fk_columns' => {
'borrowernumber' => 1
},
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower'
}
},
'_primaries' => [
'accountlines_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Accountline'}{'_primaries'}
},
'_columns' => {
'accountlines_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'old_issue_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'amount' => {
'size' => [
28,
6
],
'is_nullable' => 1,
'data_type' => 'decimal'
},
'branchcode' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10,
'is_foreign_key' => 1
},
'manager_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'date' => {
'is_nullable' => 1,
'data_type' => 'timestamp',
'datetime_undef_if_invalid' => 1
},
'issue_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'itemnumber' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'status' => {
'size' => 16,
'data_type' => 'varchar',
'is_nullable' => 1
},
'credit_type_code' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'timestamp' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'amountoutstanding' => {
'is_nullable' => 1,
'data_type' => 'decimal',
'size' => [
28,
6
]
},
'register_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'borrowernumber' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer',
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'note' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'interface' => {
'size' => 16,
'data_type' => 'varchar',
'is_nullable' => 0
},
'debit_type_code' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'size' => 80,
'is_foreign_key' => 1,
'data_type' => 'varchar',
'is_nullable' => 1
},
'payment_type' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'credit_number' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 20
},
'description' => {
'data_type' => 'longtext',
'is_nullable' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Deleteditem' => bless( {
'_columns' => {
'price' => {
'size' => [
8,
2
],
'data_type' => 'decimal',
'is_nullable' => 1
},
'timestamp' => {
'is_nullable' => 0,
'data_type' => 'timestamp',
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'deleted_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'uri' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'dateaccessioned' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'itemnotes' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'datelastborrowed' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'stack' => {
'data_type' => 'tinyint',
'is_nullable' => 1
},
'restricted' => {
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'materials' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'replacementprice' => {
'is_nullable' => 1,
'data_type' => 'decimal',
'size' => [
8,
2
]
},
'withdrawn_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'enumchron' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'booksellerid' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'copynumber' => {
'size' => 32,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'cn_source' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'renewals' => {
'is_nullable' => 1,
'data_type' => 'smallint'
},
'onloan' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'reserves' => {
'data_type' => 'smallint',
'is_nullable' => 1
},
'stocknumber' => {
'size' => 32,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'location' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'itemnotes_nonpublic' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'issues' => {
'is_nullable' => 1,
'data_type' => 'smallint',
'default_value' => 0
},
'itemlost_on' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'datelastseen' => {
'data_type' => 'datetime',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'itype' => {
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'cn_sort' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'itemnumber' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 0
},
'damaged' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'homebranch' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'new_status' => {
'size' => 32,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'more_subfields_xml' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'itemcallnumber' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'itemlost' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'barcode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 20
},
'biblioitemnumber' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'integer'
},
'withdrawn' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'coded_location_qualifier' => {
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'exclude_from_local_holds_priority' => {
'is_nullable' => 1,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'permanent_location' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'replacementpricedate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'biblionumber' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'bookable' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 1
},
'localuse' => {
'is_nullable' => 1,
'data_type' => 'smallint'
},
'holdingbranch' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'damaged_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'ccode' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'notforloan' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => [
'itemnumber'
]
},
'name' => 'deleteditems',
'_ordered_columns' => [
'itemnumber',
'biblionumber',
'biblioitemnumber',
'barcode',
'bookable',
'dateaccessioned',
'booksellerid',
'homebranch',
'price',
'replacementprice',
'replacementpricedate',
'datelastborrowed',
'datelastseen',
'stack',
'notforloan',
'damaged',
'damaged_on',
'itemlost',
'itemlost_on',
'withdrawn',
'withdrawn_on',
'itemcallnumber',
'coded_location_qualifier',
'issues',
'renewals',
'localuse',
'reserves',
'restricted',
'itemnotes',
'itemnotes_nonpublic',
'holdingbranch',
'timestamp',
'deleted_on',
'location',
'permanent_location',
'onloan',
'cn_source',
'cn_sort',
'ccode',
'materials',
'uri',
'itype',
'more_subfields_xml',
'enumchron',
'copynumber',
'stocknumber',
'new_status',
'exclude_from_local_holds_priority'
],
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Deleteditem',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Deleteditem'}{'_unique_constraints'}{'primary'},
'source_name' => 'Deleteditem'
}, 'DBIx::Class::ResultSource::Table' ),
'MatchpointComponentNorm' => bless( {
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::MatchpointComponentNorm',
'_relationships' => {
'matchpoint_component' => {
'attrs' => {
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'fk_columns' => {
'matchpoint_component_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::MatchpointComponent',
'cond' => {
'foreign.matchpoint_component_id' => 'self.matchpoint_component_id'
},
'class' => 'Koha::Schema::Result::MatchpointComponent'
}
},
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'matchpoint_component_norms',
'_ordered_columns' => [
'matchpoint_component_id',
'sequence',
'norm_routine'
],
'source_name' => 'MatchpointComponentNorm',
'_columns_info_loaded' => 0,
'_columns' => {
'sequence' => {
'is_nullable' => 0,
'data_type' => 'integer',
'accessor' => undef,
'default_value' => 0
},
'norm_routine' => {
'size' => 50,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 0
},
'matchpoint_component_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Discharge' => bless( {
'name' => 'discharges',
'_ordered_columns' => [
'discharge_id',
'borrower',
'needed',
'validated'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Discharge',
'_relationships' => {
'borrower' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrower'
}
}
},
'_columns_info_loaded' => 0,
'source_name' => 'Discharge',
'_primaries' => [
'discharge_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Discharge'}{'_primaries'}
},
'_columns' => {
'borrower' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'discharge_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'validated' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'timestamp'
},
'needed' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'MessageQueue' => bless( {
'source_name' => 'MessageQueue',
'_primaries' => [
'message_id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::MessageQueue',
'resultset_attributes' => {},
'_relationships' => {
'message_transport_type' => {
'class' => 'Koha::Schema::Result::MessageTransportType',
'cond' => {
'foreign.message_transport_type' => 'self.message_transport_type'
},
'source' => 'Koha::Schema::Result::MessageTransportType',
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'RESTRICT',
'accessor' => 'filter',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
}
},
'letter' => {
'attrs' => {
'accessor' => 'single',
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'fk_columns' => {
'letter_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Letter',
'cond' => {
'foreign.id' => 'self.letter_id'
},
'class' => 'Koha::Schema::Result::Letter'
},
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'_ordered_columns' => [
'message_id',
'letter_id',
'borrowernumber',
'subject',
'content',
'metadata',
'letter_code',
'message_transport_type',
'status',
'time_queued',
'updated_on',
'to_address',
'cc_address',
'from_address',
'reply_address',
'content_type',
'failure_code'
],
'name' => 'message_queue',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MessageQueue'}{'_primaries'}
},
'_columns' => {
'content_type' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'cc_address' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'letter_code' => {
'size' => 64,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'status' => {
'default_value' => 'pending',
'extra' => {
'list' => [
'sent',
'pending',
'failed',
'deleted'
]
},
'data_type' => 'enum',
'is_nullable' => 0
},
'letter_id' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'metadata' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'content' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'time_queued' => {
'data_type' => 'timestamp',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'subject' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'from_address' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'to_address' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'reply_address' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'message_transport_type' => {
'size' => 20,
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'varchar',
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'failure_code' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'borrowernumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'updated_on' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'message_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Rating' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'borrowernumber',
'biblionumber'
],
'source_name' => 'Rating',
'name' => 'ratings',
'_ordered_columns' => [
'borrowernumber',
'biblionumber',
'rating_value',
'timestamp'
],
'result_class' => 'Koha::Schema::Result::Rating',
'_relationships' => {
'biblionumber' => {
'class' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1
}
},
'borrowernumber' => {
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'timestamp' => {
'is_nullable' => 0,
'data_type' => 'timestamp',
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'rating_value' => {
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'biblionumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Rating'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Virtualshelve' => bless( {
'_unique_constraints' => {
'primary' => [
'shelfnumber'
]
},
'_columns' => {
'allow_change_from_owner' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 1,
'default_value' => 1
},
'sortfield' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'default_value' => 'title',
'size' => 16
},
'allow_change_from_permitted_staff' => {
'is_boolean' => 1,
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 1
},
'owner' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer',
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'allow_change_from_others' => {
'data_type' => 'tinyint',
'is_nullable' => 1,
'default_value' => 0,
'is_boolean' => 1
},
'shelfname' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'public' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'lastmodified' => {
'is_nullable' => 0,
'data_type' => 'timestamp',
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
},
'allow_change_from_staff' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'shelfnumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'created_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 0
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'virtualshelfshares' => {
'class' => 'Koha::Schema::Result::Virtualshelfshare',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.shelfnumber' => 'self.shelfnumber'
},
'source' => 'Koha::Schema::Result::Virtualshelfshare'
},
'owner' => {
'attrs' => {
'on_update' => 'SET NULL',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.owner'
},
'class' => 'Koha::Schema::Result::Borrower'
},
'virtualshelfcontents' => {
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.shelfnumber' => 'self.shelfnumber'
},
'source' => 'Koha::Schema::Result::Virtualshelfcontent',
'class' => 'Koha::Schema::Result::Virtualshelfcontent'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Virtualshelve',
'resultset_attributes' => {},
'_ordered_columns' => [
'shelfnumber',
'shelfname',
'owner',
'public',
'sortfield',
'lastmodified',
'created_on',
'allow_change_from_owner',
'allow_change_from_others',
'allow_change_from_staff',
'allow_change_from_permitted_staff'
],
'name' => 'virtualshelves',
'source_name' => 'Virtualshelve',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Virtualshelve'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'ClassSortRule' => bless( {
'source_name' => 'ClassSortRule',
'_primaries' => [
'class_sort_rule'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'class_sources' => {
'class' => 'Koha::Schema::Result::ClassSource',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'cond' => {
'foreign.class_sort_rule' => 'self.class_sort_rule'
},
'source' => 'Koha::Schema::Result::ClassSource'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ClassSortRule',
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'class_sort_rules',
'_ordered_columns' => [
'class_sort_rule',
'description',
'sort_routine'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClassSortRule'}{'_primaries'}
},
'_columns' => {
'description' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'class_sort_rule' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 10,
'default_value' => ''
},
'sort_routine' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'default_value' => '',
'size' => 30
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmUserRole' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'user_role_id'
],
'source_name' => 'ErmUserRole',
'_ordered_columns' => [
'user_role_id',
'agreement_id',
'license_id',
'user_id',
'role'
],
'name' => 'erm_user_roles',
'result_class' => 'Koha::Schema::Result::ErmUserRole',
'resultset_attributes' => {},
'_relationships' => {
'agreement' => {
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'accessor' => 'single',
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'fk_columns' => {
'agreement_id' => 1
},
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.agreement_id' => 'self.agreement_id'
},
'source' => 'Koha::Schema::Result::ErmAgreement',
'class' => 'Koha::Schema::Result::ErmAgreement'
},
'user' => {
'cond' => {
'foreign.borrowernumber' => 'self.user_id'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'user_id' => 1
},
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
},
'license' => {
'source' => 'Koha::Schema::Result::ErmLicense',
'cond' => {
'foreign.license_id' => 'self.license_id'
},
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'license_id' => 1
}
},
'class' => 'Koha::Schema::Result::ErmLicense'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'role' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 0
},
'license_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'user_role_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'user_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'agreement_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUserRole'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'MatchpointComponent' => bless( {
'_columns' => {
'matchpoint_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'matchpoint_component_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'length' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 0
},
'subfields' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'default_value' => '',
'size' => 40
},
'tag' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 3,
'default_value' => ''
},
'sequence' => {
'is_nullable' => 0,
'data_type' => 'integer',
'accessor' => undef,
'default_value' => 0
},
'offset' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 0
}
},
'_unique_constraints' => {
'primary' => [
'matchpoint_component_id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MatchpointComponent'}{'_unique_constraints'}{'primary'},
'source_name' => 'MatchpointComponent',
'_columns_info_loaded' => 0,
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::MatchpointComponent',
'_relationships' => {
'matchpoint' => {
'class' => 'Koha::Schema::Result::Matchpoint',
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'matchpoint_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Matchpoint',
'cond' => {
'foreign.matchpoint_id' => 'self.matchpoint_id'
}
},
'matchpoint_component_norms' => {
'class' => 'Koha::Schema::Result::MatchpointComponentNorm',
'source' => 'Koha::Schema::Result::MatchpointComponentNorm',
'cond' => {
'foreign.matchpoint_component_id' => 'self.matchpoint_component_id'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi'
}
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'matchpoint_components',
'_ordered_columns' => [
'matchpoint_id',
'matchpoint_component_id',
'sequence',
'tag',
'subfields',
'offset',
'length'
]
}, 'DBIx::Class::ResultSource::Table' ),
'SpecialHoliday' => bless( {
'_primaries' => [
'id'
],
'result_class' => 'Koha::Schema::Result::SpecialHoliday',
'_relationships' => {
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
}
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_ordered_columns' => [
'id',
'branchcode',
'day',
'month',
'year',
'isexception',
'title',
'description'
],
'name' => 'special_holidays',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SpecialHoliday'}{'_primaries'}
},
'_columns' => {
'branchcode' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'size' => 10,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'isexception' => {
'default_value' => 1,
'is_nullable' => 0,
'data_type' => 'smallint'
},
'title' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 50,
'default_value' => ''
},
'description' => {
'is_nullable' => 0,
'data_type' => 'mediumtext'
},
'month' => {
'data_type' => 'smallint',
'is_nullable' => 0,
'default_value' => 0
},
'year' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'smallint'
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'day' => {
'is_nullable' => 0,
'data_type' => 'smallint',
'default_value' => 0
}
},
'source_name' => 'SpecialHoliday',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'OauthAccessToken' => bless( {
'_unique_constraints' => {
'primary' => [
'access_token'
]
},
'_columns' => {
'access_token' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 191
},
'expires' => {
'is_nullable' => 0,
'data_type' => 'integer'
},
'client_id' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 191
}
},
'source_name' => 'OauthAccessToken',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'OauthAccessToken'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::OauthAccessToken',
'resultset_attributes' => {},
'_relationships' => {},
'name' => 'oauth_access_tokens',
'_ordered_columns' => [
'access_token',
'client_id',
'expires'
]
}, 'DBIx::Class::ResultSource::Table' ),
'PatronConsent' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'id'
],
'source_name' => 'PatronConsent',
'name' => 'patron_consent',
'_ordered_columns' => [
'id',
'borrowernumber',
'type',
'given_on',
'refused_on'
],
'result_class' => 'Koha::Schema::Result::PatronConsent',
'_relationships' => {
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
}
}
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'type' => {
'is_nullable' => 1,
'data_type' => 'tinytext'
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'refused_on' => {
'is_nullable' => 1,
'data_type' => 'datetime',
'datetime_undef_if_invalid' => 1
},
'given_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'borrowernumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PatronConsent'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'MatcherMatchpoint' => bless( {
'name' => 'matcher_matchpoints',
'_ordered_columns' => [
'matcher_id',
'matchpoint_id'
],
'_relationships' => {
'matcher' => {
'attrs' => {
'fk_columns' => {
'matcher_id' => 1
},
'is_foreign_key_constraint' => 1,
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.matcher_id' => 'self.matcher_id'
},
'source' => 'Koha::Schema::Result::MarcMatcher',
'class' => 'Koha::Schema::Result::MarcMatcher'
},
'matchpoint' => {
'attrs' => {
'fk_columns' => {
'matchpoint_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'source' => 'Koha::Schema::Result::Matchpoint',
'cond' => {
'foreign.matchpoint_id' => 'self.matchpoint_id'
},
'class' => 'Koha::Schema::Result::Matchpoint'
}
},
'result_class' => 'Koha::Schema::Result::MatcherMatchpoint',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'MatcherMatchpoint',
'_columns' => {
'matcher_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'matchpoint_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ClubEnrollment' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'ClubEnrollment',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'borrowernumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'date_created' => {
'is_nullable' => 1,
'data_type' => 'timestamp',
'datetime_undef_if_invalid' => 1
},
'date_updated' => {
'is_nullable' => 1,
'data_type' => 'timestamp',
'datetime_undef_if_invalid' => 1
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'club_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'branchcode' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_nullable' => 1,
'data_type' => 'varchar',
'is_foreign_key' => 1,
'size' => 10
},
'date_canceled' => {
'data_type' => 'timestamp',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'date_enrolled' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'is_nullable' => 0,
'data_type' => 'timestamp'
}
},
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubEnrollment'}{'_unique_constraints'}{'primary'},
'_ordered_columns' => [
'id',
'club_id',
'borrowernumber',
'date_enrolled',
'date_canceled',
'date_created',
'date_updated',
'branchcode'
],
'name' => 'club_enrollments',
'result_class' => 'Koha::Schema::Result::ClubEnrollment',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'branchcode' => {
'attrs' => {
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'class' => 'Koha::Schema::Result::Branch'
},
'borrowernumber' => {
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'class' => 'Koha::Schema::Result::Borrower'
},
'club_enrollment_fields' => {
'class' => 'Koha::Schema::Result::ClubEnrollmentField',
'cond' => {
'foreign.club_enrollment_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::ClubEnrollmentField',
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'club' => {
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'club_id' => 1
},
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single'
},
'source' => 'Koha::Schema::Result::Club',
'cond' => {
'foreign.id' => 'self.club_id'
},
'class' => 'Koha::Schema::Result::Club'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'BorrowerFile' => bless( {
'_unique_constraints' => {
'primary' => [
'file_id'
]
},
'_columns' => {
'file_content' => {
'data_type' => 'longblob',
'is_nullable' => 0
},
'file_type' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255
},
'file_description' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'file_name' => {
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'borrowernumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'date_uploaded' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'file_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
}
},
'_columns_info_loaded' => 0,
'source_name' => 'BorrowerFile',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerFile'}{'_unique_constraints'}{'primary'},
'name' => 'borrower_files',
'_ordered_columns' => [
'file_id',
'borrowernumber',
'file_name',
'file_type',
'file_description',
'file_content',
'date_uploaded'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::BorrowerFile',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'borrowernumber' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'on_update' => 'CASCADE',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
}
},
'resultset_attributes' => {}
}, 'DBIx::Class::ResultSource::Table' ),
'Illrequest' => bless( {
'_unique_constraints' => {
'primary' => [
'illrequest_id'
]
},
'_columns' => {
'due_date' => {
'data_type' => 'datetime',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'accessurl' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 500
},
'cost' => {
'size' => 20,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'status_alias' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 1,
'data_type' => 'varchar',
'is_foreign_key' => 1,
'size' => 80
},
'status' => {
'size' => 50,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'completed' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'replied' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'medium' => {
'size' => 30,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'batch_id' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'biblio_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'branchcode' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'is_foreign_key' => 1,
'size' => 50,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'borrowernumber' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'updated' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'orderid' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
},
'placed' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'notesopac' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'price_paid' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 20
},
'notesstaff' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'deleted_biblio_id' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'backend' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 20
},
'illrequest_id' => {
'data_type' => 'bigint',
'is_nullable' => 0,
'is_auto_increment' => 1,
'extra' => {
'unsigned' => 1
}
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Illrequest'}{'_unique_constraints'}{'primary'},
'resultset_attributes' => {},
'_relationships' => {
'patron' => {
'attrs' => {
'fk_columns' => {
'borrowernumber' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Borrower'
},
'batch' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'batch_id' => 1
},
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.ill_batch_id' => 'self.batch_id'
},
'source' => 'Koha::Schema::Result::Illbatch',
'class' => 'Koha::Schema::Result::Illbatch'
},
'illrequestattributes' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.illrequest_id' => 'self.illrequest_id'
},
'source' => 'Koha::Schema::Result::Illrequestattribute',
'class' => 'Koha::Schema::Result::Illrequestattribute'
},
'biblio' => {
'cond' => {
'foreign.biblionumber' => 'self.biblio_id'
},
'source' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'biblio_id' => 1
},
'is_depends_on' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::Biblio'
},
'branchcode' => {
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::Branch'
},
'status_alias' => {
'class' => 'Koha::Schema::Result::AuthorisedValue',
'cond' => {
'foreign.authorised_value' => 'self.status_alias'
},
'source' => 'Koha::Schema::Result::AuthorisedValue',
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
},
'illcomments' => {
'class' => 'Koha::Schema::Result::Illcomment',
'source' => 'Koha::Schema::Result::Illcomment',
'cond' => {
'foreign.illrequest_id' => 'self.illrequest_id'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
},
'extended_attributes' => {
'source' => 'Koha::Schema::Result::Illrequestattribute',
'cond' => {
'foreign.illrequest_id' => 'self.illrequest_id'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::Illrequestattribute'
},
'borrowernumber' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
},
'comments' => {
'class' => 'Koha::Schema::Result::Illcomment',
'cond' => {
'foreign.illrequest_id' => 'self.illrequest_id'
},
'source' => 'Koha::Schema::Result::Illcomment',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'ill_batch' => {
'class' => 'Koha::Schema::Result::Illbatch',
'source' => 'Koha::Schema::Result::Illbatch',
'cond' => {
'foreign.ill_batch_id' => 'self.batch_id'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'batch_id' => 1
},
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'accessor' => 'single'
}
},
'library' => {
'attrs' => {
'fk_columns' => {
'branchcode' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'class' => 'Koha::Schema::Result::Branch'
}
},
'result_class' => 'Koha::Schema::Result::Illrequest',
'resultset_class' => 'DBIx::Class::ResultSet',
'_ordered_columns' => [
'illrequest_id',
'borrowernumber',
'biblio_id',
'deleted_biblio_id',
'due_date',
'branchcode',
'status',
'status_alias',
'placed',
'replied',
'updated',
'completed',
'medium',
'accessurl',
'cost',
'price_paid',
'notesopac',
'notesstaff',
'orderid',
'backend',
'batch_id'
],
'name' => 'illrequests',
'source_name' => 'Illrequest',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'CollectionsTracking' => bless( {
'name' => 'collections_tracking',
'_ordered_columns' => [
'collections_tracking_id',
'colId',
'itemnumber'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::CollectionsTracking',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'col' => {
'class' => 'Koha::Schema::Result::Collection',
'attrs' => {
'fk_columns' => {
'colId' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.colId' => 'self.colId'
},
'source' => 'Koha::Schema::Result::Collection'
}
},
'_columns_info_loaded' => 0,
'source_name' => 'CollectionsTracking',
'_primaries' => [
'collections_tracking_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CollectionsTracking'}{'_primaries'}
},
'_columns' => {
'colId' => {
'is_nullable' => 0,
'data_type' => 'integer',
'accessor' => 'col_id',
'is_foreign_key' => 1,
'default_value' => 0
},
'itemnumber' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'collections_tracking_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Browser' => bless( {
'name' => 'browser',
'_ordered_columns' => [
'level',
'classification',
'description',
'number',
'endnode'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {},
'result_class' => 'Koha::Schema::Result::Browser',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'Browser',
'_columns' => {
'number' => {
'is_nullable' => 0,
'data_type' => 'bigint'
},
'classification' => {
'size' => 20,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'level' => {
'is_nullable' => 0,
'data_type' => 'integer'
},
'endnode' => {
'data_type' => 'tinyint',
'is_nullable' => 0
},
'description' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Message' => bless( {
'_columns' => {
'manager_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'branchcode' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'patron_read_date' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'timestamp'
},
'message_type' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 1
},
'message' => {
'data_type' => 'mediumtext',
'is_nullable' => 0
},
'borrowernumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'message_date' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'message_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
}
},
'_unique_constraints' => {
'primary' => [
'message_id'
]
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Message',
'_relationships' => {
'manager' => {
'cond' => {
'foreign.borrowernumber' => 'self.manager_id'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'manager_id' => 1
},
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'single',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
},
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
}
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'messages',
'_ordered_columns' => [
'message_id',
'borrowernumber',
'branchcode',
'message_type',
'message',
'message_date',
'manager_id',
'patron_read_date'
],
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Message'}{'_unique_constraints'}{'primary'},
'source_name' => 'Message',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'PatronListPatron' => bless( {
'_ordered_columns' => [
'patron_list_patron_id',
'patron_list_id',
'borrowernumber'
],
'name' => 'patron_list_patrons',
'_relationships' => {
'borrowernumber' => {
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'class' => 'Koha::Schema::Result::Borrower'
},
'patron_list' => {
'source' => 'Koha::Schema::Result::PatronList',
'cond' => {
'foreign.patron_list_id' => 'self.patron_list_id'
},
'attrs' => {
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'fk_columns' => {
'patron_list_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::PatronList'
}
},
'result_class' => 'Koha::Schema::Result::PatronListPatron',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => [
'patron_list_patron_id'
],
'source_name' => 'PatronListPatron',
'_columns' => {
'borrowernumber' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'patron_list_patron_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'patron_list_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PatronListPatron'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ItemCirculationAlertPreference' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'id'
],
'source_name' => 'ItemCirculationAlertPreference',
'_ordered_columns' => [
'id',
'branchcode',
'categorycode',
'item_type',
'notification'
],
'name' => 'item_circulation_alert_preferences',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ItemCirculationAlertPreference',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'item_type' => {
'size' => 10,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'categorycode' => {
'size' => 10,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'notification' => {
'size' => 16,
'data_type' => 'varchar',
'is_nullable' => 0
},
'branchcode' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 10
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemCirculationAlertPreference'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Session' => bless( {
'_ordered_columns' => [
'id',
'a_session'
],
'name' => 'sessions',
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Session',
'resultset_attributes' => {},
'_relationships' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => [
'id'
],
'source_name' => 'Session',
'_columns' => {
'a_session' => {
'is_nullable' => 0,
'data_type' => 'longblob'
},
'id' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 32
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Session'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'CreatorTemplate' => bless( {
'source_name' => 'CreatorTemplate',
'_primaries' => [
'template_id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {},
'result_class' => 'Koha::Schema::Result::CreatorTemplate',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_ordered_columns' => [
'template_id',
'profile_id',
'template_code',
'template_desc',
'page_width',
'page_height',
'label_width',
'label_height',
'top_text_margin',
'left_text_margin',
'top_margin',
'left_margin',
'cols',
'rows',
'col_gap',
'row_gap',
'units',
'creator'
],
'name' => 'creator_templates',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CreatorTemplate'}{'_primaries'}
},
'_columns' => {
'cols' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'integer'
},
'page_width' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'float'
},
'template_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'template_code' => {
'is_nullable' => 0,
'data_type' => 'char',
'default_value' => 'DEFAULT TEMPLATE',
'size' => 100
},
'rows' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'integer'
},
'template_desc' => {
'is_nullable' => 0,
'data_type' => 'char',
'size' => 100,
'default_value' => 'Default description'
},
'page_height' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'float'
},
'top_text_margin' => {
'data_type' => 'float',
'is_nullable' => 0,
'default_value' => 0
},
'top_margin' => {
'default_value' => 0,
'data_type' => 'float',
'is_nullable' => 0
},
'left_margin' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'float'
},
'creator' => {
'default_value' => 'Labels',
'size' => 15,
'data_type' => 'char',
'is_nullable' => 0
},
'units' => {
'is_nullable' => 0,
'data_type' => 'char',
'default_value' => 'POINT',
'size' => 20
},
'left_text_margin' => {
'data_type' => 'float',
'is_nullable' => 0,
'default_value' => 0
},
'profile_id' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'col_gap' => {
'data_type' => 'float',
'is_nullable' => 0,
'default_value' => 0
},
'label_width' => {
'data_type' => 'float',
'is_nullable' => 0,
'default_value' => 0
},
'label_height' => {
'is_nullable' => 0,
'data_type' => 'float',
'default_value' => 0
},
'row_gap' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'float'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Issue' => bless( {
'_primaries' => [
'issue_id'
],
'source_name' => 'Issue',
'_columns_info_loaded' => 0,
'_relationships' => {
'account_lines' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.issue_id' => 'self.issue_id'
},
'source' => 'Koha::Schema::Result::Accountline',
'class' => 'Koha::Schema::Result::Accountline'
},
'branch' => {
'class' => 'Koha::Schema::Result::Branch',
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'branchcode' => 1
},
'is_foreign_key_constraint' => 1
}
},
'renewals' => {
'cond' => {
'foreign.checkout_id' => 'self.issue_id'
},
'source' => 'Koha::Schema::Result::CheckoutRenewal',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::CheckoutRenewal'
},
'patron' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'borrowernumber' => 1
},
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'class' => 'Koha::Schema::Result::Borrower'
},
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'RESTRICT',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
}
},
'issuer' => {
'cond' => {
'foreign.borrowernumber' => 'self.issuer_id'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'issuer_id' => 1
},
'on_delete' => 'SET NULL',
'accessor' => 'single',
'join_type' => 'LEFT',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
},
'itemnumber' => {
'attrs' => {
'is_deferrable' => 1,
'is_depends_on' => 1,
'on_delete' => 'RESTRICT',
'accessor' => 'filter',
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'class' => 'Koha::Schema::Result::Item'
},
'accountlines' => {
'source' => 'Koha::Schema::Result::Accountline',
'cond' => {
'foreign.issue_id' => 'self.issue_id'
},
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::Accountline'
},
'library' => {
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'branchcode' => 1
},
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::Branch'
},
'return_claim' => {
'source' => 'Koha::Schema::Result::ReturnClaim',
'cond' => {
'foreign.issue_id' => 'self.issue_id'
},
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 0,
'cascade_delete' => 0,
'cascade_update' => 1
},
'class' => 'Koha::Schema::Result::ReturnClaim'
},
'item' => {
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'attrs' => {
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'itemnumber' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Item'
}
},
'result_class' => 'Koha::Schema::Result::Issue',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'issues',
'_ordered_columns' => [
'issue_id',
'borrowernumber',
'issuer_id',
'itemnumber',
'date_due',
'branchcode',
'returndate',
'checkin_library',
'lastreneweddate',
'renewals_count',
'unseen_renewals',
'auto_renew',
'auto_renew_error',
'timestamp',
'issuedate',
'onsite_checkout',
'note',
'notedate',
'noteseen'
],
'_columns' => {
'unseen_renewals' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'issuedate' => {
'data_type' => 'datetime',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'date_due' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'auto_renew' => {
'is_boolean' => 1,
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 1
},
'auto_renew_error' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 32
},
'renewals_count' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'returndate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'borrowernumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'notedate' => {
'is_nullable' => 1,
'data_type' => 'datetime',
'datetime_undef_if_invalid' => 1
},
'timestamp' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 0
},
'noteseen' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_boolean' => 1
},
'note' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'lastreneweddate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'issue_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'branchcode' => {
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'onsite_checkout' => {
'is_boolean' => 1,
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'itemnumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'issuer_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'checkin_library' => {
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Issue'}{'_primaries'},
'itemnumber' => [
'itemnumber'
]
}
}, 'DBIx::Class::ResultSource::Table' ),
'MarcModificationTemplateAction' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'mmta_id'
],
'source_name' => 'MarcModificationTemplateAction',
'name' => 'marc_modification_template_actions',
'_ordered_columns' => [
'mmta_id',
'template_id',
'ordering',
'action',
'field_number',
'from_field',
'from_subfield',
'field_value',
'to_field',
'to_subfield',
'to_regex_search',
'to_regex_replace',
'to_regex_modifiers',
'conditional',
'conditional_field',
'conditional_subfield',
'conditional_comparison',
'conditional_value',
'conditional_regex',
'description'
],
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::MarcModificationTemplateAction',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'template' => {
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'template_id' => 1
}
},
'cond' => {
'foreign.template_id' => 'self.template_id'
},
'source' => 'Koha::Schema::Result::MarcModificationTemplate',
'class' => 'Koha::Schema::Result::MarcModificationTemplate'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'conditional_subfield' => {
'size' => 1,
'data_type' => 'varchar',
'is_nullable' => 1
},
'conditional' => {
'extra' => {
'list' => [
'if',
'unless'
]
},
'is_nullable' => 1,
'data_type' => 'enum'
},
'action' => {
'is_nullable' => 0,
'data_type' => 'enum',
'extra' => {
'list' => [
'delete_field',
'add_field',
'update_field',
'move_field',
'copy_field',
'copy_and_replace_field'
]
}
},
'mmta_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'to_field' => {
'size' => 3,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'to_subfield' => {
'size' => 1,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'from_field' => {
'size' => 3,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'from_subfield' => {
'size' => 1,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'ordering' => {
'data_type' => 'integer',
'is_nullable' => 0
},
'description' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'to_regex_search' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'conditional_field' => {
'size' => 3,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'conditional_comparison' => {
'data_type' => 'enum',
'is_nullable' => 1,
'extra' => {
'list' => [
'exists',
'not_exists',
'equals',
'not_equals'
]
}
},
'field_number' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'smallint'
},
'template_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'conditional_value' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'to_regex_replace' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'conditional_regex' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'to_regex_modifiers' => {
'default_value' => '',
'size' => 8,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'field_value' => {
'data_type' => 'text',
'is_nullable' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcModificationTemplateAction'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'OaiSetsMapping' => bless( {
'_columns' => {
'set_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'marcfield' => {
'size' => 3,
'data_type' => 'char',
'is_nullable' => 0
},
'rule_order' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'marcsubfield' => {
'data_type' => 'char',
'is_nullable' => 0,
'size' => 1
},
'operator' => {
'size' => 8,
'default_value' => 'equal',
'data_type' => 'varchar',
'is_nullable' => 0
},
'marcvalue' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 0
},
'rule_operator' => {
'size' => 3,
'is_nullable' => 1,
'data_type' => 'varchar'
}
},
'_columns_info_loaded' => 0,
'source_name' => 'OaiSetsMapping',
'_ordered_columns' => [
'set_id',
'rule_order',
'rule_operator',
'marcfield',
'marcsubfield',
'operator',
'marcvalue'
],
'name' => 'oai_sets_mappings',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::OaiSetsMapping',
'_relationships' => {
'set' => {
'class' => 'Koha::Schema::Result::OaiSet',
'source' => 'Koha::Schema::Result::OaiSet',
'cond' => {
'foreign.id' => 'self.set_id'
},
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'set_id' => 1
},
'is_foreign_key_constraint' => 1
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'ClubHoldsToPatronHold' => bless( {
'_ordered_columns' => [
'id',
'club_hold_id',
'patron_id',
'hold_id',
'error_code',
'error_message'
],
'name' => 'club_holds_to_patron_holds',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ClubHoldsToPatronHold',
'_relationships' => {
'hold' => {
'class' => 'Koha::Schema::Result::Reserve',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'hold_id' => 1
},
'on_delete' => 'CASCADE',
'accessor' => 'single',
'join_type' => 'LEFT',
'is_depends_on' => 1
},
'cond' => {
'foreign.reserve_id' => 'self.hold_id'
},
'source' => 'Koha::Schema::Result::Reserve'
},
'patron' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'patron_id' => 1
}
},
'cond' => {
'foreign.borrowernumber' => 'self.patron_id'
},
'source' => 'Koha::Schema::Result::Borrower'
},
'club_hold' => {
'cond' => {
'foreign.id' => 'self.club_hold_id'
},
'source' => 'Koha::Schema::Result::ClubHold',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'club_hold_id' => 1
},
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::ClubHold'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => [
'id'
],
'source_name' => 'ClubHoldsToPatronHold',
'_columns' => {
'club_hold_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'hold_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'patron_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'error_code' => {
'extra' => {
'list' => [
'damaged',
'ageRestricted',
'itemAlreadyOnHold',
'tooManyHoldsForThisRecord',
'tooManyReservesToday',
'tooManyReserves',
'notReservable',
'cannotReserveFromOtherBranches',
'libraryNotFound',
'libraryNotPickupLocation',
'cannotBeTransferred',
'noReservesAllowed'
]
},
'is_nullable' => 1,
'data_type' => 'enum'
},
'error_message' => {
'size' => 100,
'is_nullable' => 1,
'data_type' => 'varchar'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubHoldsToPatronHold'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'HouseboundVisit' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'HouseboundVisit',
'_columns_info_loaded' => 0,
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'deliverer_brwnumber' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.deliverer_brwnumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'class' => 'Koha::Schema::Result::Borrower'
},
'borrowernumber' => {
'source' => 'Koha::Schema::Result::HouseboundProfile',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::HouseboundProfile'
},
'chooser_brwnumber' => {
'cond' => {
'foreign.borrowernumber' => 'self.chooser_brwnumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
}
},
'result_class' => 'Koha::Schema::Result::HouseboundVisit',
'_ordered_columns' => [
'id',
'borrowernumber',
'appointment_date',
'day_segment',
'chooser_brwnumber',
'deliverer_brwnumber'
],
'name' => 'housebound_visit',
'_primaries' => [
'id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'HouseboundVisit'}{'_primaries'}
},
'_columns' => {
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'day_segment' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'chooser_brwnumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'deliverer_brwnumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'appointment_date' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ImportBatchProfile' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ImportBatchProfile',
'_relationships' => {
'import_batches' => {
'class' => 'Koha::Schema::Result::ImportBatch',
'cond' => {
'foreign.profile_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::ImportBatch',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
}
},
'_ordered_columns' => [
'id',
'name',
'matcher_id',
'template_id',
'overlay_action',
'nomatch_action',
'item_action',
'parse_items',
'record_type',
'encoding',
'format',
'comments'
],
'name' => 'import_batch_profiles',
'source_name' => 'ImportBatchProfile',
'_primaries' => [
'id'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportBatchProfile'}{'_primaries'},
'u_import_batch_profiles__name' => [
'name'
]
},
'_columns' => {
'item_action' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 50
},
'overlay_action' => {
'size' => 50,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'encoding' => {
'size' => 50,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'template_id' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'nomatch_action' => {
'size' => 50,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'matcher_id' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'format' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 50
},
'parse_items' => {
'is_boolean' => 1,
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'comments' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'name' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 100
},
'record_type' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 50
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Desk' => bless( {
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Desk',
'resultset_attributes' => {},
'_relationships' => {
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
}
},
'reserves' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.desk_id' => 'self.desk_id'
},
'source' => 'Koha::Schema::Result::Reserve',
'class' => 'Koha::Schema::Result::Reserve'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'desks',
'_ordered_columns' => [
'desk_id',
'desk_name',
'branchcode'
],
'_primaries' => [
'desk_id'
],
'source_name' => 'Desk',
'_columns_info_loaded' => 0,
'_columns' => {
'desk_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'desk_name' => {
'size' => 100,
'default_value' => '',
'is_nullable' => 0,
'data_type' => 'varchar'
},
'branchcode' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 10,
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Desk'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmEholdingsResource' => bless( {
'_columns' => {
'package_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'resource_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'ended_on' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'vendor_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'title_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'started_on' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'proxy' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
}
},
'_unique_constraints' => {
'erm_eholdings_resources_uniq' => [
'title_id',
'package_id'
],
'primary' => [
'resource_id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmEholdingsResource'}{'_unique_constraints'}{'primary'},
'source_name' => 'ErmEholdingsResource',
'_columns_info_loaded' => 0,
'_relationships' => {
'vendor' => {
'source' => 'Koha::Schema::Result::Aqbookseller',
'cond' => {
'foreign.id' => 'self.vendor_id'
},
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'vendor_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Aqbookseller'
},
'title' => {
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'title_id' => 1
},
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1
},
'source' => 'Koha::Schema::Result::ErmEholdingsTitle',
'cond' => {
'foreign.title_id' => 'self.title_id'
},
'class' => 'Koha::Schema::Result::ErmEholdingsTitle'
},
'package' => {
'class' => 'Koha::Schema::Result::ErmEholdingsPackage',
'cond' => {
'foreign.package_id' => 'self.package_id'
},
'source' => 'Koha::Schema::Result::ErmEholdingsPackage',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'fk_columns' => {
'package_id' => 1
},
'is_foreign_key_constraint' => 1
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ErmEholdingsResource',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'resource_id',
'title_id',
'package_id',
'vendor_id',
'started_on',
'ended_on',
'proxy'
],
'name' => 'erm_eholdings_resources'
}, 'DBIx::Class::ResultSource::Table' ),
'ErmCounterFile' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'erm_counter_logs' => {
'class' => 'Koha::Schema::Result::ErmCounterLog',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::ErmCounterLog',
'cond' => {
'foreign.counter_files_id' => 'self.erm_counter_files_id'
}
},
'usage_data_provider' => {
'cond' => {
'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
},
'source' => 'Koha::Schema::Result::ErmUsageDataProvider',
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'fk_columns' => {
'usage_data_provider_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::ErmUsageDataProvider'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ErmCounterFile',
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'erm_counter_files',
'_ordered_columns' => [
'erm_counter_files_id',
'usage_data_provider_id',
'type',
'filename',
'file_content',
'date_uploaded'
],
'source_name' => 'ErmCounterFile',
'_primaries' => [
'erm_counter_files_id'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmCounterFile'}{'_primaries'}
},
'_columns' => {
'type' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'file_content' => {
'is_nullable' => 1,
'data_type' => 'longblob'
},
'date_uploaded' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'is_nullable' => 1,
'data_type' => 'timestamp'
},
'erm_counter_files_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'filename' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'usage_data_provider_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ItemsLastBorrower' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'ItemsLastBorrower',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_primaries' => [
'id'
],
'name' => 'items_last_borrower',
'_ordered_columns' => [
'id',
'itemnumber',
'borrowernumber',
'created_on'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
}
},
'itemnumber' => {
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::Item'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ItemsLastBorrower',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemsLastBorrower'}{'_primaries'},
'itemnumber' => [
'itemnumber'
]
},
'_columns' => {
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'itemnumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'created_on' => {
'is_nullable' => 0,
'data_type' => 'timestamp',
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'BorrowerModification' => bless( {
'_columns' => {
'sex' => {
'size' => 1,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'phone' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'branchcode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'altcontactphone' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
},
'dateexpiry' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'fax' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'emailpro' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'contactname' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'initials' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'lost' => {
'data_type' => 'tinyint',
'is_nullable' => 1
},
'changed_fields' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'borrowernumber' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'verification_token' => {
'size' => 255,
'default_value' => '',
'is_nullable' => 0,
'data_type' => 'varchar'
},
'smsalertnumber' => {
'size' => 50,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'lang' => {
'size' => 25,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'B_streettype' => {
'accessor' => 'b_streettype',
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
},
'altcontactsurname' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'cardnumber' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 32
},
'categorycode' => {
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'primary_contact_method' => {
'size' => 45,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'streetnumber' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'firstname' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'debarred' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'B_state' => {
'accessor' => 'b_state',
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'B_email' => {
'data_type' => 'mediumtext',
'is_nullable' => 1,
'accessor' => 'b_email'
},
'altcontactzipcode' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
},
'preferred_name' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'pronouns' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'contacttitle' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'address2' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'state' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'country' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'sort1' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'altcontactaddress3' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'gonenoaddress' => {
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'altcontactaddress1' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'sort2' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'title' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'B_country' => {
'data_type' => 'mediumtext',
'is_nullable' => 1,
'accessor' => 'b_country'
},
'altcontactfirstname' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'relationship' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 100
},
'B_city' => {
'data_type' => 'longtext',
'is_nullable' => 1,
'accessor' => 'b_city'
},
'debarredcomment' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'dateenrolled' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'middle_name' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'altcontactcountry' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'city' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'altcontactstate' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'altcontactaddress2' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'privacy' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'B_streetnumber' => {
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1,
'accessor' => 'b_streetnumber'
},
'userid' => {
'size' => 75,
'data_type' => 'varchar',
'is_nullable' => 1
},
'flags' => {
'is_nullable' => 1,
'data_type' => 'bigint'
},
'borrowernotes' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'B_address2' => {
'data_type' => 'mediumtext',
'is_nullable' => 1,
'accessor' => 'b_address2'
},
'mobile' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
},
'B_address' => {
'size' => 100,
'accessor' => 'b_address',
'is_nullable' => 1,
'data_type' => 'varchar'
},
'timestamp' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'opacnote' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'B_phone' => {
'is_nullable' => 1,
'data_type' => 'longtext',
'accessor' => 'b_phone'
},
'dateofbirth' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'gdpr_proc_consent' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'email' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'contactfirstname' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'B_zipcode' => {
'accessor' => 'b_zipcode',
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 25
},
'contactnote' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'zipcode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 25
},
'phonepro' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'date_renewed' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'surname' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'othernames' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'password' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 30
},
'streettype' => {
'size' => 50,
'data_type' => 'varchar',
'is_nullable' => 1
},
'extended_attributes' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'address' => {
'is_nullable' => 1,
'data_type' => 'longtext'
}
},
'_unique_constraints' => {
'primary' => [
'verification_token',
'borrowernumber'
]
},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerModification'}{'_unique_constraints'}{'primary'},
'source_name' => 'BorrowerModification',
'_ordered_columns' => [
'timestamp',
'verification_token',
'changed_fields',
'borrowernumber',
'cardnumber',
'surname',
'firstname',
'preferred_name',
'middle_name',
'title',
'othernames',
'initials',
'pronouns',
'streetnumber',
'streettype',
'address',
'address2',
'city',
'state',
'zipcode',
'country',
'email',
'phone',
'mobile',
'fax',
'emailpro',
'phonepro',
'B_streetnumber',
'B_streettype',
'B_address',
'B_address2',
'B_city',
'B_state',
'B_zipcode',
'B_country',
'B_email',
'B_phone',
'dateofbirth',
'branchcode',
'categorycode',
'dateenrolled',
'dateexpiry',
'date_renewed',
'gonenoaddress',
'lost',
'debarred',
'debarredcomment',
'contactname',
'contactfirstname',
'contacttitle',
'borrowernotes',
'relationship',
'sex',
'password',
'flags',
'userid',
'opacnote',
'contactnote',
'sort1',
'sort2',
'altcontactfirstname',
'altcontactsurname',
'altcontactaddress1',
'altcontactaddress2',
'altcontactaddress3',
'altcontactstate',
'altcontactzipcode',
'altcontactcountry',
'altcontactphone',
'smsalertnumber',
'privacy',
'extended_attributes',
'gdpr_proc_consent',
'primary_contact_method',
'lang'
],
'name' => 'borrower_modifications',
'result_class' => 'Koha::Schema::Result::BorrowerModification',
'_relationships' => {},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmEholdingsTitle' => bless( {
'_columns' => {
'date_monograph_published_print' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'external_id' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'print_identifier' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'num_first_vol_online' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'coverage_depth' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'embargo_info' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'num_first_issue_online' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'publisher_name' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'date_monograph_published_online' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'publication_type' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'parent_publication_title_id' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'online_identifier' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'notes' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'access_type' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'monograph_volume' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'date_last_issue_online' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'first_author' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'publication_title' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'first_editor' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'num_last_issue_online' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'title_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'date_first_issue_online' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'title_url' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'monograph_edition' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'preceding_publication_title_id' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'num_last_vol_online' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'biblio_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
}
},
'_unique_constraints' => {
'primary' => [
'title_id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmEholdingsTitle'}{'_unique_constraints'}{'primary'},
'source_name' => 'ErmEholdingsTitle',
'_columns_info_loaded' => 0,
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ErmEholdingsTitle',
'_relationships' => {
'erm_eholdings_resources' => {
'class' => 'Koha::Schema::Result::ErmEholdingsResource',
'source' => 'Koha::Schema::Result::ErmEholdingsResource',
'cond' => {
'foreign.title_id' => 'self.title_id'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
}
},
'biblio' => {
'class' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'fk_columns' => {
'biblio_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblio_id'
}
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'erm_eholdings_titles',
'_ordered_columns' => [
'title_id',
'biblio_id',
'publication_title',
'external_id',
'print_identifier',
'online_identifier',
'date_first_issue_online',
'num_first_vol_online',
'num_first_issue_online',
'date_last_issue_online',
'num_last_vol_online',
'num_last_issue_online',
'title_url',
'first_author',
'embargo_info',
'coverage_depth',
'notes',
'publisher_name',
'publication_type',
'date_monograph_published_print',
'date_monograph_published_online',
'monograph_volume',
'monograph_edition',
'first_editor',
'parent_publication_title_id',
'preceding_publication_title_id',
'access_type'
]
}, 'DBIx::Class::ResultSource::Table' ),
'PluginData' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'PluginData',
'_columns_info_loaded' => 0,
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::PluginData',
'_relationships' => {},
'name' => 'plugin_data',
'_ordered_columns' => [
'plugin_class',
'plugin_key',
'plugin_value'
],
'_primaries' => [
'plugin_class',
'plugin_key'
],
'_columns' => {
'plugin_key' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
},
'plugin_value' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'plugin_class' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PluginData'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Linktracker' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'Linktracker',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_primaries' => [
'id'
],
'name' => 'linktracker',
'_ordered_columns' => [
'id',
'biblionumber',
'itemnumber',
'borrowernumber',
'url',
'timeclicked'
],
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Linktracker',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'biblionumber' => {
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'SET NULL',
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'class' => 'Koha::Schema::Result::Biblio'
},
'itemnumber' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'SET NULL'
},
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Item',
'class' => 'Koha::Schema::Result::Item'
},
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'SET NULL',
'undef_on_null_fk' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
}
}
},
'_columns' => {
'itemnumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'timeclicked' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'url' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'biblionumber' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Linktracker'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Subscriptionhistory' => bless( {
'source_name' => 'Subscriptionhistory',
'_primaries' => [
'subscriptionid'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::Subscriptionhistory',
'resultset_attributes' => {},
'_relationships' => {
'biblionumber' => {
'class' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio'
},
'subscriptionid' => {
'class' => 'Koha::Schema::Result::Subscription',
'cond' => {
'foreign.subscriptionid' => 'self.subscriptionid'
},
'source' => 'Koha::Schema::Result::Subscription',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'subscriptionhistory',
'_ordered_columns' => [
'biblionumber',
'subscriptionid',
'histstartdate',
'histenddate',
'missinglist',
'recievedlist',
'opacnote',
'librariannote'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Subscriptionhistory'}{'_primaries'}
},
'_columns' => {
'librariannote' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'opacnote' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'biblionumber' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'subscriptionid' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer',
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'histstartdate' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'recievedlist' => {
'data_type' => 'longtext',
'is_nullable' => 0
},
'missinglist' => {
'data_type' => 'longtext',
'is_nullable' => 0
},
'histenddate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'AccountDebitType' => bless( {
'_unique_constraints' => {
'primary' => [
'code'
]
},
'_columns' => {
'can_be_invoiced' => {
'is_boolean' => 1,
'default_value' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'default_amount' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
28,
6
]
},
'can_be_sold' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'archived' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'restricts_checkouts' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 1
},
'is_system' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'description' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 200
},
'code' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 80
}
},
'source_name' => 'AccountDebitType',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AccountDebitType'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'account_debit_types_branches' => {
'class' => 'Koha::Schema::Result::AccountDebitTypesBranch',
'cond' => {
'foreign.debit_type_code' => 'self.code'
},
'source' => 'Koha::Schema::Result::AccountDebitTypesBranch',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
},
'accountlines' => {
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.debit_type_code' => 'self.code'
},
'source' => 'Koha::Schema::Result::Accountline',
'class' => 'Koha::Schema::Result::Accountline'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::AccountDebitType',
'resultset_attributes' => {},
'name' => 'account_debit_types',
'_ordered_columns' => [
'code',
'description',
'can_be_invoiced',
'can_be_sold',
'default_amount',
'is_system',
'archived',
'restricts_checkouts'
]
}, 'DBIx::Class::ResultSource::Table' ),
'AqbooksellerAlias' => bless( {
'_unique_constraints' => {
'primary' => [
'alias_id'
]
},
'_columns' => {
'alias_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'alias' => {
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'vendor_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
}
},
'_columns_info_loaded' => 0,
'source_name' => 'AqbooksellerAlias',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqbooksellerAlias'}{'_unique_constraints'}{'primary'},
'name' => 'aqbookseller_aliases',
'_ordered_columns' => [
'alias_id',
'vendor_id',
'alias'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'vendor' => {
'cond' => {
'foreign.id' => 'self.vendor_id'
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'vendor_id' => 1
},
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::Aqbookseller'
}
},
'result_class' => 'Koha::Schema::Result::AqbooksellerAlias',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {}
}, 'DBIx::Class::ResultSource::Table' ),
'Aqbudgetperiod' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::Aqbudgetperiod',
'resultset_attributes' => {},
'_relationships' => {
'aqbudgets' => {
'source' => 'Koha::Schema::Result::Aqbudget',
'cond' => {
'foreign.budget_period_id' => 'self.budget_period_id'
},
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::Aqbudget'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'_ordered_columns' => [
'budget_period_id',
'budget_period_startdate',
'budget_period_enddate',
'budget_period_active',
'budget_period_description',
'budget_period_total',
'budget_period_locked',
'sort1_authcat',
'sort2_authcat'
],
'name' => 'aqbudgetperiods',
'source_name' => 'Aqbudgetperiod',
'_primaries' => [
'budget_period_id'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqbudgetperiod'}{'_primaries'}
},
'_columns' => {
'budget_period_total' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
28,
6
]
},
'sort1_authcat' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'budget_period_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'budget_period_startdate' => {
'is_nullable' => 0,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'budget_period_active' => {
'default_value' => 0,
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'budget_period_description' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'sort2_authcat' => {
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'budget_period_locked' => {
'data_type' => 'tinyint',
'is_nullable' => 1
},
'budget_period_enddate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'date'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ClassSplitRule' => bless( {
'_columns' => {
'split_regex' => {
'default_value' => '',
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'description' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'split_routine' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 30,
'default_value' => ''
},
'class_split_rule' => {
'default_value' => '',
'size' => 10,
'is_nullable' => 0,
'data_type' => 'varchar'
}
},
'_unique_constraints' => {
'primary' => [
'class_split_rule'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClassSplitRule'}{'_unique_constraints'}{'primary'},
'source_name' => 'ClassSplitRule',
'_columns_info_loaded' => 0,
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::ClassSplitRule',
'resultset_attributes' => {},
'_relationships' => {
'class_sources' => {
'class' => 'Koha::Schema::Result::ClassSource',
'cond' => {
'foreign.class_split_rule' => 'self.class_split_rule'
},
'source' => 'Koha::Schema::Result::ClassSource',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'class_split_rule',
'description',
'split_routine',
'split_regex'
],
'name' => 'class_split_rules'
}, 'DBIx::Class::ResultSource::Table' ),
'AqordersClaim' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'AqordersClaim',
'_primaries' => [
'id'
],
'name' => 'aqorders_claims',
'_ordered_columns' => [
'id',
'ordernumber',
'claimed_on'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'ordernumber' => {
'class' => 'Koha::Schema::Result::Aqorder',
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Aqorder',
'cond' => {
'foreign.ordernumber' => 'self.ordernumber'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::AqordersClaim',
'resultset_attributes' => {},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqordersClaim'}{'_primaries'}
},
'_columns' => {
'ordernumber' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'claimed_on' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ItemsSearchField' => bless( {
'_columns' => {
'tagsubfield' => {
'size' => 1,
'is_nullable' => 1,
'data_type' => 'char'
},
'tagfield' => {
'is_nullable' => 0,
'data_type' => 'char',
'size' => 3
},
'name' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255
},
'authorised_values_category' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'size' => 32,
'is_foreign_key' => 1,
'data_type' => 'varchar',
'is_nullable' => 1
},
'label' => {
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
}
},
'_unique_constraints' => {
'primary' => [
'name'
]
},
'_ordered_columns' => [
'name',
'label',
'tagfield',
'tagsubfield',
'authorised_values_category'
],
'name' => 'items_search_fields',
'result_class' => 'Koha::Schema::Result::ItemsSearchField',
'_relationships' => {
'authorised_values_category' => {
'class' => 'Koha::Schema::Result::AuthorisedValueCategory',
'attrs' => {
'join_type' => 'LEFT',
'accessor' => 'filter',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::AuthorisedValueCategory',
'cond' => {
'foreign.category_name' => 'self.authorised_values_category'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemsSearchField'}{'_unique_constraints'}{'primary'},
'source_name' => 'ItemsSearchField'
}, 'DBIx::Class::ResultSource::Table' ),
'ArticleRequest' => bless( {
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_columns' => {
'urls' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'biblionumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'cancellation_reason' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'patron_notes' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'author' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'volume' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'itemnumber' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'toc_request' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'notes' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'status' => {
'is_nullable' => 0,
'data_type' => 'enum',
'extra' => {
'list' => [
'REQUESTED',
'PENDING',
'PROCESSING',
'COMPLETED',
'CANCELED'
]
},
'default_value' => 'REQUESTED'
},
'date' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'chapters' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'updated_on' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'pages' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'issue' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'created_on' => {
'data_type' => 'timestamp',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'title' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'format' => {
'default_value' => 'PHOTOCOPY',
'extra' => {
'list' => [
'PHOTOCOPY',
'SCAN'
]
},
'data_type' => 'enum',
'is_nullable' => 0
},
'branchcode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'debit_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
}
},
'_columns_info_loaded' => 0,
'source_name' => 'ArticleRequest',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ArticleRequest'}{'_unique_constraints'}{'primary'},
'name' => 'article_requests',
'_ordered_columns' => [
'id',
'borrowernumber',
'biblionumber',
'itemnumber',
'branchcode',
'title',
'author',
'volume',
'issue',
'date',
'pages',
'chapters',
'patron_notes',
'status',
'notes',
'format',
'urls',
'cancellation_reason',
'debit_id',
'created_on',
'updated_on',
'toc_request'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'debit' => {
'source' => 'Koha::Schema::Result::Accountline',
'cond' => {
'foreign.accountlines_id' => 'self.debit_id'
},
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 1,
'on_delete' => 'SET NULL',
'accessor' => 'single',
'fk_columns' => {
'debit_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Accountline'
},
'biblionumber' => {
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio',
'class' => 'Koha::Schema::Result::Biblio'
},
'itemnumber' => {
'class' => 'Koha::Schema::Result::Item',
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'accessor' => 'filter',
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
}
},
'borrowernumber' => {
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Borrower'
},
'branchcode' => {
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::Branch'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::ArticleRequest',
'resultset_attributes' => {}
}, 'DBIx::Class::ResultSource::Table' ),
'TicketUpdate' => bless( {
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_columns' => {
'message' => {
'data_type' => 'text',
'is_nullable' => 0
},
'assignee_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'public' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'ticket_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'date' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'status' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'user_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 0,
'is_foreign_key' => 1
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'ticket' => {
'class' => 'Koha::Schema::Result::Ticket',
'cond' => {
'foreign.id' => 'self.ticket_id'
},
'source' => 'Koha::Schema::Result::Ticket',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'ticket_id' => 1
},
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single'
}
},
'assignee' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'assignee_id' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.assignee_id'
},
'source' => 'Koha::Schema::Result::Borrower'
},
'user' => {
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'fk_columns' => {
'user_id' => 1
},
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.user_id'
},
'source' => 'Koha::Schema::Result::Borrower',
'class' => 'Koha::Schema::Result::Borrower'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::TicketUpdate',
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'ticket_updates',
'_ordered_columns' => [
'id',
'ticket_id',
'user_id',
'assignee_id',
'public',
'date',
'message',
'status'
],
'source_name' => 'TicketUpdate',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TicketUpdate'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'Overduerule' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'overduerules_transport_types' => {
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::OverduerulesTransportType',
'cond' => {
'foreign.overduerules_id' => 'self.overduerules_id'
},
'class' => 'Koha::Schema::Result::OverduerulesTransportType'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Overduerule',
'name' => 'overduerules',
'_ordered_columns' => [
'overduerules_id',
'branchcode',
'categorycode',
'delay1',
'letter1',
'debarred1',
'delay2',
'debarred2',
'letter2',
'delay3',
'letter3',
'debarred3'
],
'source_name' => 'Overduerule',
'_primaries' => [
'overduerules_id'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'overduerules_branch_cat' => [
'branchcode',
'categorycode'
],
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Overduerule'}{'_primaries'}
},
'_columns' => {
'delay1' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'debarred1' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 1,
'default_value' => 0
},
'letter3' => {
'size' => 20,
'data_type' => 'varchar',
'is_nullable' => 1
},
'delay3' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'letter1' => {
'size' => 20,
'data_type' => 'varchar',
'is_nullable' => 1
},
'branchcode' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 10,
'default_value' => ''
},
'debarred3' => {
'data_type' => 'integer',
'is_nullable' => 1,
'default_value' => 0
},
'overduerules_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'delay2' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'categorycode' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'default_value' => '',
'size' => 10
},
'debarred2' => {
'default_value' => 0,
'size' => 1,
'data_type' => 'varchar',
'is_nullable' => 1
},
'letter2' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 20
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ItemBundle' => bless( {
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ItemBundle',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'item' => {
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter'
},
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.item'
},
'class' => 'Koha::Schema::Result::Item'
},
'host' => {
'class' => 'Koha::Schema::Result::Item',
'attrs' => {
'is_foreign_key_constraint' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.host'
}
}
},
'name' => 'item_bundles',
'_ordered_columns' => [
'item',
'host'
],
'_primaries' => [
'host',
'item'
],
'_columns' => {
'host' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'item' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemBundle'}{'_primaries'},
'item_bundles_uniq_1' => [
'item'
]
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'ItemBundle',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'OldReserve' => bless( {
'_unique_constraints' => {
'primary' => [
'reserve_id'
]
},
'_columns' => {
'reservenotes' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'priority' => {
'is_nullable' => 0,
'data_type' => 'smallint',
'default_value' => 1
},
'desk_id' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'biblionumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'cancellation_reason' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'reminderdate' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'itemnumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'reservedate' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'itemtype' => {
'is_foreign_key' => 1,
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'expirationdate' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'found' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 1
},
'item_level_hold' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'patron_expiration_date' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'suspend' => {
'is_boolean' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'notificationdate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'lowestPriority' => {
'default_value' => 0,
'accessor' => 'lowest_priority',
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'suspend_until' => {
'data_type' => 'datetime',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'item_group_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'timestamp' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'waitingdate' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'deleted_biblionumber' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'branchcode' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'cancellationdate' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'non_priority' => {
'is_boolean' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'reserve_id' => {
'is_nullable' => 0,
'data_type' => 'integer'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::OldReserve',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'itemnumber' => {
'class' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Item',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'SET NULL',
'undef_on_null_fk' => 1,
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
}
},
'itemtype' => {
'class' => 'Koha::Schema::Result::Itemtype',
'attrs' => {
'on_update' => 'SET NULL',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'accessor' => 'filter',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.itemtype' => 'self.itemtype'
},
'source' => 'Koha::Schema::Result::Itemtype'
},
'item' => {
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'itemnumber' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'class' => 'Koha::Schema::Result::Item'
},
'biblio' => {
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'biblionumber' => 1
},
'accessor' => 'single',
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::Biblio'
},
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter'
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
}
},
'pickup_library' => {
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'branchcode' => 1
},
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::Branch'
},
'item_group' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'item_group_id' => 1
},
'is_depends_on' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'SET NULL',
'is_deferrable' => 1
},
'cond' => {
'foreign.item_group_id' => 'self.item_group_id'
},
'source' => 'Koha::Schema::Result::ItemGroup',
'class' => 'Koha::Schema::Result::ItemGroup'
},
'biblionumber' => {
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'SET NULL',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'accessor' => 'filter'
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio',
'class' => 'Koha::Schema::Result::Biblio'
},
'borrowernumber' => {
'attrs' => {
'on_update' => 'SET NULL',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Borrower'
},
'patron' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'accessor' => 'single',
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'borrowernumber' => 1
},
'on_update' => 'SET NULL',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
}
},
'name' => 'old_reserves',
'_ordered_columns' => [
'reserve_id',
'borrowernumber',
'reservedate',
'biblionumber',
'deleted_biblionumber',
'item_group_id',
'branchcode',
'desk_id',
'notificationdate',
'reminderdate',
'cancellationdate',
'cancellation_reason',
'reservenotes',
'priority',
'found',
'timestamp',
'itemnumber',
'waitingdate',
'expirationdate',
'patron_expiration_date',
'lowestPriority',
'suspend',
'suspend_until',
'itemtype',
'item_level_hold',
'non_priority'
],
'source_name' => 'OldReserve',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'OldReserve'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'PreservationProcessingAttribute' => bless( {
'_columns' => {
'type' => {
'extra' => {
'list' => [
'authorised_value',
'free_text',
'db_column'
]
},
'is_nullable' => 0,
'data_type' => 'enum'
},
'name' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 0
},
'option_source' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'processing_attribute_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'processing_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
}
},
'_unique_constraints' => {
'primary' => [
'processing_attribute_id'
]
},
'_relationships' => {
'preservation_processing_attributes_items' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::PreservationProcessingAttributesItem',
'cond' => {
'foreign.processing_attribute_id' => 'self.processing_attribute_id'
},
'class' => 'Koha::Schema::Result::PreservationProcessingAttributesItem'
},
'processing' => {
'class' => 'Koha::Schema::Result::PreservationProcessing',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'processing_id' => 1
}
},
'source' => 'Koha::Schema::Result::PreservationProcessing',
'cond' => {
'foreign.processing_id' => 'self.processing_id'
}
}
},
'result_class' => 'Koha::Schema::Result::PreservationProcessingAttribute',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'preservation_processing_attributes',
'_ordered_columns' => [
'processing_attribute_id',
'processing_id',
'name',
'type',
'option_source'
],
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PreservationProcessingAttribute'}{'_unique_constraints'}{'primary'},
'source_name' => 'PreservationProcessingAttribute',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'CirculationRule' => bless( {
'_unique_constraints' => {
'primary' => [
'id'
],
'branchcode' => [
'branchcode',
'categorycode',
'itemtype',
'rule_name'
]
},
'_columns' => {
'itemtype' => {
'size' => 10,
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'varchar',
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'branchcode' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'size' => 10,
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'categorycode' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'varchar',
'is_nullable' => 1,
'is_foreign_key' => 1,
'size' => 10
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'rule_name' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 32
},
'rule_value' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 32
}
},
'source_name' => 'CirculationRule',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CirculationRule'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::CirculationRule',
'resultset_attributes' => {},
'_relationships' => {
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
}
},
'itemtype' => {
'class' => 'Koha::Schema::Result::Itemtype',
'cond' => {
'foreign.itemtype' => 'self.itemtype'
},
'source' => 'Koha::Schema::Result::Itemtype',
'attrs' => {
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
}
},
'categorycode' => {
'class' => 'Koha::Schema::Result::Category',
'source' => 'Koha::Schema::Result::Category',
'cond' => {
'foreign.categorycode' => 'self.categorycode'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'circulation_rules',
'_ordered_columns' => [
'id',
'branchcode',
'categorycode',
'itemtype',
'rule_name',
'rule_value'
]
}, 'DBIx::Class::ResultSource::Table' ),
'BorrowerAttributeTypesBranch' => bless( {
'_columns' => {
'bat_code' => {
'size' => 64,
'is_foreign_key' => 1,
'data_type' => 'varchar',
'is_nullable' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'b_branchcode' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10,
'is_foreign_key' => 1
}
},
'_columns_info_loaded' => 0,
'source_name' => 'BorrowerAttributeTypesBranch',
'name' => 'borrower_attribute_types_branches',
'_ordered_columns' => [
'bat_code',
'b_branchcode'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'bat_code' => {
'cond' => {
'foreign.code' => 'self.bat_code'
},
'source' => 'Koha::Schema::Result::BorrowerAttributeType',
'attrs' => {
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::BorrowerAttributeType'
},
'b_branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.b_branchcode'
}
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::BorrowerAttributeTypesBranch'
}, 'DBIx::Class::ResultSource::Table' ),
'CurbsidePickupIssue' => bless( {
'_ordered_columns' => [
'id',
'curbside_pickup_id',
'issue_id',
'reserve_id'
],
'name' => 'curbside_pickup_issues',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'curbside_pickup' => {
'cond' => {
'foreign.id' => 'self.curbside_pickup_id'
},
'source' => 'Koha::Schema::Result::CurbsidePickup',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'curbside_pickup_id' => 1
},
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single'
},
'class' => 'Koha::Schema::Result::CurbsidePickup'
}
},
'result_class' => 'Koha::Schema::Result::CurbsidePickupIssue',
'_primaries' => [
'id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CurbsidePickupIssue'}{'_primaries'}
},
'_columns' => {
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'curbside_pickup_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'issue_id' => {
'data_type' => 'integer',
'is_nullable' => 0
},
'reserve_id' => {
'is_nullable' => 0,
'data_type' => 'integer'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'CurbsidePickupIssue'
}, 'DBIx::Class::ResultSource::Table' ),
'BranchesOverdrive' => bless( {
'_relationships' => {
'branchcode' => {
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::Branch'
}
},
'result_class' => 'Koha::Schema::Result::BranchesOverdrive',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_ordered_columns' => [
'branchcode',
'authname'
],
'name' => 'branches_overdrive',
'_primaries' => [
'branchcode'
],
'_columns' => {
'authname' => {
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'branchcode' => {
'is_foreign_key' => 1,
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 0,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BranchesOverdrive'}{'_primaries'}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'BranchesOverdrive',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'AccountOffset' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'id'
],
'source_name' => 'AccountOffset',
'_ordered_columns' => [
'id',
'credit_id',
'debit_id',
'type',
'amount',
'created_on'
],
'name' => 'account_offsets',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'debit' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'debit_id' => 1
},
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::Accountline',
'cond' => {
'foreign.accountlines_id' => 'self.debit_id'
},
'class' => 'Koha::Schema::Result::Accountline'
},
'credit' => {
'class' => 'Koha::Schema::Result::Accountline',
'cond' => {
'foreign.accountlines_id' => 'self.credit_id'
},
'source' => 'Koha::Schema::Result::Accountline',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'credit_id' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'join_type' => 'LEFT',
'is_depends_on' => 1
}
}
},
'result_class' => 'Koha::Schema::Result::AccountOffset',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'created_on' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 0
},
'credit_id' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'debit_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'type' => {
'data_type' => 'enum',
'is_nullable' => 0,
'extra' => {
'list' => [
'CREATE',
'APPLY',
'VOID',
'OVERDUE_INCREASE',
'OVERDUE_DECREASE'
]
}
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'amount' => {
'size' => [
26,
6
],
'data_type' => 'decimal',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AccountOffset'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ClubTemplateEnrollmentField' => bless( {
'result_class' => 'Koha::Schema::Result::ClubTemplateEnrollmentField',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'club_template' => {
'class' => 'Koha::Schema::Result::ClubTemplate',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'club_template_id' => 1
}
},
'cond' => {
'foreign.id' => 'self.club_template_id'
},
'source' => 'Koha::Schema::Result::ClubTemplate'
},
'club_enrollment_fields' => {
'cond' => {
'foreign.club_template_enrollment_field_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::ClubEnrollmentField',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ClubEnrollmentField'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'id',
'club_template_id',
'name',
'description',
'authorised_value_category'
],
'name' => 'club_template_enrollment_fields',
'_primaries' => [
'id'
],
'source_name' => 'ClubTemplateEnrollmentField',
'_columns_info_loaded' => 0,
'_columns' => {
'description' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'name' => {
'data_type' => 'text',
'is_nullable' => 0
},
'club_template_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'authorised_value_category' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 32
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubTemplateEnrollmentField'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Alert' => bless( {
'source_name' => 'Alert',
'_primaries' => [
'alertid'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter'
}
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Alert',
'name' => 'alert',
'_ordered_columns' => [
'alertid',
'borrowernumber',
'type',
'externalid'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Alert'}{'_primaries'}
},
'_columns' => {
'type' => {
'default_value' => '',
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 0
},
'externalid' => {
'default_value' => '',
'size' => 20,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'alertid' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'borrowernumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1,
'default_value' => 0
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'AuthorisedValuesBranch' => bless( {
'_unique_constraints' => {
'primary' => [
'av_id',
'branchcode'
]
},
'_columns' => {
'av_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'branchcode' => {
'is_foreign_key' => 1,
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 0,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
}
},
'source_name' => 'AuthorisedValuesBranch',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AuthorisedValuesBranch'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'branchcode' => {
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::Branch'
},
'av' => {
'class' => 'Koha::Schema::Result::AuthorisedValue',
'attrs' => {
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'av_id' => 1
},
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.id' => 'self.av_id'
},
'source' => 'Koha::Schema::Result::AuthorisedValue'
}
},
'result_class' => 'Koha::Schema::Result::AuthorisedValuesBranch',
'resultset_attributes' => {},
'name' => 'authorised_values_branches',
'_ordered_columns' => [
'av_id',
'branchcode'
]
}, 'DBIx::Class::ResultSource::Table' ),
'BorrowerDebarment' => bless( {
'result_class' => 'Koha::Schema::Result::BorrowerDebarment',
'resultset_attributes' => {},
'_relationships' => {
'type' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'NO ACTION',
'is_depends_on' => 1,
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'source' => 'Koha::Schema::Result::RestrictionType',
'cond' => {
'foreign.code' => 'self.type'
},
'class' => 'Koha::Schema::Result::RestrictionType'
},
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'_ordered_columns' => [
'borrower_debarment_id',
'borrowernumber',
'expiration',
'type',
'comment',
'manager_id',
'created',
'updated'
],
'name' => 'borrower_debarments',
'_primaries' => [
'borrower_debarment_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerDebarment'}{'_primaries'}
},
'_columns' => {
'type' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 50,
'is_foreign_key' => 1
},
'created' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 0
},
'comment' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'borrowernumber' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'updated' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 1
},
'expiration' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'manager_id' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'borrower_debarment_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'BorrowerDebarment',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'ImportItem' => bless( {
'_unique_constraints' => {
'primary' => [
'import_items_id'
]
},
'_columns' => {
'import_error' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'itemnumber' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'status' => {
'default_value' => 'staged',
'extra' => {
'list' => [
'error',
'staged',
'imported',
'reverted',
'ignored'
]
},
'data_type' => 'enum',
'is_nullable' => 0
},
'marcxml' => {
'is_nullable' => 0,
'data_type' => 'longtext'
},
'import_record_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'branchcode' => {
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
},
'import_items_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
}
},
'name' => 'import_items',
'_ordered_columns' => [
'import_items_id',
'import_record_id',
'itemnumber',
'branchcode',
'status',
'marcxml',
'import_error'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::ImportItem',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'import_record' => {
'cond' => {
'foreign.import_record_id' => 'self.import_record_id'
},
'source' => 'Koha::Schema::Result::ImportRecord',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'import_record_id' => 1
},
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::ImportRecord'
}
},
'_columns_info_loaded' => 0,
'source_name' => 'ImportItem',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportItem'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmLicense' => bless( {
'_ordered_columns' => [
'license_id',
'vendor_id',
'name',
'description',
'type',
'status',
'started_on',
'ended_on'
],
'name' => 'erm_licenses',
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::ErmLicense',
'resultset_attributes' => {},
'_relationships' => {
'erm_documents' => {
'class' => 'Koha::Schema::Result::ErmDocument',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'cond' => {
'foreign.license_id' => 'self.license_id'
},
'source' => 'Koha::Schema::Result::ErmDocument'
},
'extended_attributes' => {
'cond' => sub { "DUMMY" },
'source' => 'Koha::Schema::Result::AdditionalFieldValue',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::AdditionalFieldValue'
},
'vendor' => {
'class' => 'Koha::Schema::Result::Aqbookseller',
'cond' => {
'foreign.id' => 'self.vendor_id'
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'attrs' => {
'fk_columns' => {
'vendor_id' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
}
},
'erm_user_roles' => {
'source' => 'Koha::Schema::Result::ErmUserRole',
'cond' => {
'foreign.license_id' => 'self.license_id'
},
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ErmUserRole'
},
'erm_agreement_licenses' => {
'class' => 'Koha::Schema::Result::ErmAgreementLicense',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.license_id' => 'self.license_id'
},
'source' => 'Koha::Schema::Result::ErmAgreementLicense'
},
'additional_field_values' => {
'class' => 'Koha::Schema::Result::AdditionalFieldValue',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::AdditionalFieldValue',
'cond' => sub { "DUMMY" }
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => [
'license_id'
],
'source_name' => 'ErmLicense',
'_columns' => {
'status' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 80
},
'name' => {
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'description' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'ended_on' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'vendor_id' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'started_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'license_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'type' => {
'size' => 80,
'is_nullable' => 0,
'data_type' => 'varchar'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmLicense'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'TagsApproval' => bless( {
'_ordered_columns' => [
'term',
'approved',
'date_approved',
'approved_by',
'weight_total'
],
'name' => 'tags_approval',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'_relationships' => {
'tags_indexes' => {
'class' => 'Koha::Schema::Result::TagsIndex',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::TagsIndex',
'cond' => {
'foreign.term' => 'self.term'
}
},
'approved_by' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.approved_by'
},
'source' => 'Koha::Schema::Result::Borrower'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::TagsApproval',
'_columns_info_loaded' => 0,
'source_name' => 'TagsApproval',
'_primaries' => [
'term'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TagsApproval'}{'_primaries'}
},
'_columns' => {
'date_approved' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'weight_total' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 1
},
'approved' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'approved_by' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'term' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 191
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'LibraryGroup' => bless( {
'_ordered_columns' => [
'id',
'parent_id',
'branchcode',
'title',
'description',
'ft_hide_patron_info',
'ft_limit_item_editing',
'ft_search_groups_opac',
'ft_search_groups_staff',
'ft_local_hold_group',
'ft_local_float_group',
'created_on',
'updated_on'
],
'name' => 'library_groups',
'result_class' => 'Koha::Schema::Result::LibraryGroup',
'_relationships' => {
'parent' => {
'class' => 'Koha::Schema::Result::LibraryGroup',
'source' => 'Koha::Schema::Result::LibraryGroup',
'cond' => {
'foreign.id' => 'self.parent_id'
},
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'fk_columns' => {
'parent_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
},
'library_groups' => {
'cond' => {
'foreign.parent_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::LibraryGroup',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::LibraryGroup'
},
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_primaries' => [
'id'
],
'_unique_constraints' => {
'library_groups_uniq_2' => [
'parent_id',
'branchcode'
],
'title' => [
'title'
],
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LibraryGroup'}{'_primaries'}
},
'_columns' => {
'parent_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'created_on' => {
'is_nullable' => 1,
'data_type' => 'timestamp',
'datetime_undef_if_invalid' => 1
},
'title' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 100
},
'branchcode' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10,
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'ft_local_hold_group' => {
'is_boolean' => 1,
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'updated_on' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
},
'ft_local_float_group' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'ft_hide_patron_info' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'description' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'ft_limit_item_editing' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'ft_search_groups_opac' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'ft_search_groups_staff' => {
'is_boolean' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'LibraryGroup'
}, 'DBIx::Class::ResultSource::Table' ),
'MessageTransportType' => bless( {
'_columns' => {
'message_transport_type' => {
'size' => 20,
'is_nullable' => 0,
'data_type' => 'varchar'
}
},
'_unique_constraints' => {
'primary' => [
'message_transport_type'
]
},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MessageTransportType'}{'_unique_constraints'}{'primary'},
'source_name' => 'MessageTransportType',
'name' => 'message_transport_types',
'_ordered_columns' => [
'message_transport_type'
],
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::MessageTransportType',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'borrower_message_transport_preferences' => {
'class' => 'Koha::Schema::Result::BorrowerMessageTransportPreference',
'cond' => {
'foreign.message_transport_type' => 'self.message_transport_type'
},
'source' => 'Koha::Schema::Result::BorrowerMessageTransportPreference',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'overduerules_transport_types' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'cond' => {
'foreign.message_transport_type' => 'self.message_transport_type'
},
'source' => 'Koha::Schema::Result::OverduerulesTransportType',
'class' => 'Koha::Schema::Result::OverduerulesTransportType'
},
'message_transports' => {
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::MessageTransport',
'cond' => {
'foreign.message_transport_type' => 'self.message_transport_type'
},
'class' => 'Koha::Schema::Result::MessageTransport'
},
'letters' => {
'class' => 'Koha::Schema::Result::Letter',
'source' => 'Koha::Schema::Result::Letter',
'cond' => {
'foreign.message_transport_type' => 'self.message_transport_type'
},
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'message_queues' => {
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::MessageQueue',
'cond' => {
'foreign.message_transport_type' => 'self.message_transport_type'
},
'class' => 'Koha::Schema::Result::MessageQueue'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmDefaultUsageReport' => bless( {
'source_name' => 'ErmDefaultUsageReport',
'_primaries' => [
'erm_default_usage_report_id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::ErmDefaultUsageReport',
'_relationships' => {},
'_ordered_columns' => [
'erm_default_usage_report_id',
'report_name',
'report_url_params'
],
'name' => 'erm_default_usage_reports',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmDefaultUsageReport'}{'_primaries'}
},
'_columns' => {
'erm_default_usage_report_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'report_url_params' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'report_name' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Deletedbiblio' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'biblioitem' => {
'class' => 'Koha::Schema::Result::Deletedbiblioitem',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Deletedbiblioitem',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
}
},
'deletedbiblio_metadatas' => {
'class' => 'Koha::Schema::Result::DeletedbiblioMetadata',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::DeletedbiblioMetadata',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
}
},
'metadata' => {
'class' => 'Koha::Schema::Result::DeletedbiblioMetadata',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::DeletedbiblioMetadata',
'attrs' => {
'cascade_update' => 1,
'accessor' => 'single',
'is_depends_on' => 0,
'cascade_delete' => 0,
'cascade_copy' => 0
}
}
},
'result_class' => 'Koha::Schema::Result::Deletedbiblio',
'resultset_attributes' => {},
'_ordered_columns' => [
'biblionumber',
'frameworkcode',
'author',
'title',
'medium',
'subtitle',
'part_number',
'part_name',
'unititle',
'notes',
'serial',
'seriestitle',
'copyrightdate',
'timestamp',
'datecreated',
'abstract'
],
'name' => 'deletedbiblio',
'source_name' => 'Deletedbiblio',
'_primaries' => [
'biblionumber'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Deletedbiblio'}{'_primaries'}
},
'_columns' => {
'title' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'notes' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'medium' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'part_number' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'seriestitle' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'part_name' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'serial' => {
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'copyrightdate' => {
'data_type' => 'smallint',
'is_nullable' => 1
},
'author' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'abstract' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'datecreated' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'date'
},
'frameworkcode' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'default_value' => '',
'size' => 4
},
'unititle' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'timestamp' => {
'is_nullable' => 0,
'data_type' => 'timestamp',
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'biblionumber' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'subtitle' => {
'is_nullable' => 1,
'data_type' => 'longtext'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'SearchHistory' => bless( {
'_relationships' => {},
'result_class' => 'Koha::Schema::Result::SearchHistory',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'search_history',
'_ordered_columns' => [
'id',
'userid',
'sessionid',
'query_desc',
'query_cgi',
'type',
'total',
'time'
],
'_primaries' => [
'id'
],
'source_name' => 'SearchHistory',
'_columns_info_loaded' => 0,
'_columns' => {
'total' => {
'is_nullable' => 0,
'data_type' => 'integer'
},
'userid' => {
'is_nullable' => 0,
'data_type' => 'integer'
},
'query_desc' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255
},
'sessionid' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 32
},
'time' => {
'is_nullable' => 0,
'data_type' => 'timestamp',
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
},
'query_cgi' => {
'data_type' => 'mediumtext',
'is_nullable' => 0
},
'type' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'default_value' => 'biblio',
'size' => 16
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SearchHistory'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'TablesSetting' => bless( {
'source_name' => 'TablesSetting',
'_primaries' => [
'module',
'page',
'tablename'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::TablesSetting',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {},
'name' => 'tables_settings',
'_ordered_columns' => [
'module',
'page',
'tablename',
'default_display_length',
'default_sort_order',
'default_save_state',
'default_save_state_search'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TablesSetting'}{'_primaries'}
},
'_columns' => {
'default_display_length' => {
'is_nullable' => 1,
'data_type' => 'smallint'
},
'module' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
},
'page' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
},
'tablename' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255
},
'default_save_state' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 1,
'default_value' => 1
},
'default_save_state_search' => {
'data_type' => 'tinyint',
'is_nullable' => 1,
'default_value' => 0,
'is_boolean' => 1
},
'default_sort_order' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'AqordersTransfer' => bless( {
'source_name' => 'AqordersTransfer',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::AqordersTransfer',
'_relationships' => {
'ordernumber_to' => {
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1
},
'source' => 'Koha::Schema::Result::Aqorder',
'cond' => {
'foreign.ordernumber' => 'self.ordernumber_to'
},
'class' => 'Koha::Schema::Result::Aqorder'
},
'ordernumber_from' => {
'class' => 'Koha::Schema::Result::Aqorder',
'source' => 'Koha::Schema::Result::Aqorder',
'cond' => {
'foreign.ordernumber' => 'self.ordernumber_from'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
}
}
},
'name' => 'aqorders_transfers',
'_ordered_columns' => [
'ordernumber_from',
'ordernumber_to',
'timestamp'
],
'_unique_constraints' => {
'ordernumber_to' => [
'ordernumber_to'
],
'ordernumber_from' => [
'ordernumber_from'
]
},
'_columns' => {
'ordernumber_from' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'timestamp' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'ordernumber_to' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ActionLog' => bless( {
'_unique_constraints' => {
'primary' => [
'action_id'
]
},
'_columns' => {
'object' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'script' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'info' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'trace' => {
'is_nullable' => 1,
'data_type' => 'text'
},
'module' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'user' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 0
},
'diff' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'interface' => {
'size' => 30,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'action' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'action_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'timestamp' => {
'is_nullable' => 0,
'data_type' => 'timestamp',
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
}
},
'name' => 'action_logs',
'_ordered_columns' => [
'action_id',
'timestamp',
'user',
'module',
'action',
'object',
'info',
'interface',
'script',
'trace',
'diff'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::ActionLog',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {},
'resultset_attributes' => {},
'_columns_info_loaded' => 0,
'source_name' => 'ActionLog',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ActionLog'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'AqordersItem' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::AqordersItem',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'ordernumber' => {
'class' => 'Koha::Schema::Result::Aqorder',
'cond' => {
'foreign.ordernumber' => 'self.ordernumber'
},
'source' => 'Koha::Schema::Result::Aqorder',
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
}
}
},
'name' => 'aqorders_items',
'_ordered_columns' => [
'ordernumber',
'itemnumber',
'timestamp'
],
'source_name' => 'AqordersItem',
'_primaries' => [
'itemnumber'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqordersItem'}{'_primaries'}
},
'_columns' => {
'itemnumber' => {
'data_type' => 'integer',
'is_nullable' => 0
},
'ordernumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'timestamp' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 0
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Club' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'Club',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_primaries' => [
'id'
],
'_ordered_columns' => [
'id',
'club_template_id',
'name',
'description',
'date_start',
'date_end',
'branchcode',
'date_created',
'date_updated'
],
'name' => 'clubs',
'_relationships' => {
'club_enrollments' => {
'class' => 'Koha::Schema::Result::ClubEnrollment',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'cond' => {
'foreign.club_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::ClubEnrollment'
},
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'RESTRICT',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'RESTRICT',
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch'
},
'club_holds' => {
'class' => 'Koha::Schema::Result::ClubHold',
'source' => 'Koha::Schema::Result::ClubHold',
'cond' => {
'foreign.club_id' => 'self.id'
},
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'club_template' => {
'cond' => {
'foreign.id' => 'self.club_template_id'
},
'source' => 'Koha::Schema::Result::ClubTemplate',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'club_template_id' => 1
},
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::ClubTemplate'
},
'club_fields' => {
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.club_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::ClubField',
'class' => 'Koha::Schema::Result::ClubField'
}
},
'result_class' => 'Koha::Schema::Result::Club',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Club'}{'_primaries'}
},
'_columns' => {
'branchcode' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10,
'is_foreign_key' => 1
},
'date_end' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'date_created' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'club_template_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'description' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'name' => {
'is_nullable' => 0,
'data_type' => 'text'
},
'date_start' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'date_updated' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'timestamp'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ImportAuth' => bless( {
'_ordered_columns' => [
'import_record_id',
'matched_authid',
'control_number',
'authorized_heading',
'original_source'
],
'name' => 'import_auths',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ImportAuth',
'_relationships' => {
'import_record' => {
'source' => 'Koha::Schema::Result::ImportRecord',
'cond' => {
'foreign.import_record_id' => 'self.import_record_id'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'import_record_id' => 1
},
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::ImportRecord'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => [
'import_record_id'
],
'source_name' => 'ImportAuth',
'_columns' => {
'control_number' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 25
},
'authorized_heading' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 128
},
'original_source' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 25
},
'import_record_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'matched_authid' => {
'is_nullable' => 1,
'data_type' => 'integer'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportAuth'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Recall' => bless( {
'_columns' => {
'item_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'patron_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1,
'default_value' => 0
},
'biblio_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'notes' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'waiting_date' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'status' => {
'is_nullable' => 1,
'data_type' => 'enum',
'extra' => {
'list' => [
'requested',
'overdue',
'waiting',
'in_transit',
'cancelled',
'expired',
'fulfilled'
]
},
'default_value' => 'requested'
},
'completed' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'created_date' => {
'data_type' => 'datetime',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'timestamp' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'recall_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'pickup_library_id' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'is_foreign_key' => 1,
'size' => 10
},
'priority' => {
'is_nullable' => 1,
'data_type' => 'smallint'
},
'expiration_date' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'item_level' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'completed_date' => {
'is_nullable' => 1,
'data_type' => 'datetime',
'datetime_undef_if_invalid' => 1
}
},
'_unique_constraints' => {
'primary' => [
'recall_id'
]
},
'_ordered_columns' => [
'recall_id',
'patron_id',
'created_date',
'biblio_id',
'pickup_library_id',
'completed_date',
'notes',
'priority',
'status',
'timestamp',
'item_id',
'waiting_date',
'expiration_date',
'completed',
'item_level'
],
'name' => 'recalls',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Recall',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'library' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'pickup_library_id' => 1
},
'join_type' => 'LEFT',
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.branchcode' => 'self.pickup_library_id'
},
'source' => 'Koha::Schema::Result::Branch',
'class' => 'Koha::Schema::Result::Branch'
},
'pickup_library' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'fk_columns' => {
'pickup_library_id' => 1
},
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.branchcode' => 'self.pickup_library_id'
},
'source' => 'Koha::Schema::Result::Branch'
},
'item' => {
'cond' => {
'foreign.itemnumber' => 'self.item_id'
},
'source' => 'Koha::Schema::Result::Item',
'attrs' => {
'fk_columns' => {
'item_id' => 1
},
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'class' => 'Koha::Schema::Result::Item'
},
'patron' => {
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.patron_id'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'patron_id' => 1
},
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single'
},
'class' => 'Koha::Schema::Result::Borrower'
},
'biblio' => {
'attrs' => {
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'biblio_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblio_id'
},
'class' => 'Koha::Schema::Result::Biblio'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Recall'}{'_unique_constraints'}{'primary'},
'source_name' => 'Recall'
}, 'DBIx::Class::ResultSource::Table' ),
'Aqbudgetborrower' => bless( {
'_unique_constraints' => {
'primary' => [
'budget_id',
'borrowernumber'
]
},
'_columns' => {
'budget_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'borrowernumber' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
}
},
'_columns_info_loaded' => 0,
'source_name' => 'Aqbudgetborrower',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqbudgetborrower'}{'_unique_constraints'}{'primary'},
'name' => 'aqbudgetborrowers',
'_ordered_columns' => [
'budget_id',
'borrowernumber'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter'
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
},
'budget' => {
'class' => 'Koha::Schema::Result::Aqbudget',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'fk_columns' => {
'budget_id' => 1
},
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.budget_id' => 'self.budget_id'
},
'source' => 'Koha::Schema::Result::Aqbudget'
}
},
'result_class' => 'Koha::Schema::Result::Aqbudgetborrower'
}, 'DBIx::Class::ResultSource::Table' ),
'Aqinvoice' => bless( {
'source_name' => 'Aqinvoice',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_unique_constraints' => {
'primary' => [
'invoiceid'
]
},
'_columns' => {
'message_id' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'billingdate' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'closedate' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'shipmentdate' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'invoiceid' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'shipmentcost' => {
'size' => [
28,
6
],
'data_type' => 'decimal',
'is_nullable' => 1
},
'invoicenumber' => {
'is_nullable' => 0,
'data_type' => 'longtext'
},
'shipmentcost_budgetid' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer',
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'booksellerid' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqinvoice'}{'_unique_constraints'}{'primary'},
'_relationships' => {
'booksellerid' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.id' => 'self.booksellerid'
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'class' => 'Koha::Schema::Result::Aqbookseller'
},
'aqorders' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Aqorder',
'cond' => {
'foreign.invoiceid' => 'self.invoiceid'
},
'class' => 'Koha::Schema::Result::Aqorder'
},
'message' => {
'attrs' => {
'fk_columns' => {
'message_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'RESTRICT'
},
'cond' => {
'foreign.id' => 'self.message_id'
},
'source' => 'Koha::Schema::Result::EdifactMessage',
'class' => 'Koha::Schema::Result::EdifactMessage'
},
'shipmentcost_budgetid' => {
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.budget_id' => 'self.shipmentcost_budgetid'
},
'source' => 'Koha::Schema::Result::Aqbudget',
'class' => 'Koha::Schema::Result::Aqbudget'
},
'additional_field_values' => {
'class' => 'Koha::Schema::Result::AdditionalFieldValue',
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => sub { "DUMMY" },
'source' => 'Koha::Schema::Result::AdditionalFieldValue'
},
'aqinvoice_adjustments' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::AqinvoiceAdjustment',
'cond' => {
'foreign.invoiceid' => 'self.invoiceid'
},
'class' => 'Koha::Schema::Result::AqinvoiceAdjustment'
}
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Aqinvoice',
'name' => 'aqinvoices',
'_ordered_columns' => [
'invoiceid',
'invoicenumber',
'booksellerid',
'shipmentdate',
'billingdate',
'closedate',
'shipmentcost',
'shipmentcost_budgetid',
'message_id'
]
}, 'DBIx::Class::ResultSource::Table' ),
'BranchTransferLimit' => bless( {
'_unique_constraints' => {
'primary' => [
'limitId'
]
},
'_columns' => {
'itemtype' => {
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'ccode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'fromBranch' => {
'accessor' => 'from_branch',
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 10
},
'toBranch' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'accessor' => 'to_branch',
'size' => 10
},
'limitId' => {
'is_nullable' => 0,
'data_type' => 'integer',
'accessor' => 'limit_id',
'is_auto_increment' => 1
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::BranchTransferLimit',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {},
'name' => 'branch_transfer_limits',
'_ordered_columns' => [
'limitId',
'toBranch',
'fromBranch',
'itemtype',
'ccode'
],
'source_name' => 'BranchTransferLimit',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BranchTransferLimit'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'AdditionalField' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'AdditionalField',
'name' => 'additional_fields',
'_ordered_columns' => [
'id',
'tablename',
'name',
'authorised_value_category',
'marcfield',
'marcfield_mode',
'searchable',
'repeatable'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'additional_field_values' => {
'class' => 'Koha::Schema::Result::AdditionalFieldValue',
'source' => 'Koha::Schema::Result::AdditionalFieldValue',
'cond' => {
'foreign.field_id' => 'self.id'
},
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
}
},
'result_class' => 'Koha::Schema::Result::AdditionalField',
'resultset_attributes' => {},
'_primaries' => [
'id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AdditionalField'}{'_primaries'},
'fields_uniq' => [
'tablename',
'name'
]
},
'_columns' => {
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'authorised_value_category' => {
'size' => 32,
'data_type' => 'varchar',
'is_nullable' => 1
},
'marcfield' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'default_value' => '',
'size' => 16
},
'name' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'default_value' => '',
'size' => 255
},
'marcfield_mode' => {
'default_value' => 'get',
'extra' => {
'list' => [
'get',
'set'
]
},
'data_type' => 'enum',
'is_nullable' => 0
},
'tablename' => {
'size' => 255,
'default_value' => '',
'is_nullable' => 0,
'data_type' => 'varchar'
},
'searchable' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'repeatable' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0,
'is_boolean' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmUsageItem' => bless( {
'_unique_constraints' => {
'primary' => [
'item_id'
]
},
'_columns' => {
'item_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'item' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 500
},
'platform' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'publisher' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'usage_data_provider_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
},
'_columns_info_loaded' => 0,
'source_name' => 'ErmUsageItem',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsageItem'}{'_unique_constraints'}{'primary'},
'name' => 'erm_usage_items',
'_ordered_columns' => [
'item_id',
'item',
'platform',
'publisher',
'usage_data_provider_id'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ErmUsageItem',
'_relationships' => {
'usage_data_provider' => {
'class' => 'Koha::Schema::Result::ErmUsageDataProvider',
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'fk_columns' => {
'usage_data_provider_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
},
'source' => 'Koha::Schema::Result::ErmUsageDataProvider'
},
'erm_usage_yuses' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.item_id' => 'self.item_id'
},
'source' => 'Koha::Schema::Result::ErmUsageYus',
'class' => 'Koha::Schema::Result::ErmUsageYus'
},
'erm_usage_muses' => {
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.item_id' => 'self.item_id'
},
'source' => 'Koha::Schema::Result::ErmUsageMus',
'class' => 'Koha::Schema::Result::ErmUsageMus'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Tag' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'Tag',
'_primaries' => [
'entry'
],
'_ordered_columns' => [
'entry',
'weight'
],
'name' => 'tags',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Tag',
'_relationships' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Tag'}{'_primaries'}
},
'_columns' => {
'weight' => {
'is_nullable' => 0,
'data_type' => 'bigint',
'default_value' => 0
},
'entry' => {
'default_value' => '',
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'AuthTagStructure' => bless( {
'source_name' => 'AuthTagStructure',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'libopac' => {
'default_value' => '',
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
},
'liblibrarian' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255,
'default_value' => ''
},
'authtypecode' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'default_value' => '',
'size' => 10,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'mandatory' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'repeatable' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'authorised_value' => {
'size' => 32,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'tagfield' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'default_value' => '',
'size' => 3
}
},
'_unique_constraints' => {
'primary' => [
'authtypecode',
'tagfield'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AuthTagStructure'}{'_unique_constraints'}{'primary'},
'_relationships' => {
'authtypecode' => {
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::AuthType',
'cond' => {
'foreign.authtypecode' => 'self.authtypecode'
},
'class' => 'Koha::Schema::Result::AuthType'
}
},
'result_class' => 'Koha::Schema::Result::AuthTagStructure',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_ordered_columns' => [
'authtypecode',
'tagfield',
'liblibrarian',
'libopac',
'repeatable',
'mandatory',
'authorised_value'
],
'name' => 'auth_tag_structure'
}, 'DBIx::Class::ResultSource::Table' ),
'IdentityProviderDomain' => bless( {
'_unique_constraints' => {
'primary' => [
'identity_provider_domain_id'
],
'identity_provider_id' => [
'identity_provider_id',
'domain'
]
},
'_columns' => {
'allow_staff' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'update_on_auth' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'identity_provider_domain_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'allow_opac' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 1,
'is_boolean' => 1
},
'default_category_id' => {
'is_foreign_key' => 1,
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
},
'default_library_id' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'is_foreign_key' => 1,
'size' => 10
},
'identity_provider_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'domain' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 100
},
'auto_register' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::IdentityProviderDomain',
'_relationships' => {
'default_category' => {
'class' => 'Koha::Schema::Result::Category',
'cond' => {
'foreign.categorycode' => 'self.default_category_id'
},
'source' => 'Koha::Schema::Result::Category',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'RESTRICT',
'fk_columns' => {
'default_category_id' => 1
},
'is_foreign_key_constraint' => 1,
'accessor' => 'single',
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1
}
},
'default_library' => {
'cond' => {
'foreign.branchcode' => 'self.default_library_id'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'fk_columns' => {
'default_library_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'RESTRICT',
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Branch'
},
'identity_provider' => {
'class' => 'Koha::Schema::Result::IdentityProvider',
'attrs' => {
'fk_columns' => {
'identity_provider_id' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'RESTRICT'
},
'cond' => {
'foreign.identity_provider_id' => 'self.identity_provider_id'
},
'source' => 'Koha::Schema::Result::IdentityProvider'
}
},
'resultset_attributes' => {},
'name' => 'identity_provider_domains',
'_ordered_columns' => [
'identity_provider_domain_id',
'identity_provider_id',
'domain',
'auto_register',
'update_on_auth',
'default_library_id',
'default_category_id',
'allow_opac',
'allow_staff'
],
'source_name' => 'IdentityProviderDomain',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'IdentityProviderDomain'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'MarcSubfieldStructure' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'authorised_value' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::AuthorisedValueCategory',
'cond' => {
'foreign.category_name' => 'self.authorised_value'
},
'class' => 'Koha::Schema::Result::AuthorisedValueCategory'
}
},
'result_class' => 'Koha::Schema::Result::MarcSubfieldStructure',
'_ordered_columns' => [
'tagfield',
'tagsubfield',
'liblibrarian',
'libopac',
'repeatable',
'mandatory',
'important',
'kohafield',
'tab',
'authorised_value',
'authtypecode',
'value_builder',
'isurl',
'hidden',
'frameworkcode',
'seealso',
'link',
'defaultvalue',
'maxlength',
'display_order'
],
'name' => 'marc_subfield_structure',
'source_name' => 'MarcSubfieldStructure',
'_primaries' => [
'frameworkcode',
'tagfield',
'tagsubfield'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcSubfieldStructure'}{'_primaries'}
},
'_columns' => {
'hidden' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 8
},
'isurl' => {
'data_type' => 'tinyint',
'is_nullable' => 1
},
'libopac' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255,
'default_value' => ''
},
'link' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'tagfield' => {
'default_value' => '',
'size' => 3,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'important' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'defaultvalue' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'kohafield' => {
'size' => 40,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'tagsubfield' => {
'size' => 1,
'default_value' => '',
'is_nullable' => 0,
'data_type' => 'varchar'
},
'mandatory' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'repeatable' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'value_builder' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'maxlength' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 9999
},
'frameworkcode' => {
'size' => 4,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 0
},
'liblibrarian' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255,
'default_value' => ''
},
'display_order' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'authtypecode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 20
},
'authorised_value' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'size' => 32,
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'tab' => {
'data_type' => 'tinyint',
'is_nullable' => 1
},
'seealso' => {
'size' => 1100,
'is_nullable' => 1,
'data_type' => 'varchar'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Stockrotationstage' => bless( {
'name' => 'stockrotationstages',
'_ordered_columns' => [
'stage_id',
'position',
'rota_id',
'branchcode_id',
'duration'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'stockrotationitems' => {
'class' => 'Koha::Schema::Result::Stockrotationitem',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'cond' => {
'foreign.stage_id' => 'self.stage_id'
},
'source' => 'Koha::Schema::Result::Stockrotationitem'
},
'rota' => {
'cond' => {
'foreign.rota_id' => 'self.rota_id'
},
'source' => 'Koha::Schema::Result::Stockrotationrota',
'attrs' => {
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'fk_columns' => {
'rota_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Stockrotationrota'
},
'branchcode' => {
'cond' => {
'foreign.branchcode' => 'self.branchcode_id'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'fk_columns' => {
'branchcode_id' => 1
},
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::Branch'
}
},
'result_class' => 'Koha::Schema::Result::Stockrotationstage',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => [
'stage_id'
],
'source_name' => 'Stockrotationstage',
'_columns' => {
'branchcode_id' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 10,
'is_foreign_key' => 1
},
'rota_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'duration' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 4
},
'position' => {
'data_type' => 'integer',
'is_nullable' => 0
},
'stage_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Stockrotationstage'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'BorrowerAttribute' => bless( {
'_columns' => {
'borrowernumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'attribute' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'code' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'varchar',
'is_foreign_key' => 1,
'size' => 64
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
}
},
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerAttribute'}{'_unique_constraints'}{'primary'},
'_relationships' => {
'code' => {
'class' => 'Koha::Schema::Result::BorrowerAttributeType',
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.code' => 'self.code'
},
'source' => 'Koha::Schema::Result::BorrowerAttributeType'
},
'borrowernumber' => {
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'class' => 'Koha::Schema::Result::Borrower'
},
'borrower_attribute_types' => {
'cond' => {
'foreign.code' => 'self.code'
},
'source' => 'Koha::Schema::Result::BorrowerAttributeType',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'code' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::BorrowerAttributeType'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::BorrowerAttribute',
'resultset_class' => 'DBIx::Class::ResultSet',
'_ordered_columns' => [
'id',
'borrowernumber',
'code',
'attribute'
],
'name' => 'borrower_attributes',
'source_name' => 'BorrowerAttribute',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'Aqbasketgroup' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'Aqbasketgroup',
'_primaries' => [
'id'
],
'name' => 'aqbasketgroups',
'_ordered_columns' => [
'id',
'name',
'closed',
'booksellerid',
'deliveryplace',
'freedeliveryplace',
'deliverycomment',
'billingplace'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'booksellerid' => {
'class' => 'Koha::Schema::Result::Aqbookseller',
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'cond' => {
'foreign.id' => 'self.booksellerid'
}
},
'aqbaskets' => {
'cond' => {
'foreign.basketgroupid' => 'self.id'
},
'source' => 'Koha::Schema::Result::Aqbasket',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::Aqbasket'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Aqbasketgroup',
'resultset_class' => 'DBIx::Class::ResultSet',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqbasketgroup'}{'_primaries'}
},
'_columns' => {
'name' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 50
},
'billingplace' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'booksellerid' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'freedeliveryplace' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'closed' => {
'is_boolean' => 1,
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'deliveryplace' => {
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
},
'deliverycomment' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'AudioAlert' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::AudioAlert',
'resultset_attributes' => {},
'_relationships' => {},
'_ordered_columns' => [
'id',
'precedence',
'selector',
'sound'
],
'name' => 'audio_alerts',
'source_name' => 'AudioAlert',
'_primaries' => [
'id'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AudioAlert'}{'_primaries'}
},
'_columns' => {
'selector' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
},
'sound' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'precedence' => {
'is_nullable' => 0,
'data_type' => 'smallint',
'extra' => {
'unsigned' => 1
}
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'MessageAttribute' => bless( {
'_primaries' => [
'message_attribute_id'
],
'name' => 'message_attributes',
'_ordered_columns' => [
'message_attribute_id',
'message_name',
'takes_days'
],
'result_class' => 'Koha::Schema::Result::MessageAttribute',
'_relationships' => {
'borrower_message_preferences' => {
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::BorrowerMessagePreference',
'cond' => {
'foreign.message_attribute_id' => 'self.message_attribute_id'
},
'class' => 'Koha::Schema::Result::BorrowerMessagePreference'
},
'message_transports' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.message_attribute_id' => 'self.message_attribute_id'
},
'source' => 'Koha::Schema::Result::MessageTransport',
'class' => 'Koha::Schema::Result::MessageTransport'
}
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_columns' => {
'takes_days' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'message_attribute_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'message_name' => {
'size' => 40,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MessageAttribute'}{'_primaries'},
'message_name' => [
'message_name'
]
},
'_columns_info_loaded' => 0,
'source_name' => 'MessageAttribute',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'Collection' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'colId'
],
'source_name' => 'Collection',
'_ordered_columns' => [
'colId',
'colTitle',
'colDesc',
'colBranchcode'
],
'name' => 'collections',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Collection',
'_relationships' => {
'collections_trackings' => {
'class' => 'Koha::Schema::Result::CollectionsTracking',
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::CollectionsTracking',
'cond' => {
'foreign.colId' => 'self.colId'
}
},
'col_branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'colBranchcode' => 1
},
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.colBranchcode'
}
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'colDesc' => {
'accessor' => 'col_desc',
'is_nullable' => 0,
'data_type' => 'mediumtext'
},
'colTitle' => {
'accessor' => 'col_title',
'data_type' => 'varchar',
'is_nullable' => 0,
'default_value' => '',
'size' => 100
},
'colBranchcode' => {
'accessor' => 'col_branchcode',
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10,
'is_foreign_key' => 1
},
'colId' => {
'is_nullable' => 0,
'data_type' => 'integer',
'accessor' => 'col_id',
'is_auto_increment' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Collection'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'City' => bless( {
'source_name' => 'City',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'city_name' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'default_value' => '',
'size' => 100
},
'city_zipcode' => {
'size' => 20,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'city_state' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 100
},
'city_country' => {
'size' => 100,
'data_type' => 'varchar',
'is_nullable' => 1
},
'cityid' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => [
'cityid'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'City'}{'_unique_constraints'}{'primary'},
'_relationships' => {},
'result_class' => 'Koha::Schema::Result::City',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'name' => 'cities',
'_ordered_columns' => [
'cityid',
'city_name',
'city_state',
'city_country',
'city_zipcode'
]
}, 'DBIx::Class::ResultSource::Table' ),
'Illcomment' => bless( {
'_primaries' => [
'illcomment_id'
],
'source_name' => 'Illcomment',
'_columns_info_loaded' => 0,
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Illcomment',
'_relationships' => {
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
}
},
'illrequest' => {
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'illrequest_id' => 1
}
},
'cond' => {
'foreign.illrequest_id' => 'self.illrequest_id'
},
'source' => 'Koha::Schema::Result::Illrequest',
'class' => 'Koha::Schema::Result::Illrequest'
}
},
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'illcomment_id',
'illrequest_id',
'borrowernumber',
'comment',
'timestamp'
],
'name' => 'illcomments',
'_columns' => {
'comment' => {
'is_nullable' => 1,
'data_type' => 'text'
},
'illcomment_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'timestamp' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
},
'illrequest_id' => {
'is_foreign_key' => 1,
'extra' => {
'unsigned' => 1
},
'data_type' => 'bigint',
'is_nullable' => 0
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Illcomment'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmAgreementRelationship' => bless( {
'_columns' => {
'related_agreement_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'agreement_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'notes' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'relationship' => {
'extra' => {
'list' => [
'supersedes',
'is-superseded-by',
'provides_post-cancellation_access_for',
'has-post-cancellation-access-in',
'tracks_demand-driven_acquisitions_for',
'has-demand-driven-acquisitions-in',
'has_backfile_in',
'has_frontfile_in',
'related_to'
]
},
'is_nullable' => 0,
'data_type' => 'enum'
}
},
'_unique_constraints' => {
'primary' => [
'agreement_id',
'related_agreement_id'
]
},
'name' => 'erm_agreement_relationships',
'_ordered_columns' => [
'agreement_id',
'related_agreement_id',
'relationship',
'notes'
],
'result_class' => 'Koha::Schema::Result::ErmAgreementRelationship',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'agreement' => {
'class' => 'Koha::Schema::Result::ErmAgreement',
'source' => 'Koha::Schema::Result::ErmAgreement',
'cond' => {
'foreign.agreement_id' => 'self.agreement_id'
},
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'fk_columns' => {
'agreement_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
},
'related_agreement' => {
'class' => 'Koha::Schema::Result::ErmAgreement',
'attrs' => {
'fk_columns' => {
'related_agreement_id' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.agreement_id' => 'self.related_agreement_id'
},
'source' => 'Koha::Schema::Result::ErmAgreement'
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmAgreementRelationship'}{'_unique_constraints'}{'primary'},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'ErmAgreementRelationship'
}, 'DBIx::Class::ResultSource::Table' ),
'ColumnsSetting' => bless( {
'_unique_constraints' => {
'primary' => [
'module',
'page',
'tablename',
'columnname'
]
},
'_columns' => {
'columnname' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
},
'cannot_be_toggled' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'integer'
},
'is_hidden' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'module' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
},
'page' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
},
'tablename' => {
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
}
},
'name' => 'columns_settings',
'_ordered_columns' => [
'module',
'page',
'tablename',
'columnname',
'cannot_be_toggled',
'is_hidden'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ColumnsSetting',
'_relationships' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_columns_info_loaded' => 0,
'source_name' => 'ColumnsSetting',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ColumnsSetting'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmDocument' => bless( {
'source_name' => 'ErmDocument',
'_primaries' => [
'document_id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'license' => {
'class' => 'Koha::Schema::Result::ErmLicense',
'cond' => {
'foreign.license_id' => 'self.license_id'
},
'source' => 'Koha::Schema::Result::ErmLicense',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'license_id' => 1
},
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
}
},
'agreement' => {
'class' => 'Koha::Schema::Result::ErmAgreement',
'source' => 'Koha::Schema::Result::ErmAgreement',
'cond' => {
'foreign.agreement_id' => 'self.agreement_id'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'agreement_id' => 1
},
'join_type' => 'LEFT',
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1
}
}
},
'result_class' => 'Koha::Schema::Result::ErmDocument',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'erm_documents',
'_ordered_columns' => [
'document_id',
'agreement_id',
'license_id',
'file_name',
'file_type',
'file_description',
'file_content',
'uploaded_on',
'physical_location',
'uri',
'notes'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmDocument'}{'_primaries'}
},
'_columns' => {
'physical_location' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'file_type' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'file_name' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'uploaded_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'uri' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'agreement_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'file_content' => {
'data_type' => 'longblob',
'is_nullable' => 1
},
'license_id' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'file_description' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'notes' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'document_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'BorrowerRelationship' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'BorrowerRelationship',
'_primaries' => [
'id'
],
'name' => 'borrower_relationships',
'_ordered_columns' => [
'id',
'guarantor_id',
'guarantee_id',
'relationship'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'guarantee' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'guarantee_id' => 1
}
},
'cond' => {
'foreign.borrowernumber' => 'self.guarantee_id'
},
'source' => 'Koha::Schema::Result::Borrower'
},
'guarantor' => {
'class' => 'Koha::Schema::Result::Borrower',
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.guarantor_id'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'guarantor_id' => 1
},
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single'
}
}
},
'result_class' => 'Koha::Schema::Result::BorrowerRelationship',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_unique_constraints' => {
'guarantor_guarantee_idx' => [
'guarantor_id',
'guarantee_id'
],
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerRelationship'}{'_primaries'}
},
'_columns' => {
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'guarantee_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'guarantor_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'relationship' => {
'size' => 100,
'is_nullable' => 0,
'data_type' => 'varchar'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Userflag' => bless( {
'_unique_constraints' => {
'primary' => [
'bit'
]
},
'_columns' => {
'defaulton' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'flag' => {
'size' => 30,
'data_type' => 'varchar',
'is_nullable' => 1
},
'bit' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'flagdesc' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::Userflag',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'permissions' => {
'cond' => {
'foreign.module_bit' => 'self.bit'
},
'source' => 'Koha::Schema::Result::Permission',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::Permission'
}
},
'name' => 'userflags',
'_ordered_columns' => [
'bit',
'flag',
'flagdesc',
'defaulton'
],
'source_name' => 'Userflag',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Userflag'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'CategoriesBranch' => bless( {
'source_name' => 'CategoriesBranch',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'categorycode' => {
'class' => 'Koha::Schema::Result::Category',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'RESTRICT',
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Category',
'cond' => {
'foreign.categorycode' => 'self.categorycode'
}
},
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'RESTRICT',
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter'
}
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::CategoriesBranch',
'name' => 'categories_branches',
'_ordered_columns' => [
'categorycode',
'branchcode'
],
'_columns' => {
'branchcode' => {
'is_foreign_key' => 1,
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar',
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'categorycode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'is_foreign_key' => 1,
'size' => 10,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ItemtypesBranch' => bless( {
'_columns' => {
'branchcode' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 10,
'is_foreign_key' => 1
},
'itemtype' => {
'is_foreign_key' => 1,
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 0,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
}
},
'_columns_info_loaded' => 0,
'source_name' => 'ItemtypesBranch',
'_ordered_columns' => [
'itemtype',
'branchcode'
],
'name' => 'itemtypes_branches',
'result_class' => 'Koha::Schema::Result::ItemtypesBranch',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'itemtype' => {
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.itemtype' => 'self.itemtype'
},
'source' => 'Koha::Schema::Result::Itemtype',
'class' => 'Koha::Schema::Result::Itemtype'
},
'branchcode' => {
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'RESTRICT'
},
'class' => 'Koha::Schema::Result::Branch'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'LanguageSubtagRegistry' => bless( {
'result_class' => 'Koha::Schema::Result::LanguageSubtagRegistry',
'_relationships' => {},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'subtag',
'type',
'description',
'added',
'id'
],
'name' => 'language_subtag_registry',
'_primaries' => [
'id'
],
'source_name' => 'LanguageSubtagRegistry',
'_columns_info_loaded' => 0,
'_columns' => {
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'subtag' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 25
},
'type' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 25
},
'description' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'added' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
}
},
'_unique_constraints' => {
'uniq_lang' => [
'subtag',
'type'
],
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LanguageSubtagRegistry'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ReturnClaim' => bless( {
'result_class' => 'Koha::Schema::Result::ReturnClaim',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'item' => {
'class' => 'Koha::Schema::Result::Item',
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'attrs' => {
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'itemnumber' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
},
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1
}
},
'old_checkout' => {
'attrs' => {
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'issue_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::OldIssue',
'cond' => {
'foreign.issue_id' => 'self.issue_id'
},
'class' => 'Koha::Schema::Result::OldIssue'
},
'created_by' => {
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.created_by'
},
'source' => 'Koha::Schema::Result::Borrower',
'class' => 'Koha::Schema::Result::Borrower'
},
'resolved_by' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'accessor' => 'filter',
'on_delete' => 'SET NULL',
'is_depends_on' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.resolved_by'
},
'source' => 'Koha::Schema::Result::Borrower'
},
'checkout' => {
'class' => 'Koha::Schema::Result::Issue',
'source' => 'Koha::Schema::Result::Issue',
'cond' => {
'foreign.issue_id' => 'self.issue_id'
},
'attrs' => {
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'issue_id' => 1
},
'is_foreign_key_constraint' => 1
}
},
'itemnumber' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter'
},
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'class' => 'Koha::Schema::Result::Item'
},
'updated_by' => {
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.updated_by'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'accessor' => 'filter',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'class' => 'Koha::Schema::Result::Borrower'
}
},
'resultset_attributes' => {},
'name' => 'return_claims',
'_ordered_columns' => [
'id',
'itemnumber',
'issue_id',
'borrowernumber',
'notes',
'created_on',
'created_by',
'updated_on',
'updated_by',
'resolution',
'resolved_on',
'resolved_by'
],
'_primaries' => [
'id'
],
'_columns' => {
'resolved_by' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'updated_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 1
},
'borrowernumber' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'created_on' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'timestamp'
},
'resolved_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 1
},
'updated_by' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'itemnumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'notes' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'issue_id' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'created_by' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'resolution' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
}
},
'_unique_constraints' => {
'item_issue' => [
'itemnumber',
'issue_id'
],
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ReturnClaim'}{'_primaries'}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'ReturnClaim',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'Item' => $VAR1->{'_resultset'}{'result_source'},
'ErmUsageDatabase' => bless( {
'_unique_constraints' => {
'primary' => [
'database_id'
]
},
'_columns' => {
'usage_data_provider_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'publisher' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'database_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'database' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'publisher_id' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'platform' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
}
},
'_columns_info_loaded' => 0,
'source_name' => 'ErmUsageDatabase',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsageDatabase'}{'_unique_constraints'}{'primary'},
'name' => 'erm_usage_databases',
'_ordered_columns' => [
'database_id',
'database',
'platform',
'publisher',
'publisher_id',
'usage_data_provider_id'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'_relationships' => {
'erm_usage_muses' => {
'class' => 'Koha::Schema::Result::ErmUsageMus',
'source' => 'Koha::Schema::Result::ErmUsageMus',
'cond' => {
'foreign.database_id' => 'self.database_id'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
},
'erm_usage_yuses' => {
'class' => 'Koha::Schema::Result::ErmUsageYus',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.database_id' => 'self.database_id'
},
'source' => 'Koha::Schema::Result::ErmUsageYus'
},
'usage_data_provider' => {
'class' => 'Koha::Schema::Result::ErmUsageDataProvider',
'source' => 'Koha::Schema::Result::ErmUsageDataProvider',
'cond' => {
'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
},
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'usage_data_provider_id' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1
}
}
},
'result_class' => 'Koha::Schema::Result::ErmUsageDatabase',
'resultset_class' => 'DBIx::Class::ResultSet'
}, 'DBIx::Class::ResultSource::Table' ),
'BiblioMetadata' => bless( {
'_columns' => {
'schema' => {
'size' => 16,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'record_source_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'biblionumber' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer',
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'metadata' => {
'is_nullable' => 0,
'data_type' => 'longtext'
},
'format' => {
'size' => 16,
'data_type' => 'varchar',
'is_nullable' => 0
},
'timestamp' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => [
'id'
],
'biblio_metadata_uniq_key' => [
'biblionumber',
'format',
'schema'
]
},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BiblioMetadata'}{'_unique_constraints'}{'primary'},
'source_name' => 'BiblioMetadata',
'name' => 'biblio_metadata',
'_ordered_columns' => [
'id',
'biblionumber',
'format',
'schema',
'metadata',
'timestamp',
'record_source_id'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'record_source' => {
'class' => 'Koha::Schema::Result::RecordSource',
'cond' => {
'foreign.record_source_id' => 'self.record_source_id'
},
'source' => 'Koha::Schema::Result::RecordSource',
'attrs' => {
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'RESTRICT',
'accessor' => 'single',
'fk_columns' => {
'record_source_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
},
'biblionumber' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'undef_on_null_fk' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio',
'class' => 'Koha::Schema::Result::Biblio'
}
},
'result_class' => 'Koha::Schema::Result::BiblioMetadata',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'ImportRecordMatch' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::ImportRecordMatch',
'_relationships' => {
'import_record' => {
'class' => 'Koha::Schema::Result::ImportRecord',
'attrs' => {
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'import_record_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::ImportRecord',
'cond' => {
'foreign.import_record_id' => 'self.import_record_id'
}
}
},
'_ordered_columns' => [
'import_record_id',
'candidate_match_id',
'score',
'chosen'
],
'name' => 'import_record_matches',
'source_name' => 'ImportRecordMatch',
'_primaries' => [
'import_record_id',
'candidate_match_id'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportRecordMatch'}{'_primaries'}
},
'_columns' => {
'chosen' => {
'is_nullable' => 1,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'candidate_match_id' => {
'data_type' => 'integer',
'is_nullable' => 0
},
'score' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'import_record_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ClubField' => bless( {
'_columns' => {
'club_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'club_template_field_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'value' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
}
},
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_relationships' => {
'club' => {
'source' => 'Koha::Schema::Result::Club',
'cond' => {
'foreign.id' => 'self.club_id'
},
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'club_id' => 1
}
},
'class' => 'Koha::Schema::Result::Club'
},
'club_template_field' => {
'cond' => {
'foreign.id' => 'self.club_template_field_id'
},
'source' => 'Koha::Schema::Result::ClubTemplateField',
'attrs' => {
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'fk_columns' => {
'club_template_field_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::ClubTemplateField'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ClubField',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'id',
'club_template_field_id',
'club_id',
'value'
],
'name' => 'club_fields',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubField'}{'_unique_constraints'}{'primary'},
'source_name' => 'ClubField',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'Serialitem' => bless( {
'_unique_constraints' => {
'primary' => [
'itemnumber'
]
},
'_columns' => {
'itemnumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'serialid' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
},
'source_name' => 'Serialitem',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Serialitem'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'serialid' => {
'class' => 'Koha::Schema::Result::Serial',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1
},
'cond' => {
'foreign.serialid' => 'self.serialid'
},
'source' => 'Koha::Schema::Result::Serial'
},
'itemnumber' => {
'class' => 'Koha::Schema::Result::Item',
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
}
},
'result_class' => 'Koha::Schema::Result::Serialitem',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'name' => 'serialitems',
'_ordered_columns' => [
'itemnumber',
'serialid'
]
}, 'DBIx::Class::ResultSource::Table' ),
'HoldCancellationRequest' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'HoldCancellationRequest',
'name' => 'hold_cancellation_requests',
'_ordered_columns' => [
'hold_cancellation_request_id',
'hold_id',
'creation_date'
],
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::HoldCancellationRequest',
'_relationships' => {
'hold' => {
'class' => 'Koha::Schema::Result::Reserve',
'attrs' => {
'cascade_delete' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'accessor' => 'single',
'cascade_update' => 1,
'cascade_copy' => 0
},
'cond' => {
'foreign.reserve_id' => 'self.hold_id'
},
'source' => 'Koha::Schema::Result::Reserve'
}
},
'_primaries' => [
'hold_cancellation_request_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'HoldCancellationRequest'}{'_primaries'}
},
'_columns' => {
'creation_date' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
},
'hold_id' => {
'is_nullable' => 0,
'data_type' => 'integer'
},
'hold_cancellation_request_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'PreservationProcessing' => bless( {
'_primaries' => [
'processing_id'
],
'source_name' => 'PreservationProcessing',
'_columns_info_loaded' => 0,
'_relationships' => {
'preservation_processing_attributes' => {
'class' => 'Koha::Schema::Result::PreservationProcessingAttribute',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.processing_id' => 'self.processing_id'
},
'source' => 'Koha::Schema::Result::PreservationProcessingAttribute'
},
'preservation_trains_items' => {
'class' => 'Koha::Schema::Result::PreservationTrainsItem',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.processing_id' => 'self.processing_id'
},
'source' => 'Koha::Schema::Result::PreservationTrainsItem'
},
'preservation_trains' => {
'source' => 'Koha::Schema::Result::PreservationTrain',
'cond' => {
'foreign.default_processing_id' => 'self.processing_id'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::PreservationTrain'
}
},
'result_class' => 'Koha::Schema::Result::PreservationProcessing',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'processing_id',
'name',
'letter_code'
],
'name' => 'preservation_processings',
'_columns' => {
'name' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 80
},
'letter_code' => {
'size' => 20,
'data_type' => 'varchar',
'is_nullable' => 1
},
'processing_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PreservationProcessing'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'HouseboundRole' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'HouseboundRole',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_unique_constraints' => {
'primary' => [
'borrowernumber_id'
]
},
'_columns' => {
'borrowernumber_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'housebound_deliverer' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'housebound_chooser' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'HouseboundRole'}{'_unique_constraints'}{'primary'},
'name' => 'housebound_role',
'_ordered_columns' => [
'borrowernumber_id',
'housebound_chooser',
'housebound_deliverer'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'borrowernumber' => {
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'borrowernumber_id' => 1
}
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber_id'
},
'source' => 'Koha::Schema::Result::Borrower',
'class' => 'Koha::Schema::Result::Borrower'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::HouseboundRole'
}, 'DBIx::Class::ResultSource::Table' ),
'AqbooksellerInterface' => bless( {
'_primaries' => [
'interface_id'
],
'_relationships' => {
'vendor' => {
'class' => 'Koha::Schema::Result::Aqbookseller',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'vendor_id' => 1
},
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'cond' => {
'foreign.id' => 'self.vendor_id'
}
}
},
'result_class' => 'Koha::Schema::Result::AqbooksellerInterface',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'aqbookseller_interfaces',
'_ordered_columns' => [
'interface_id',
'vendor_id',
'type',
'name',
'uri',
'login',
'password',
'account_email',
'notes'
],
'_columns' => {
'vendor_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'password' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'type' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'account_email' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'interface_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'login' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'notes' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'name' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255
},
'uri' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqbooksellerInterface'}{'_primaries'}
},
'source_name' => 'AqbooksellerInterface',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'IdentityProvider' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'identity_provider_id'
],
'source_name' => 'IdentityProvider',
'_ordered_columns' => [
'identity_provider_id',
'code',
'description',
'protocol',
'config',
'mapping',
'matchpoint',
'icon_url'
],
'name' => 'identity_providers',
'result_class' => 'Koha::Schema::Result::IdentityProvider',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'domains' => {
'class' => 'Koha::Schema::Result::IdentityProviderDomain',
'source' => 'Koha::Schema::Result::IdentityProviderDomain',
'cond' => {
'foreign.identity_provider_id' => 'self.identity_provider_id'
},
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'identity_provider_domains' => {
'class' => 'Koha::Schema::Result::IdentityProviderDomain',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.identity_provider_id' => 'self.identity_provider_id'
},
'source' => 'Koha::Schema::Result::IdentityProviderDomain'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'config' => {
'data_type' => 'longtext',
'is_nullable' => 0
},
'description' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255
},
'identity_provider_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'protocol' => {
'is_nullable' => 0,
'data_type' => 'enum',
'extra' => {
'list' => [
'OAuth',
'OIDC',
'LDAP',
'CAS'
]
}
},
'mapping' => {
'is_nullable' => 0,
'data_type' => 'longtext'
},
'icon_url' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'matchpoint' => {
'extra' => {
'list' => [
'email',
'userid',
'cardnumber'
]
},
'data_type' => 'enum',
'is_nullable' => 0
},
'code' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 20
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'IdentityProvider'}{'_primaries'},
'code' => [
'code'
]
}
}, 'DBIx::Class::ResultSource::Table' ),
'SearchField' => bless( {
'_columns' => {
'name' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
},
'weight' => {
'size' => [
5,
2
],
'is_nullable' => 1,
'data_type' => 'decimal'
},
'mandatory' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 1
},
'label' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
},
'authorised_value_category' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 32
},
'type' => {
'is_nullable' => 0,
'data_type' => 'enum',
'extra' => {
'list' => [
'',
'string',
'date',
'number',
'boolean',
'sum',
'isbn',
'stdno',
'year',
'callnumber',
'geo_point'
]
}
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'staff_client' => {
'default_value' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'opac' => {
'default_value' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'facet_order' => {
'is_nullable' => 1,
'data_type' => 'tinyint'
}
},
'_unique_constraints' => {
'name' => [
'name'
],
'primary' => [
'id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SearchField'}{'_unique_constraints'}{'primary'},
'source_name' => 'SearchField',
'_columns_info_loaded' => 0,
'resultset_attributes' => {},
'_relationships' => {
'search_marc_to_fields' => {
'cond' => {
'foreign.search_field_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::SearchMarcToField',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::SearchMarcToField'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::SearchField',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'search_field',
'_ordered_columns' => [
'id',
'name',
'label',
'type',
'weight',
'facet_order',
'staff_client',
'opac',
'mandatory',
'authorised_value_category'
]
}, 'DBIx::Class::ResultSource::Table' ),
'Virtualshelfcontent' => bless( {
'name' => 'virtualshelfcontents',
'_ordered_columns' => [
'shelfnumber',
'biblionumber',
'dateadded',
'borrowernumber'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Virtualshelfcontent',
'_relationships' => {
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'on_update' => 'SET NULL',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
}
},
'biblionumber' => {
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'is_foreign_key_constraint' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::Biblio'
},
'shelfnumber' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'is_foreign_key_constraint' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1
},
'cond' => {
'foreign.shelfnumber' => 'self.shelfnumber'
},
'source' => 'Koha::Schema::Result::Virtualshelve',
'class' => 'Koha::Schema::Result::Virtualshelve'
}
},
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => [
'shelfnumber',
'biblionumber'
],
'source_name' => 'Virtualshelfcontent',
'_columns' => {
'borrowernumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'dateadded' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'shelfnumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'integer'
},
'biblionumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Virtualshelfcontent'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Review' => bless( {
'source_name' => 'Review',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_primaries' => [
'reviewid'
],
'resultset_attributes' => {},
'_relationships' => {
'biblionumber' => {
'class' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio'
},
'borrowernumber' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Review',
'_ordered_columns' => [
'reviewid',
'borrowernumber',
'biblionumber',
'review',
'approved',
'datereviewed'
],
'name' => 'reviews',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Review'}{'_primaries'}
},
'_columns' => {
'reviewid' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'approved' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 1
},
'review' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'biblionumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'datereviewed' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'borrowernumber' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Localization' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'localization_id'
],
'source_name' => 'Localization',
'name' => 'localization',
'_ordered_columns' => [
'localization_id',
'entity',
'code',
'lang',
'translation'
],
'_relationships' => {},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Localization',
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'translation' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'localization_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'lang' => {
'size' => 25,
'data_type' => 'varchar',
'is_nullable' => 0
},
'entity' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 16
},
'code' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 64
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Localization'}{'_primaries'},
'entity_code_lang' => [
'entity',
'code',
'lang'
]
}
}, 'DBIx::Class::ResultSource::Table' ),
'LanguageRfc4646ToIso639' => bless( {
'name' => 'language_rfc4646_to_iso639',
'_ordered_columns' => [
'rfc4646_subtag',
'iso639_2_code',
'id'
],
'result_class' => 'Koha::Schema::Result::LanguageRfc4646ToIso639',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => [
'id'
],
'source_name' => 'LanguageRfc4646ToIso639',
'_columns' => {
'iso639_2_code' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 25
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'rfc4646_subtag' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 25
}
},
'_unique_constraints' => {
'uniq_code' => [
'rfc4646_subtag',
'iso639_2_code'
],
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LanguageRfc4646ToIso639'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Reserve' => bless( {
'_columns' => {
'patron_expiration_date' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'item_level_hold' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'found' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 1
},
'expirationdate' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'itemtype' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'size' => 10,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'reservedate' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'itemnumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'reminderdate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'cancellation_reason' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'biblionumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'integer'
},
'desk_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'priority' => {
'default_value' => 1,
'is_nullable' => 0,
'data_type' => 'smallint'
},
'reservenotes' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'reserve_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'non_priority' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'cancellationdate' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'branchcode' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'is_foreign_key' => 1,
'size' => 10,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'deleted_biblionumber' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 0,
'is_foreign_key' => 1
},
'timestamp' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'waitingdate' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'item_group_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'suspend_until' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'lowestPriority' => {
'is_boolean' => 1,
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'accessor' => 'lowest_priority'
},
'notificationdate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'suspend' => {
'is_boolean' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
}
},
'_unique_constraints' => {
'primary' => [
'reserve_id'
]
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Reserve',
'_relationships' => {
'cancellation_requests' => {
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::HoldCancellationRequest',
'cond' => {
'foreign.hold_id' => 'self.reserve_id'
},
'class' => 'Koha::Schema::Result::HoldCancellationRequest'
},
'itembib' => {
'class' => 'Koha::Schema::Result::Item',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'accessor' => 'single',
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'fk_columns' => {
'biblionumber' => 1
},
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
}
},
'patron' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'borrowernumber' => 1
},
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower'
},
'itemnumber' => {
'class' => 'Koha::Schema::Result::Item',
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Item'
},
'itemtype' => {
'class' => 'Koha::Schema::Result::Itemtype',
'cond' => {
'foreign.itemtype' => 'self.itemtype'
},
'source' => 'Koha::Schema::Result::Itemtype',
'attrs' => {
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
},
'biblio' => {
'class' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'biblionumber' => 1
}
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio'
},
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
},
'club_holds_to_patron_holds' => {
'cond' => {
'foreign.hold_id' => 'self.reserve_id'
},
'source' => 'Koha::Schema::Result::ClubHoldsToPatronHold',
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ClubHoldsToPatronHold'
},
'item' => {
'class' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Item',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'itemnumber' => 1
},
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
}
},
'item_group' => {
'source' => 'Koha::Schema::Result::ItemGroup',
'cond' => {
'foreign.item_group_id' => 'self.item_group_id'
},
'attrs' => {
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'single',
'fk_columns' => {
'item_group_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::ItemGroup'
},
'biblionumber' => {
'class' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
}
},
'pickup_library' => {
'class' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'branchcode' => 1
},
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
}
},
'desk' => {
'class' => 'Koha::Schema::Result::Desk',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'desk_id' => 1
},
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.desk_id' => 'self.desk_id'
},
'source' => 'Koha::Schema::Result::Desk'
},
'borrowernumber' => {
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'reserves',
'_ordered_columns' => [
'reserve_id',
'borrowernumber',
'reservedate',
'biblionumber',
'deleted_biblionumber',
'item_group_id',
'branchcode',
'desk_id',
'notificationdate',
'reminderdate',
'cancellationdate',
'cancellation_reason',
'reservenotes',
'priority',
'found',
'timestamp',
'itemnumber',
'waitingdate',
'expirationdate',
'patron_expiration_date',
'lowestPriority',
'suspend',
'suspend_until',
'itemtype',
'item_level_hold',
'non_priority'
],
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Reserve'}{'_unique_constraints'}{'primary'},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'Reserve',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'ErmUsageMus' => bless( {
'_unique_constraints' => {
'primary' => [
'monthly_usage_summary_id'
]
},
'_columns' => {
'metric_type' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
},
'platform_id' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'year' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'title_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'usage_count' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'item_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'report_type' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 50
},
'usage_data_provider_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'yop' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'database_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'month' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'monthly_usage_summary_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'access_type' => {
'size' => 50,
'data_type' => 'varchar',
'is_nullable' => 1
}
},
'source_name' => 'ErmUsageMus',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsageMus'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ErmUsageMus',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'platform' => {
'class' => 'Koha::Schema::Result::ErmUsagePlatform',
'cond' => {
'foreign.platform_id' => 'self.platform_id'
},
'source' => 'Koha::Schema::Result::ErmUsagePlatform',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'platform_id' => 1
},
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
}
},
'item' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'item_id' => 1
},
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1
},
'cond' => {
'foreign.item_id' => 'self.item_id'
},
'source' => 'Koha::Schema::Result::ErmUsageItem',
'class' => 'Koha::Schema::Result::ErmUsageItem'
},
'database' => {
'source' => 'Koha::Schema::Result::ErmUsageDatabase',
'cond' => {
'foreign.database_id' => 'self.database_id'
},
'attrs' => {
'fk_columns' => {
'database_id' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'class' => 'Koha::Schema::Result::ErmUsageDatabase'
},
'usage_data_provider' => {
'source' => 'Koha::Schema::Result::ErmUsageDataProvider',
'cond' => {
'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'usage_data_provider_id' => 1
},
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::ErmUsageDataProvider'
},
'title' => {
'class' => 'Koha::Schema::Result::ErmUsageTitle',
'cond' => {
'foreign.title_id' => 'self.title_id'
},
'source' => 'Koha::Schema::Result::ErmUsageTitle',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'title_id' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 1
}
}
},
'name' => 'erm_usage_mus',
'_ordered_columns' => [
'monthly_usage_summary_id',
'title_id',
'platform_id',
'database_id',
'item_id',
'usage_data_provider_id',
'year',
'month',
'usage_count',
'metric_type',
'access_type',
'yop',
'report_type'
]
}, 'DBIx::Class::ResultSource::Table' ),
'AqbudgetsPlanning' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'AqbudgetsPlanning',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'budget_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'authcat' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 30
},
'estimated_amount' => {
'is_nullable' => 1,
'data_type' => 'decimal',
'size' => [
28,
6
]
},
'authvalue' => {
'size' => 30,
'data_type' => 'varchar',
'is_nullable' => 0
},
'budget_period_id' => {
'is_nullable' => 0,
'data_type' => 'integer'
},
'plan_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'display' => {
'default_value' => 1,
'is_nullable' => 1,
'data_type' => 'tinyint'
}
},
'_unique_constraints' => {
'primary' => [
'plan_id'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqbudgetsPlanning'}{'_unique_constraints'}{'primary'},
'name' => 'aqbudgets_planning',
'_ordered_columns' => [
'plan_id',
'budget_id',
'budget_period_id',
'estimated_amount',
'authcat',
'authvalue',
'display'
],
'_relationships' => {
'budget' => {
'class' => 'Koha::Schema::Result::Aqbudget',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'budget_id' => 1
}
},
'cond' => {
'foreign.budget_id' => 'self.budget_id'
},
'source' => 'Koha::Schema::Result::Aqbudget'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::AqbudgetsPlanning',
'resultset_attributes' => {}
}, 'DBIx::Class::ResultSource::Table' ),
'Matchcheck' => bless( {
'_ordered_columns' => [
'matcher_id',
'matchcheck_id',
'source_matchpoint_id',
'target_matchpoint_id'
],
'name' => 'matchchecks',
'result_class' => 'Koha::Schema::Result::Matchcheck',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'matcher' => {
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'fk_columns' => {
'matcher_id' => 1
},
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::MarcMatcher',
'cond' => {
'foreign.matcher_id' => 'self.matcher_id'
},
'class' => 'Koha::Schema::Result::MarcMatcher'
},
'target_matchpoint' => {
'class' => 'Koha::Schema::Result::Matchpoint',
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'target_matchpoint_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Matchpoint',
'cond' => {
'foreign.matchpoint_id' => 'self.target_matchpoint_id'
}
},
'source_matchpoint' => {
'cond' => {
'foreign.matchpoint_id' => 'self.source_matchpoint_id'
},
'source' => 'Koha::Schema::Result::Matchpoint',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'source_matchpoint_id' => 1
},
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::Matchpoint'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => [
'matchcheck_id'
],
'source_name' => 'Matchcheck',
'_columns' => {
'matchcheck_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'matcher_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'source_matchpoint_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'target_matchpoint_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Matchcheck'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'AqbooksellerIssue' => bless( {
'name' => 'aqbookseller_issues',
'_ordered_columns' => [
'issue_id',
'vendor_id',
'type',
'started_on',
'ended_on',
'notes'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'vendor' => {
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'fk_columns' => {
'vendor_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.id' => 'self.vendor_id'
},
'source' => 'Koha::Schema::Result::Aqbookseller',
'class' => 'Koha::Schema::Result::Aqbookseller'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::AqbooksellerIssue',
'_primaries' => [
'issue_id'
],
'_columns' => {
'issue_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'vendor_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'started_on' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'type' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'ended_on' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'notes' => {
'data_type' => 'longtext',
'is_nullable' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqbooksellerIssue'}{'_primaries'}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'AqbooksellerIssue'
}, 'DBIx::Class::ResultSource::Table' ),
'Quote' => bless( {
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Quote',
'resultset_attributes' => {},
'_relationships' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'quotes',
'_ordered_columns' => [
'id',
'source',
'text',
'timestamp'
],
'_primaries' => [
'id'
],
'source_name' => 'Quote',
'_columns_info_loaded' => 0,
'_columns' => {
'source' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'timestamp' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'text' => {
'is_nullable' => 0,
'data_type' => 'longtext'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Quote'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Biblioitem' => bless( {
'_columns' => {
'collectionvolume' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'biblionumber' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1,
'default_value' => 0,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'url' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'volumedesc' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'cn_sort' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'notes' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'itemtype' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'number' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'publicationyear' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'agerestriction' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'volume' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'cn_suffix' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'publishercode' => {
'data_type' => 'text',
'is_nullable' => 1
},
'collectionissn' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'editionresponsibility' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'ean' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'issn' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'size' => {
'data_type' => 'text',
'is_nullable' => 1
},
'isbn' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'illus' => {
'is_nullable' => 1,
'data_type' => 'text'
},
'cn_class' => {
'size' => 30,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'editionstatement' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'place' => {
'data_type' => 'text',
'is_nullable' => 1
},
'lccn' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'pages' => {
'data_type' => 'text',
'is_nullable' => 1
},
'timestamp' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'cn_item' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'totalissues' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'cn_source' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'collectiontitle' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'volumedate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'biblioitemnumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
}
},
'_unique_constraints' => {
'primary' => [
'biblioitemnumber'
]
},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Biblioitem'}{'_unique_constraints'}{'primary'},
'source_name' => 'Biblioitem',
'name' => 'biblioitems',
'_ordered_columns' => [
'biblioitemnumber',
'biblionumber',
'volume',
'number',
'itemtype',
'isbn',
'issn',
'ean',
'publicationyear',
'publishercode',
'volumedate',
'volumedesc',
'collectiontitle',
'collectionissn',
'collectionvolume',
'editionstatement',
'editionresponsibility',
'timestamp',
'illus',
'pages',
'notes',
'size',
'place',
'lccn',
'url',
'cn_source',
'cn_class',
'cn_item',
'cn_suffix',
'cn_sort',
'agerestriction',
'totalissues'
],
'result_class' => 'Koha::Schema::Result::Biblioitem',
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'biblionumber' => {
'class' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
},
'items' => {
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.biblioitemnumber' => 'self.biblioitemnumber'
},
'source' => 'Koha::Schema::Result::Item',
'class' => 'Koha::Schema::Result::Item'
},
'biblio' => {
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'is_depends_on' => 1,
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'biblionumber' => 1
}
},
'class' => 'Koha::Schema::Result::Biblio'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'ImportRecord' => bless( {
'_columns' => {
'import_date' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'record_sequence' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'import_batch_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'marcxml_old' => {
'data_type' => 'longtext',
'is_nullable' => 0
},
'import_error' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'overlay_status' => {
'extra' => {
'list' => [
'no_match',
'auto_match',
'manual_match',
'match_applied'
]
},
'is_nullable' => 0,
'data_type' => 'enum',
'default_value' => 'no_match'
},
'encoding' => {
'size' => 40,
'default_value' => '',
'is_nullable' => 0,
'data_type' => 'varchar'
},
'upload_timestamp' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'branchcode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'import_record_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'marc' => {
'data_type' => 'longblob',
'is_nullable' => 0
},
'record_type' => {
'default_value' => 'biblio',
'extra' => {
'list' => [
'biblio',
'auth',
'holdings'
]
},
'data_type' => 'enum',
'is_nullable' => 0
},
'marcxml' => {
'data_type' => 'longtext',
'is_nullable' => 0
},
'status' => {
'default_value' => 'staged',
'data_type' => 'enum',
'is_nullable' => 0,
'extra' => {
'list' => [
'error',
'staged',
'imported',
'reverted',
'items_reverted',
'ignored'
]
}
}
},
'_unique_constraints' => {
'primary' => [
'import_record_id'
]
},
'_ordered_columns' => [
'import_record_id',
'import_batch_id',
'branchcode',
'record_sequence',
'upload_timestamp',
'import_date',
'marc',
'marcxml',
'marcxml_old',
'record_type',
'overlay_status',
'status',
'import_error',
'encoding'
],
'name' => 'import_records',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ImportRecord',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'import_batch' => {
'class' => 'Koha::Schema::Result::ImportBatch',
'cond' => {
'foreign.import_batch_id' => 'self.import_batch_id'
},
'source' => 'Koha::Schema::Result::ImportBatch',
'attrs' => {
'accessor' => 'single',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'import_batch_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
},
'import_biblio' => {
'class' => 'Koha::Schema::Result::ImportBiblio',
'cond' => {
'foreign.import_record_id' => 'self.import_record_id'
},
'source' => 'Koha::Schema::Result::ImportBiblio',
'attrs' => {
'cascade_copy' => 0,
'cascade_update' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'is_depends_on' => 0,
'cascade_delete' => 0
}
},
'import_items' => {
'source' => 'Koha::Schema::Result::ImportItem',
'cond' => {
'foreign.import_record_id' => 'self.import_record_id'
},
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ImportItem'
},
'import_auth' => {
'class' => 'Koha::Schema::Result::ImportAuth',
'attrs' => {
'cascade_copy' => 0,
'cascade_update' => 1,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'single'
},
'cond' => {
'foreign.import_record_id' => 'self.import_record_id'
},
'source' => 'Koha::Schema::Result::ImportAuth'
},
'import_record_matches' => {
'source' => 'Koha::Schema::Result::ImportRecordMatch',
'cond' => {
'foreign.import_record_id' => 'self.import_record_id'
},
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'class' => 'Koha::Schema::Result::ImportRecordMatch'
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportRecord'}{'_unique_constraints'}{'primary'},
'source_name' => 'ImportRecord'
}, 'DBIx::Class::ResultSource::Table' ),
'Deletedbiblioitem' => bless( {
'_primaries' => [
'biblioitemnumber'
],
'resultset_attributes' => {},
'_relationships' => {},
'result_class' => 'Koha::Schema::Result::Deletedbiblioitem',
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'deletedbiblioitems',
'_ordered_columns' => [
'biblioitemnumber',
'biblionumber',
'volume',
'number',
'itemtype',
'isbn',
'issn',
'ean',
'publicationyear',
'publishercode',
'volumedate',
'volumedesc',
'collectiontitle',
'collectionissn',
'collectionvolume',
'editionstatement',
'editionresponsibility',
'timestamp',
'illus',
'pages',
'notes',
'size',
'place',
'lccn',
'url',
'cn_source',
'cn_class',
'cn_item',
'cn_suffix',
'cn_sort',
'agerestriction',
'totalissues'
],
'_columns' => {
'volumedesc' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'url' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'biblionumber' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'collectionvolume' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'collectionissn' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'publishercode' => {
'is_nullable' => 1,
'data_type' => 'text'
},
'agerestriction' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'volume' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'cn_suffix' => {
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
},
'publicationyear' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'number' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'notes' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'itemtype' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'cn_sort' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'lccn' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'pages' => {
'data_type' => 'text',
'is_nullable' => 1
},
'timestamp' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'place' => {
'data_type' => 'text',
'is_nullable' => 1
},
'editionstatement' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'size' => {
'is_nullable' => 1,
'data_type' => 'text'
},
'illus' => {
'is_nullable' => 1,
'data_type' => 'text'
},
'cn_class' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 30
},
'isbn' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'ean' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'issn' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'editionresponsibility' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'biblioitemnumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 0
},
'volumedate' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'collectiontitle' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'totalissues' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'cn_source' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'cn_item' => {
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Deletedbiblioitem'}{'_primaries'}
},
'source_name' => 'Deletedbiblioitem',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'AccountCreditTypesBranch' => bless( {
'name' => 'account_credit_types_branches',
'_ordered_columns' => [
'credit_type_code',
'branchcode'
],
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::AccountCreditTypesBranch',
'_relationships' => {
'branchcode' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'RESTRICT'
},
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'class' => 'Koha::Schema::Result::Branch'
},
'credit_type_code' => {
'class' => 'Koha::Schema::Result::AccountCreditType',
'source' => 'Koha::Schema::Result::AccountCreditType',
'cond' => {
'foreign.code' => 'self.credit_type_code'
},
'attrs' => {
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
}
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'AccountCreditTypesBranch',
'_columns' => {
'credit_type_code' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80,
'is_foreign_key' => 1
},
'branchcode' => {
'is_foreign_key' => 1,
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'AuthType' => bless( {
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::AuthType',
'_relationships' => {
'auth_tag_structures' => {
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.authtypecode' => 'self.authtypecode'
},
'source' => 'Koha::Schema::Result::AuthTagStructure',
'class' => 'Koha::Schema::Result::AuthTagStructure'
},
'auth_subfield_structures' => {
'class' => 'Koha::Schema::Result::AuthSubfieldStructure',
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.authtypecode' => 'self.authtypecode'
},
'source' => 'Koha::Schema::Result::AuthSubfieldStructure'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'auth_types',
'_ordered_columns' => [
'authtypecode',
'authtypetext',
'auth_tag_to_report',
'summary'
],
'_primaries' => [
'authtypecode'
],
'source_name' => 'AuthType',
'_columns_info_loaded' => 0,
'_columns' => {
'auth_tag_to_report' => {
'size' => 3,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 0
},
'authtypetext' => {
'default_value' => '',
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'authtypecode' => {
'size' => 10,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 0
},
'summary' => {
'data_type' => 'longtext',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AuthType'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'CreatorBatch' => bless( {
'name' => 'creator_batches',
'_ordered_columns' => [
'label_id',
'batch_id',
'description',
'item_number',
'borrower_number',
'timestamp',
'branch_code',
'creator'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'item_number' => {
'class' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.item_number'
},
'source' => 'Koha::Schema::Result::Item',
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'on_update' => 'RESTRICT',
'is_deferrable' => 1
}
},
'borrower_number' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrower_number'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'filter'
},
'class' => 'Koha::Schema::Result::Borrower'
},
'branch_code' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter'
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branch_code'
}
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::CreatorBatch',
'resultset_class' => 'DBIx::Class::ResultSet',
'_columns_info_loaded' => 0,
'source_name' => 'CreatorBatch',
'_primaries' => [
'label_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CreatorBatch'}{'_primaries'}
},
'_columns' => {
'label_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'item_number' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'timestamp' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 0
},
'creator' => {
'default_value' => 'Labels',
'size' => 15,
'is_nullable' => 0,
'data_type' => 'char'
},
'description' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'branch_code' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'default_value' => 'NB',
'size' => 10,
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'borrower_number' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer',
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'batch_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'CheckoutRenewal' => bless( {
'_unique_constraints' => {
'primary' => [
'renewal_id'
]
},
'_columns' => {
'renewal_type' => {
'extra' => {
'list' => [
'Automatic',
'Manual'
]
},
'is_nullable' => 0,
'data_type' => 'enum',
'default_value' => 'Manual'
},
'timestamp' => {
'is_nullable' => 0,
'data_type' => 'timestamp',
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
},
'interface' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 16
},
'checkout_id' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'seen' => {
'data_type' => 'tinyint',
'is_nullable' => 1,
'default_value' => 0,
'is_boolean' => 1
},
'renewal_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'renewer_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
}
},
'_columns_info_loaded' => 0,
'source_name' => 'CheckoutRenewal',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CheckoutRenewal'}{'_unique_constraints'}{'primary'},
'_ordered_columns' => [
'renewal_id',
'checkout_id',
'renewer_id',
'seen',
'interface',
'timestamp',
'renewal_type'
],
'name' => 'checkout_renewals',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'_relationships' => {
'old_checkout' => {
'source' => 'Koha::Schema::Result::OldIssue',
'cond' => {
'foreign.issue_id' => 'self.checkout_id'
},
'attrs' => {
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'single',
'fk_columns' => {
'checkout_id' => 1
},
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::OldIssue'
},
'renewer' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'join_type' => 'LEFT',
'accessor' => 'single',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'fk_columns' => {
'renewer_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.renewer_id'
}
},
'checkout' => {
'source' => 'Koha::Schema::Result::Issue',
'cond' => {
'foreign.issue_id' => 'self.checkout_id'
},
'attrs' => {
'accessor' => 'single',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'fk_columns' => {
'checkout_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Issue'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::CheckoutRenewal'
}, 'DBIx::Class::ResultSource::Table' ),
'RestrictionType' => bless( {
'_columns_info_loaded' => 0,
'_primaries' => [
'code'
],
'source_name' => 'RestrictionType',
'_ordered_columns' => [
'code',
'display_text',
'is_system',
'is_default',
'lift_after_payment',
'fee_limit'
],
'name' => 'restriction_types',
'resultset_attributes' => {},
'_relationships' => {
'borrower_debarments' => {
'class' => 'Koha::Schema::Result::BorrowerDebarment',
'source' => 'Koha::Schema::Result::BorrowerDebarment',
'cond' => {
'foreign.type' => 'self.code'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::RestrictionType',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'fee_limit' => {
'is_nullable' => 1,
'data_type' => 'decimal',
'size' => [
28,
6
]
},
'display_text' => {
'data_type' => 'text',
'is_nullable' => 0
},
'is_system' => {
'is_boolean' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0
},
'is_default' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0,
'is_boolean' => 1
},
'lift_after_payment' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'code' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 50
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'RestrictionType'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Patronimage' => bless( {
'source_name' => 'Patronimage',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_primaries' => [
'borrowernumber'
],
'_relationships' => {
'borrowernumber' => {
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'class' => 'Koha::Schema::Result::Borrower'
}
},
'result_class' => 'Koha::Schema::Result::Patronimage',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_ordered_columns' => [
'borrowernumber',
'mimetype',
'imagefile'
],
'name' => 'patronimage',
'_columns' => {
'imagefile' => {
'is_nullable' => 0,
'data_type' => 'mediumblob'
},
'mimetype' => {
'size' => 15,
'data_type' => 'varchar',
'is_nullable' => 0
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Patronimage'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Suggestion' => bless( {
'_columns' => {
'budgetid' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'title' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'lastmodificationdate' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'branchcode' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 1,
'data_type' => 'varchar',
'is_foreign_key' => 1,
'size' => 10
},
'archived' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'accepteddate' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'total' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
28,
6
]
},
'lastmodificationby' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'rejecteddate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'STATUS' => {
'accessor' => 'status',
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 10,
'default_value' => ''
},
'copyrightdate' => {
'data_type' => 'smallint',
'is_nullable' => 1
},
'collectiontitle' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'rejectedby' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'suggestionid' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'note' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'isbn' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 30
},
'price' => {
'size' => [
28,
6
],
'data_type' => 'decimal',
'is_nullable' => 1
},
'place' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'acceptedby' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'itemtype' => {
'size' => 30,
'data_type' => 'varchar',
'is_nullable' => 1
},
'staff_note' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'patronreason' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'quantity' => {
'data_type' => 'smallint',
'is_nullable' => 1
},
'date' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 0
},
'currency' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'manageddate' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'author' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'publicationyear' => {
'default_value' => 0,
'data_type' => 'smallint',
'is_nullable' => 1
},
'publishercode' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'reason' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'managedby' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'suggestedby' => {
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer',
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'suggesteddate' => {
'data_type' => 'date',
'is_nullable' => 0,
'datetime_undef_if_invalid' => 1
},
'biblionumber' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'volumedesc' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
}
},
'_unique_constraints' => {
'primary' => [
'suggestionid'
]
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Suggestion'}{'_unique_constraints'}{'primary'},
'result_class' => 'Koha::Schema::Result::Suggestion',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'acceptedby' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.acceptedby'
}
},
'biblionumber' => {
'class' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'is_depends_on' => 1
},
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
}
},
'suggestedby' => {
'class' => 'Koha::Schema::Result::Borrower',
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.suggestedby'
},
'attrs' => {
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
},
'lastmodificationby' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'join_type' => 'LEFT',
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.lastmodificationby'
},
'source' => 'Koha::Schema::Result::Borrower',
'class' => 'Koha::Schema::Result::Borrower'
},
'managedby' => {
'cond' => {
'foreign.borrowernumber' => 'self.managedby'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
},
'branchcode' => {
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'accessor' => 'filter',
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
},
'class' => 'Koha::Schema::Result::Branch'
},
'suggester' => {
'cond' => {
'foreign.borrowernumber' => 'self.suggestedby'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'SET NULL',
'join_type' => 'LEFT',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'suggestedby' => 1
}
},
'class' => 'Koha::Schema::Result::Borrower'
},
'rejectedby' => {
'attrs' => {
'join_type' => 'LEFT',
'accessor' => 'filter',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.rejectedby'
},
'class' => 'Koha::Schema::Result::Borrower'
},
'budgetid' => {
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'join_type' => 'LEFT',
'accessor' => 'filter',
'on_delete' => 'SET NULL',
'is_depends_on' => 1
},
'cond' => {
'foreign.budget_id' => 'self.budgetid'
},
'source' => 'Koha::Schema::Result::Aqbudget',
'class' => 'Koha::Schema::Result::Aqbudget'
}
},
'_ordered_columns' => [
'suggestionid',
'suggestedby',
'suggesteddate',
'managedby',
'manageddate',
'acceptedby',
'accepteddate',
'rejectedby',
'rejecteddate',
'lastmodificationby',
'lastmodificationdate',
'STATUS',
'archived',
'note',
'staff_note',
'author',
'title',
'copyrightdate',
'publishercode',
'date',
'volumedesc',
'publicationyear',
'place',
'isbn',
'biblionumber',
'reason',
'patronreason',
'budgetid',
'branchcode',
'collectiontitle',
'itemtype',
'quantity',
'currency',
'price',
'total'
],
'name' => 'suggestions',
'source_name' => 'Suggestion',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'LanguageScriptBidi' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'LanguageScriptBidi',
'_ordered_columns' => [
'rfc4646_subtag',
'bidi'
],
'name' => 'language_script_bidi',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {},
'result_class' => 'Koha::Schema::Result::LanguageScriptBidi',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns' => {
'rfc4646_subtag' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 25
},
'bidi' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 3
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'AqinvoiceAdjustment' => bless( {
'_unique_constraints' => {
'primary' => [
'adjustment_id'
]
},
'_columns' => {
'timestamp' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 0
},
'adjustment_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'invoiceid' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'budget_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'encumber_open' => {
'is_nullable' => 0,
'data_type' => 'smallint',
'default_value' => 1
},
'note' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'reason' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'adjustment' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
28,
6
]
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::AqinvoiceAdjustment',
'_relationships' => {
'budget' => {
'source' => 'Koha::Schema::Result::Aqbudget',
'cond' => {
'foreign.budget_id' => 'self.budget_id'
},
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'budget_id' => 1
}
},
'class' => 'Koha::Schema::Result::Aqbudget'
},
'invoiceid' => {
'class' => 'Koha::Schema::Result::Aqinvoice',
'source' => 'Koha::Schema::Result::Aqinvoice',
'cond' => {
'foreign.invoiceid' => 'self.invoiceid'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1
}
}
},
'_ordered_columns' => [
'adjustment_id',
'invoiceid',
'adjustment',
'reason',
'note',
'budget_id',
'encumber_open',
'timestamp'
],
'name' => 'aqinvoice_adjustments',
'source_name' => 'AqinvoiceAdjustment',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqinvoiceAdjustment'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'AuthorisedValue' => bless( {
'result_class' => 'Koha::Schema::Result::AuthorisedValue',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'illrequests' => {
'cond' => {
'foreign.status_alias' => 'self.authorised_value'
},
'source' => 'Koha::Schema::Result::Illrequest',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::Illrequest'
},
'authorised_values_branches' => {
'source' => 'Koha::Schema::Result::AuthorisedValuesBranch',
'cond' => {
'foreign.av_id' => 'self.id'
},
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::AuthorisedValuesBranch'
},
'category' => {
'class' => 'Koha::Schema::Result::AuthorisedValueCategory',
'cond' => {
'foreign.category_name' => 'self.category'
},
'source' => 'Koha::Schema::Result::AuthorisedValueCategory',
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
}
},
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'authorised_values',
'_ordered_columns' => [
'id',
'category',
'authorised_value',
'lib',
'lib_opac',
'imageurl'
],
'_primaries' => [
'id'
],
'source_name' => 'AuthorisedValue',
'_columns_info_loaded' => 0,
'_columns' => {
'lib' => {
'size' => 200,
'data_type' => 'varchar',
'is_nullable' => 1
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'lib_opac' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 200
},
'imageurl' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 200
},
'category' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 32,
'default_value' => '',
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'authorised_value' => {
'default_value' => '',
'size' => 80,
'is_nullable' => 0,
'data_type' => 'varchar'
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AuthorisedValue'}{'_primaries'},
'av_uniq' => [
'category',
'authorised_value'
]
}
}, 'DBIx::Class::ResultSource::Table' ),
'LanguageScriptMapping' => bless( {
'_unique_constraints' => {
'primary' => [
'language_subtag'
]
},
'_columns' => {
'language_subtag' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 25
},
'script_subtag' => {
'size' => 25,
'data_type' => 'varchar',
'is_nullable' => 1
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::LanguageScriptMapping',
'name' => 'language_script_mapping',
'_ordered_columns' => [
'language_subtag',
'script_subtag'
],
'source_name' => 'LanguageScriptMapping',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LanguageScriptMapping'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'Deletedborrower' => bless( {
'_columns' => {
'B_email' => {
'accessor' => 'b_email',
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'address2' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'state' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'altcontactaddress3' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'country' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'sort1' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'privacy_guarantor_fines' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'contacttitle' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'pronouns' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'preferred_name' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'altcontactzipcode' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'protected' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'cardnumber' => {
'size' => 32,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'anonymized' => {
'is_boolean' => 1,
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'privacy_guarantor_checkouts' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'altcontactsurname' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'B_streettype' => {
'accessor' => 'b_streettype',
'is_nullable' => 1,
'data_type' => 'tinytext'
},
'lang' => {
'default_value' => 'default',
'size' => 25,
'data_type' => 'varchar',
'is_nullable' => 0
},
'secret' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'debarred' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'B_state' => {
'data_type' => 'mediumtext',
'is_nullable' => 1,
'accessor' => 'b_state'
},
'primary_contact_method' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 45
},
'firstname' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'streetnumber' => {
'data_type' => 'tinytext',
'is_nullable' => 1
},
'categorycode' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'default_value' => '',
'size' => 10
},
'lost' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 1
},
'initials' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'contactname' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'emailpro' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'borrowernumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 0
},
'smsalertnumber' => {
'size' => 50,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'updated_on' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 0
},
'branchcode' => {
'default_value' => '',
'size' => 10,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'phone' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'sex' => {
'size' => 1,
'data_type' => 'varchar',
'is_nullable' => 1
},
'fax' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'checkprevcheckout' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'default_value' => 'inherit',
'size' => 7
},
'altcontactphone' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'dateexpiry' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'lastseen' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'surname' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'othernames' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'date_renewed' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'phonepro' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'zipcode' => {
'data_type' => 'tinytext',
'is_nullable' => 1
},
'contactnote' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'auth_method' => {
'extra' => {
'list' => [
'password',
'two-factor'
]
},
'is_nullable' => 0,
'data_type' => 'enum',
'default_value' => 'password'
},
'address' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'streettype' => {
'data_type' => 'tinytext',
'is_nullable' => 1
},
'password' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 60
},
'email' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'dateofbirth' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'B_phone' => {
'data_type' => 'longtext',
'is_nullable' => 1,
'accessor' => 'b_phone'
},
'B_zipcode' => {
'data_type' => 'tinytext',
'is_nullable' => 1,
'accessor' => 'b_zipcode'
},
'contactfirstname' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'B_streetnumber' => {
'accessor' => 'b_streetnumber',
'is_nullable' => 1,
'data_type' => 'tinytext'
},
'userid' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 75
},
'borrowernotes' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'flags' => {
'is_nullable' => 1,
'data_type' => 'bigint'
},
'privacy' => {
'default_value' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'altcontactstate' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'city' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'altcontactaddress2' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'overdrive_auth_token' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'opacnote' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'B_address' => {
'accessor' => 'b_address',
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'B_address2' => {
'accessor' => 'b_address2',
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'mobile' => {
'is_nullable' => 1,
'data_type' => 'tinytext'
},
'password_expiration_date' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'B_country' => {
'data_type' => 'mediumtext',
'is_nullable' => 1,
'accessor' => 'b_country'
},
'altcontactfirstname' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'title' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'sort2' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'sms_provider_id' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'altcontactaddress1' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'gonenoaddress' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 1
},
'altcontactcountry' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'middle_name' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'dateenrolled' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'debarredcomment' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'autorenew_checkouts' => {
'is_boolean' => 1,
'default_value' => 1,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'B_city' => {
'accessor' => 'b_city',
'is_nullable' => 1,
'data_type' => 'longtext'
},
'relationship' => {
'size' => 100,
'data_type' => 'varchar',
'is_nullable' => 1
},
'login_attempts' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 0
}
},
'source_name' => 'Deletedborrower',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Deletedborrower',
'_ordered_columns' => [
'borrowernumber',
'cardnumber',
'surname',
'firstname',
'preferred_name',
'middle_name',
'title',
'othernames',
'initials',
'pronouns',
'streetnumber',
'streettype',
'address',
'address2',
'city',
'state',
'zipcode',
'country',
'email',
'phone',
'mobile',
'fax',
'emailpro',
'phonepro',
'B_streetnumber',
'B_streettype',
'B_address',
'B_address2',
'B_city',
'B_state',
'B_zipcode',
'B_country',
'B_email',
'B_phone',
'dateofbirth',
'branchcode',
'categorycode',
'dateenrolled',
'dateexpiry',
'password_expiration_date',
'date_renewed',
'gonenoaddress',
'lost',
'debarred',
'debarredcomment',
'contactname',
'contactfirstname',
'contacttitle',
'borrowernotes',
'relationship',
'sex',
'password',
'secret',
'auth_method',
'flags',
'userid',
'opacnote',
'contactnote',
'sort1',
'sort2',
'altcontactfirstname',
'altcontactsurname',
'altcontactaddress1',
'altcontactaddress2',
'altcontactaddress3',
'altcontactstate',
'altcontactzipcode',
'altcontactcountry',
'altcontactphone',
'smsalertnumber',
'sms_provider_id',
'privacy',
'privacy_guarantor_fines',
'privacy_guarantor_checkouts',
'checkprevcheckout',
'updated_on',
'lastseen',
'lang',
'login_attempts',
'overdrive_auth_token',
'anonymized',
'autorenew_checkouts',
'primary_contact_method',
'protected'
],
'name' => 'deletedborrowers'
}, 'DBIx::Class::ResultSource::Table' ),
'CourseItem' => bless( {
'_primaries' => [
'ci_id'
],
'_ordered_columns' => [
'ci_id',
'itemnumber',
'biblionumber',
'itype',
'itype_enabled',
'itype_storage',
'ccode',
'ccode_enabled',
'ccode_storage',
'homebranch',
'homebranch_enabled',
'homebranch_storage',
'holdingbranch',
'holdingbranch_enabled',
'holdingbranch_storage',
'location',
'location_enabled',
'location_storage',
'enabled',
'timestamp'
],
'name' => 'course_items',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'biblionumber' => {
'class' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
}
},
'holdingbranch' => {
'class' => 'Koha::Schema::Result::Branch',
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.holdingbranch'
},
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'accessor' => 'filter',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
}
},
'course_reserves' => {
'class' => 'Koha::Schema::Result::CourseReserve',
'source' => 'Koha::Schema::Result::CourseReserve',
'cond' => {
'foreign.ci_id' => 'self.ci_id'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
},
'homebranch' => {
'class' => 'Koha::Schema::Result::Branch',
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.homebranch'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'filter'
}
},
'itemnumber' => {
'class' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.itemnumber'
},
'source' => 'Koha::Schema::Result::Item',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'accessor' => 'filter',
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1
}
},
'homebranch_storage' => {
'class' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.homebranch_storage'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'join_type' => 'LEFT',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
}
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::CourseItem',
'_unique_constraints' => {
'itemnumber' => [
'itemnumber'
],
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CourseItem'}{'_primaries'}
},
'_columns' => {
'holdingbranch_enabled' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'timestamp' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'data_type' => 'timestamp',
'is_nullable' => 0
},
'biblionumber' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'ci_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'holdingbranch_storage' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'itype_enabled' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'ccode_enabled' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'itype_storage' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'ccode_storage' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'location_storage' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'location' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'homebranch_enabled' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'holdingbranch' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'size' => 10,
'is_foreign_key' => 1,
'data_type' => 'varchar',
'is_nullable' => 1
},
'enabled' => {
'default_value' => 'no',
'extra' => {
'list' => [
'yes',
'no'
]
},
'is_nullable' => 0,
'data_type' => 'enum'
},
'location_enabled' => {
'is_boolean' => 1,
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'homebranch' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'is_foreign_key' => 1,
'size' => 10,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'itemnumber' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'homebranch_storage' => {
'size' => 10,
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'varchar',
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'itype' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'ccode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
}
},
'_columns_info_loaded' => 0,
'source_name' => 'CourseItem',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'AccountCreditType' => bless( {
'_unique_constraints' => {
'primary' => [
'code'
]
},
'_columns' => {
'is_system' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'description' => {
'size' => 200,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'can_be_added_manually' => {
'default_value' => 1,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'credit_number_enabled' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'archived' => {
'is_boolean' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'code' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 0
}
},
'source_name' => 'AccountCreditType',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AccountCreditType'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::AccountCreditType',
'_relationships' => {
'account_credit_types_branches' => {
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::AccountCreditTypesBranch',
'cond' => {
'foreign.credit_type_code' => 'self.code'
},
'class' => 'Koha::Schema::Result::AccountCreditTypesBranch'
},
'accountlines' => {
'class' => 'Koha::Schema::Result::Accountline',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.credit_type_code' => 'self.code'
},
'source' => 'Koha::Schema::Result::Accountline'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_ordered_columns' => [
'code',
'description',
'can_be_added_manually',
'credit_number_enabled',
'is_system',
'archived'
],
'name' => 'account_credit_types'
}, 'DBIx::Class::ResultSource::Table' ),
'AuthHeader' => bless( {
'source_name' => 'AuthHeader',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_primaries' => [
'authid'
],
'result_class' => 'Koha::Schema::Result::AuthHeader',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'import_oai_authorities' => {
'source' => 'Koha::Schema::Result::ImportOaiAuthority',
'cond' => {
'foreign.authid' => 'self.authid'
},
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ImportOaiAuthority'
}
},
'resultset_attributes' => {},
'name' => 'auth_header',
'_ordered_columns' => [
'authid',
'authtypecode',
'datecreated',
'modification_time',
'heading',
'origincode',
'authtrees',
'marc',
'linkid',
'marcxml'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AuthHeader'}{'_primaries'}
},
'_columns' => {
'authtypecode' => {
'default_value' => '',
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 0
},
'heading' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'authtrees' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'origincode' => {
'size' => 20,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'modification_time' => {
'is_nullable' => 0,
'data_type' => 'timestamp',
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'marc' => {
'is_nullable' => 1,
'data_type' => 'blob'
},
'linkid' => {
'is_nullable' => 1,
'data_type' => 'bigint'
},
'marcxml' => {
'data_type' => 'longtext',
'is_nullable' => 0
},
'authid' => {
'is_nullable' => 0,
'data_type' => 'bigint',
'is_auto_increment' => 1,
'extra' => {
'unsigned' => 1
}
},
'datecreated' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'CurbsidePickupPolicy' => bless( {
'_columns' => {
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'patrons_per_interval' => {
'default_value' => 0,
'data_type' => 'integer',
'is_nullable' => 0
},
'enable_waiting_holds_only' => {
'is_nullable' => 0,
'data_type' => 'tinyint',
'default_value' => 0,
'is_boolean' => 1
},
'branchcode' => {
'size' => 10,
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'varchar',
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'patron_scheduled_pickup' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'pickup_interval' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 0
},
'enabled' => {
'is_boolean' => 1,
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => [
'id'
],
'branchcode' => [
'branchcode'
]
},
'name' => 'curbside_pickup_policy',
'_ordered_columns' => [
'id',
'branchcode',
'enabled',
'enable_waiting_holds_only',
'pickup_interval',
'patrons_per_interval',
'patron_scheduled_pickup'
],
'result_class' => 'Koha::Schema::Result::CurbsidePickupPolicy',
'_relationships' => {
'curbside_pickup_opening_slots' => {
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::CurbsidePickupOpeningSlot',
'cond' => {
'foreign.curbside_pickup_policy_id' => 'self.id'
},
'class' => 'Koha::Schema::Result::CurbsidePickupOpeningSlot'
},
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CurbsidePickupPolicy'}{'_unique_constraints'}{'primary'},
'source_name' => 'CurbsidePickupPolicy'
}, 'DBIx::Class::ResultSource::Table' ),
'Serial' => bless( {
'_unique_constraints' => {
'primary' => [
'serialid'
]
},
'_columns' => {
'subscriptionid' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'claimdate' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'claims_count' => {
'data_type' => 'integer',
'is_nullable' => 1,
'default_value' => 0
},
'serialseq_z' => {
'size' => 100,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'serialseq_y' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 100
},
'serialseq' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'default_value' => '',
'size' => 100
},
'biblionumber' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1,
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
}
},
'publisheddate' => {
'is_nullable' => 1,
'data_type' => 'date',
'datetime_undef_if_invalid' => 1
},
'serialid' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'status' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint'
},
'publisheddatetext' => {
'size' => 100,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'routingnotes' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'notes' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'planneddate' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 1
},
'serialseq_x' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 100
}
},
'_ordered_columns' => [
'serialid',
'biblionumber',
'subscriptionid',
'serialseq',
'serialseq_x',
'serialseq_y',
'serialseq_z',
'status',
'planneddate',
'notes',
'publisheddate',
'publisheddatetext',
'claimdate',
'claims_count',
'routingnotes'
],
'name' => 'serial',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::Serial',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'biblionumber' => {
'attrs' => {
'undef_on_null_fk' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'filter',
'is_depends_on' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio',
'class' => 'Koha::Schema::Result::Biblio'
},
'serialitems' => {
'cond' => {
'foreign.serialid' => 'self.serialid'
},
'source' => 'Koha::Schema::Result::Serialitem',
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::Serialitem'
},
'subscriptionid' => {
'class' => 'Koha::Schema::Result::Subscription',
'attrs' => {
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Subscription',
'cond' => {
'foreign.subscriptionid' => 'self.subscriptionid'
}
}
},
'_columns_info_loaded' => 0,
'source_name' => 'Serial',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Serial'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'Booking' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'Booking',
'name' => 'bookings',
'_ordered_columns' => [
'booking_id',
'patron_id',
'biblio_id',
'item_id',
'pickup_library_id',
'start_date',
'end_date',
'creation_date',
'modification_date',
'status',
'cancellation_reason'
],
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::Booking',
'_relationships' => {
'biblio' => {
'class' => 'Koha::Schema::Result::Biblio',
'source' => 'Koha::Schema::Result::Biblio',
'cond' => {
'foreign.biblionumber' => 'self.biblio_id'
},
'attrs' => {
'fk_columns' => {
'biblio_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
}
},
'item' => {
'class' => 'Koha::Schema::Result::Item',
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'item_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.item_id'
}
},
'patron' => {
'class' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'patron_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.borrowernumber' => 'self.patron_id'
},
'source' => 'Koha::Schema::Result::Borrower'
},
'pickup_library' => {
'class' => 'Koha::Schema::Result::Branch',
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'pickup_library_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.pickup_library_id'
}
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'_primaries' => [
'booking_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Booking'}{'_primaries'}
},
'_columns' => {
'patron_id' => {
'is_foreign_key' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'integer'
},
'creation_date' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'is_nullable' => 0,
'data_type' => 'timestamp'
},
'item_id' => {
'is_nullable' => 1,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'modification_date' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
},
'biblio_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'default_value' => 0,
'is_foreign_key' => 1
},
'start_date' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'status' => {
'is_nullable' => 0,
'data_type' => 'enum',
'extra' => {
'list' => [
'new',
'cancelled',
'completed'
]
},
'default_value' => 'new'
},
'booking_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'cancellation_reason' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'end_date' => {
'data_type' => 'datetime',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'pickup_library_id' => {
'is_foreign_key' => 1,
'size' => 10,
'is_nullable' => 0,
'data_type' => 'varchar'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'SubscriptionNumberpattern' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'SubscriptionNumberpattern',
'_columns_info_loaded' => 0,
'_columns' => {
'setto2' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'whenmorethan3' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'label1' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 255
},
'every1' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'numbering2' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'add3' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'label' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 255
},
'setto3' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'numberingmethod' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
},
'whenmorethan1' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'whenmorethan2' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'numbering1' => {
'size' => 255,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'label2' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'every2' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'numbering3' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'add2' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'setto1' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'add1' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'displayorder' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'description' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'every3' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'label3' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
}
},
'_unique_constraints' => {
'primary' => [
'id'
]
},
'result_class' => 'Koha::Schema::Result::SubscriptionNumberpattern',
'_relationships' => {
'subscriptions' => {
'class' => 'Koha::Schema::Result::Subscription',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.numberpattern' => 'self.id'
},
'source' => 'Koha::Schema::Result::Subscription'
}
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'subscription_numberpatterns',
'_ordered_columns' => [
'id',
'label',
'displayorder',
'description',
'numberingmethod',
'label1',
'add1',
'every1',
'whenmorethan1',
'setto1',
'numbering1',
'label2',
'add2',
'every2',
'whenmorethan2',
'setto2',
'numbering2',
'label3',
'add3',
'every3',
'whenmorethan3',
'setto3',
'numbering3'
],
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SubscriptionNumberpattern'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'ErmUsagePlatform' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'ErmUsagePlatform',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_unique_constraints' => {
'primary' => [
'platform_id'
]
},
'_columns' => {
'platform' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'platform_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'usage_data_provider_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsagePlatform'}{'_unique_constraints'}{'primary'},
'name' => 'erm_usage_platforms',
'_ordered_columns' => [
'platform_id',
'platform',
'usage_data_provider_id'
],
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ErmUsagePlatform',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'erm_usage_muses' => {
'class' => 'Koha::Schema::Result::ErmUsageMus',
'cond' => {
'foreign.platform_id' => 'self.platform_id'
},
'source' => 'Koha::Schema::Result::ErmUsageMus',
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'erm_usage_yuses' => {
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.platform_id' => 'self.platform_id'
},
'source' => 'Koha::Schema::Result::ErmUsageYus',
'class' => 'Koha::Schema::Result::ErmUsageYus'
},
'usage_data_provider' => {
'class' => 'Koha::Schema::Result::ErmUsageDataProvider',
'attrs' => {
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'fk_columns' => {
'usage_data_provider_id' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single'
},
'cond' => {
'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
},
'source' => 'Koha::Schema::Result::ErmUsageDataProvider'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'PseudonymizedTransaction' => bless( {
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_columns' => {
'transaction_type' => {
'size' => 16,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'dateenrolled' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'title' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'sex' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 1
},
'sort2' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'branchcode' => {
'size' => 10,
'default_value' => '',
'data_type' => 'varchar',
'is_nullable' => 0
},
'hashed_borrowernumber' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 60
},
'city' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'itemcallnumber' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 1
},
'has_cardnumber' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'holdingbranch' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 10
},
'categorycode' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'default_value' => '',
'size' => 10
},
'location' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 80
},
'itemnumber' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'datetime' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'datetime',
'is_nullable' => 1
},
'homebranch' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'itemtype' => {
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 1
},
'ccode' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'sort1' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 80
},
'country' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'state' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'transaction_branchcode' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 10
},
'zipcode' => {
'size' => 25,
'is_nullable' => 1,
'data_type' => 'varchar'
}
},
'name' => 'pseudonymized_transactions',
'_ordered_columns' => [
'id',
'hashed_borrowernumber',
'has_cardnumber',
'title',
'city',
'state',
'zipcode',
'country',
'branchcode',
'categorycode',
'dateenrolled',
'sex',
'sort1',
'sort2',
'datetime',
'transaction_branchcode',
'transaction_type',
'itemnumber',
'itemtype',
'holdingbranch',
'homebranch',
'location',
'itemcallnumber',
'ccode'
],
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::PseudonymizedTransaction',
'_relationships' => {
'pseudonymized_borrower_attributes' => {
'source' => 'Koha::Schema::Result::PseudonymizedBorrowerAttribute',
'cond' => {
'foreign.transaction_id' => 'self.id'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::PseudonymizedBorrowerAttribute'
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PseudonymizedTransaction'}{'_unique_constraints'}{'primary'},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'PseudonymizedTransaction'
}, 'DBIx::Class::ResultSource::Table' ),
'Systempreference' => bless( {
'_columns' => {
'variable' => {
'default_value' => '',
'size' => 50,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'type' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 20
},
'options' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'explanation' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
},
'value' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
}
},
'_unique_constraints' => {
'primary' => [
'variable'
]
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::Systempreference',
'_relationships' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'systempreferences',
'_ordered_columns' => [
'variable',
'value',
'options',
'explanation',
'type'
],
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Systempreference'}{'_unique_constraints'}{'primary'},
'source_name' => 'Systempreference',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'NeedMergeAuthority' => bless( {
'_primaries' => [
'id'
],
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {},
'result_class' => 'Koha::Schema::Result::NeedMergeAuthority',
'name' => 'need_merge_authorities',
'_ordered_columns' => [
'id',
'authid',
'authid_new',
'reportxml',
'timestamp',
'done'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'NeedMergeAuthority'}{'_primaries'}
},
'_columns' => {
'reportxml' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'timestamp' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'done' => {
'default_value' => 0,
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'authid_new' => {
'data_type' => 'bigint',
'is_nullable' => 1
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'authid' => {
'data_type' => 'bigint',
'is_nullable' => 0
}
},
'source_name' => 'NeedMergeAuthority',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'SavedSql' => bless( {
'_columns_info_loaded' => 0,
'source_name' => 'SavedSql',
'_primaries' => [
'id'
],
'name' => 'saved_sql',
'_ordered_columns' => [
'id',
'borrowernumber',
'date_created',
'last_modified',
'savedsql',
'last_run',
'report_name',
'type',
'notes',
'cache_expiry',
'public',
'report_area',
'report_group',
'report_subgroup',
'mana_id'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::SavedSql',
'_relationships' => {},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SavedSql'}{'_primaries'}
},
'_columns' => {
'date_created' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
},
'report_subgroup' => {
'size' => 80,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'borrowernumber' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'type' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'cache_expiry' => {
'is_nullable' => 0,
'data_type' => 'integer',
'default_value' => 300
},
'report_group' => {
'size' => 80,
'data_type' => 'varchar',
'is_nullable' => 1
},
'mana_id' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'last_modified' => {
'data_type' => 'datetime',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'savedsql' => {
'data_type' => 'mediumtext',
'is_nullable' => 1
},
'report_area' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 6
},
'last_run' => {
'is_nullable' => 1,
'data_type' => 'datetime',
'datetime_undef_if_invalid' => 1
},
'report_name' => {
'default_value' => '',
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'public' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'notes' => {
'is_nullable' => 1,
'data_type' => 'mediumtext'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'AdditionalFieldValue' => bless( {
'name' => 'additional_field_values',
'_ordered_columns' => [
'id',
'field_id',
'record_id',
'value'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::AdditionalFieldValue',
'_relationships' => {
'field' => {
'class' => 'Koha::Schema::Result::AdditionalField',
'source' => 'Koha::Schema::Result::AdditionalField',
'cond' => {
'foreign.id' => 'self.field_id'
},
'attrs' => {
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'single',
'fk_columns' => {
'field_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
}
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'_columns_info_loaded' => 0,
'source_name' => 'AdditionalFieldValue',
'_primaries' => [
'id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AdditionalFieldValue'}{'_primaries'}
},
'_columns' => {
'field_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'value' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255,
'default_value' => ''
},
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'record_id' => {
'data_type' => 'integer',
'is_nullable' => 0
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'OaiSetsBiblio' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'source_name' => 'OaiSetsBiblio',
'_columns_info_loaded' => 0,
'_relationships' => {
'set' => {
'class' => 'Koha::Schema::Result::OaiSet',
'cond' => {
'foreign.id' => 'self.set_id'
},
'source' => 'Koha::Schema::Result::OaiSet',
'attrs' => {
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'set_id' => 1
},
'is_foreign_key_constraint' => 1
}
}
},
'result_class' => 'Koha::Schema::Result::OaiSetsBiblio',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'name' => 'oai_sets_biblios',
'_ordered_columns' => [
'biblionumber',
'set_id'
],
'_primaries' => [
'biblionumber',
'set_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'OaiSetsBiblio'}{'_primaries'}
},
'_columns' => {
'biblionumber' => {
'data_type' => 'integer',
'is_nullable' => 0
},
'set_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'UploadedFile' => bless( {
'source_name' => 'UploadedFile',
'_primaries' => [
'id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::UploadedFile',
'_relationships' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_ordered_columns' => [
'id',
'hashvalue',
'filename',
'dir',
'filesize',
'dtcreated',
'uploadcategorycode',
'owner',
'public',
'permanent'
],
'name' => 'uploaded_files',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'UploadedFile'}{'_primaries'}
},
'_columns' => {
'id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_auto_increment' => 1
},
'uploadcategorycode' => {
'data_type' => 'text',
'is_nullable' => 1
},
'hashvalue' => {
'data_type' => 'char',
'is_nullable' => 0,
'size' => 40
},
'permanent' => {
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'dir' => {
'data_type' => 'mediumtext',
'is_nullable' => 0
},
'owner' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'filename' => {
'is_nullable' => 0,
'data_type' => 'mediumtext'
},
'dtcreated' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 0
},
'filesize' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'public' => {
'is_nullable' => 1,
'data_type' => 'tinyint'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'PreservationTrainsItem' => bless( {
'source_name' => 'PreservationTrainsItem',
'_primaries' => [
'train_item_id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'preservation_processing_attributes_items' => {
'source' => 'Koha::Schema::Result::PreservationProcessingAttributesItem',
'cond' => {
'foreign.train_item_id' => 'self.train_item_id'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::PreservationProcessingAttributesItem'
},
'processing' => {
'class' => 'Koha::Schema::Result::PreservationProcessing',
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'single',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'processing_id' => 1
},
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'cond' => {
'foreign.processing_id' => 'self.processing_id'
},
'source' => 'Koha::Schema::Result::PreservationProcessing'
},
'train' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'train_id' => 1
},
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::PreservationTrain',
'cond' => {
'foreign.train_id' => 'self.train_id'
},
'class' => 'Koha::Schema::Result::PreservationTrain'
},
'item' => {
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.itemnumber' => 'self.item_id'
},
'attrs' => {
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'fk_columns' => {
'item_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
},
'class' => 'Koha::Schema::Result::Item'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::PreservationTrainsItem',
'_ordered_columns' => [
'train_item_id',
'train_id',
'item_id',
'processing_id',
'user_train_item_id',
'added_on'
],
'name' => 'preservation_trains_items',
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PreservationTrainsItem'}{'_primaries'},
'train_id' => [
'train_id',
'item_id'
]
},
'_columns' => {
'processing_id' => {
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'train_item_id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'item_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'user_train_item_id' => {
'is_nullable' => 0,
'data_type' => 'integer'
},
'train_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'added_on' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'datetime'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'Biblio' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'source_name' => 'Biblio',
'_unique_constraints' => {
'primary' => [
'biblionumber'
]
},
'_columns' => {
'part_name' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'copyrightdate' => {
'is_nullable' => 1,
'data_type' => 'smallint'
},
'serial' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 1
},
'author' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'medium' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'title' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'notes' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'seriestitle' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'part_number' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'timestamp' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
},
'frameworkcode' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 4,
'default_value' => ''
},
'unititle' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'biblionumber' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'subtitle' => {
'data_type' => 'longtext',
'is_nullable' => 1
},
'abstract' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'datecreated' => {
'datetime_undef_if_invalid' => 1,
'data_type' => 'date',
'is_nullable' => 0
}
},
'_ordered_columns' => [
'biblionumber',
'frameworkcode',
'author',
'title',
'medium',
'subtitle',
'part_number',
'part_name',
'unititle',
'notes',
'serial',
'seriestitle',
'copyrightdate',
'timestamp',
'datecreated',
'abstract'
],
'name' => 'biblio',
'result_class' => 'Koha::Schema::Result::Biblio',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {
'tags_all' => {
'class' => 'Koha::Schema::Result::TagAll',
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::TagAll'
},
'illrequests' => {
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.biblio_id' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Illrequest',
'class' => 'Koha::Schema::Result::Illrequest'
},
'article_requests' => {
'class' => 'Koha::Schema::Result::ArticleRequest',
'source' => 'Koha::Schema::Result::ArticleRequest',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
},
'reserves' => {
'class' => 'Koha::Schema::Result::Reserve',
'source' => 'Koha::Schema::Result::Reserve',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
}
},
'tags_indexes' => {
'class' => 'Koha::Schema::Result::TagsIndex',
'source' => 'Koha::Schema::Result::TagsIndex',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'attrs' => {
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
}
},
'tickets' => {
'class' => 'Koha::Schema::Result::Ticket',
'cond' => {
'foreign.biblio_id' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Ticket',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
}
},
'recalls' => {
'class' => 'Koha::Schema::Result::Recall',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Recall',
'cond' => {
'foreign.biblio_id' => 'self.biblionumber'
}
},
'cover_images' => {
'class' => 'Koha::Schema::Result::CoverImage',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::CoverImage',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
}
},
'subscriptions' => {
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Subscription',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::Subscription'
},
'reviews' => {
'source' => 'Koha::Schema::Result::Review',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::Review'
},
'items' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::Item',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'class' => 'Koha::Schema::Result::Item'
},
'subscriptionhistories' => {
'class' => 'Koha::Schema::Result::Subscriptionhistory',
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Subscriptionhistory'
},
'aqorders' => {
'class' => 'Koha::Schema::Result::Aqorder',
'source' => 'Koha::Schema::Result::Aqorder',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
}
},
'linktrackers' => {
'class' => 'Koha::Schema::Result::Linktracker',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Linktracker'
},
'import_oai_biblios' => {
'class' => 'Koha::Schema::Result::ImportOaiBiblio',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::ImportOaiBiblio'
},
'hold_fill_targets' => {
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::HoldFillTarget',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'class' => 'Koha::Schema::Result::HoldFillTarget'
},
'tmp_holdsqueues' => {
'class' => 'Koha::Schema::Result::TmpHoldsqueue',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::TmpHoldsqueue',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
}
},
'ill_requests' => {
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.biblio_id' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Illrequest',
'class' => 'Koha::Schema::Result::Illrequest'
},
'item_groups' => {
'class' => 'Koha::Schema::Result::ItemGroup',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.biblio_id' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::ItemGroup'
},
'suggestions' => {
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Suggestion',
'class' => 'Koha::Schema::Result::Suggestion'
},
'club_holds' => {
'cond' => {
'foreign.biblio_id' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::ClubHold',
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ClubHold'
},
'biblioitems' => {
'source' => 'Koha::Schema::Result::Biblioitem',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::Biblioitem'
},
'serials' => {
'attrs' => {
'cascade_copy' => 0,
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi'
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Serial',
'class' => 'Koha::Schema::Result::Serial'
},
'virtualshelfcontents' => {
'class' => 'Koha::Schema::Result::Virtualshelfcontent',
'source' => 'Koha::Schema::Result::Virtualshelfcontent',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
}
},
'bookings' => {
'class' => 'Koha::Schema::Result::Booking',
'source' => 'Koha::Schema::Result::Booking',
'cond' => {
'foreign.biblio_id' => 'self.biblionumber'
},
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
}
},
'ratings' => {
'class' => 'Koha::Schema::Result::Rating',
'attrs' => {
'cascade_copy' => 0,
'cascade_delete' => 0,
'is_depends_on' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Rating'
},
'biblio_metadatas' => {
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::BiblioMetadata',
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::BiblioMetadata'
},
'old_reserves' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT'
},
'source' => 'Koha::Schema::Result::OldReserve',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'class' => 'Koha::Schema::Result::OldReserve'
},
'course_items' => {
'class' => 'Koha::Schema::Result::CourseItem',
'attrs' => {
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::CourseItem'
},
'metadata' => {
'attrs' => {
'cascade_update' => 1,
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'single',
'cascade_copy' => 0
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::BiblioMetadata',
'class' => 'Koha::Schema::Result::BiblioMetadata'
},
'erm_eholdings_titles' => {
'source' => 'Koha::Schema::Result::ErmEholdingsTitle',
'cond' => {
'foreign.biblio_id' => 'self.biblionumber'
},
'attrs' => {
'cascade_delete' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'class' => 'Koha::Schema::Result::ErmEholdingsTitle'
},
'orders' => {
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Aqorder',
'attrs' => {
'cascade_copy' => 0,
'accessor' => 'multi',
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'class' => 'Koha::Schema::Result::Aqorder'
},
'biblioitem' => {
'attrs' => {
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'join_type' => 'LEFT',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::Biblioitem',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'class' => 'Koha::Schema::Result::Biblioitem'
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Biblio'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'Zebraqueue' => bless( {
'_unique_constraints' => {
'primary' => [
'id'
]
},
'_columns' => {
'done' => {
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'integer'
},
'operation' => {
'data_type' => 'char',
'is_nullable' => 0,
'default_value' => '',
'size' => 20
},
'server' => {
'data_type' => 'char',
'is_nullable' => 0,
'size' => 20,
'default_value' => ''
},
'time' => {
'data_type' => 'timestamp',
'is_nullable' => 0,
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1
},
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'biblio_auth_number' => {
'extra' => {
'unsigned' => 1
},
'is_nullable' => 0,
'data_type' => 'bigint',
'default_value' => 0
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::Zebraqueue',
'resultset_class' => 'DBIx::Class::ResultSet',
'resultset_attributes' => {},
'_relationships' => {},
'name' => 'zebraqueue',
'_ordered_columns' => [
'id',
'biblio_auth_number',
'operation',
'server',
'done',
'time'
],
'source_name' => 'Zebraqueue',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Zebraqueue'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'PendingOfflineOperation' => bless( {
'_unique_constraints' => {
'primary' => [
'operationid'
]
},
'_columns' => {
'barcode' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 20
},
'cardnumber' => {
'data_type' => 'varchar',
'is_nullable' => 1,
'size' => 32
},
'branchcode' => {
'size' => 10,
'data_type' => 'varchar',
'is_nullable' => 0
},
'userid' => {
'size' => 30,
'data_type' => 'varchar',
'is_nullable' => 0
},
'amount' => {
'data_type' => 'decimal',
'is_nullable' => 1,
'size' => [
28,
6
]
},
'action' => {
'size' => 10,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'timestamp' => {
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp',
'data_type' => 'timestamp',
'is_nullable' => 0
},
'operationid' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
}
},
'name' => 'pending_offline_operations',
'_ordered_columns' => [
'operationid',
'userid',
'branchcode',
'timestamp',
'action',
'barcode',
'cardnumber',
'amount'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::PendingOfflineOperation',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {},
'_columns_info_loaded' => 0,
'source_name' => 'PendingOfflineOperation',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PendingOfflineOperation'}{'_unique_constraints'}{'primary'}
}, 'DBIx::Class::ResultSource::Table' ),
'IllbatchStatus' => bless( {
'_columns' => {
'name' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 100
},
'is_system' => {
'is_boolean' => 1,
'is_nullable' => 1,
'data_type' => 'tinyint'
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'code' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 20
}
},
'_unique_constraints' => {
'primary' => [
'id'
],
'u_illbatchstatuses__code' => [
'code'
]
},
'name' => 'illbatch_statuses',
'_ordered_columns' => [
'id',
'name',
'code',
'is_system'
],
'result_class' => 'Koha::Schema::Result::IllbatchStatus',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'illbatches' => {
'class' => 'Koha::Schema::Result::Illbatch',
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'cascade_delete' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi'
},
'cond' => {
'foreign.status_code' => 'self.code'
},
'source' => 'Koha::Schema::Result::Illbatch'
}
},
'resultset_attributes' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_columns_info_loaded' => 0,
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'IllbatchStatus'}{'_unique_constraints'}{'primary'},
'source_name' => 'IllbatchStatus'
}, 'DBIx::Class::ResultSource::Table' ),
'MarcOverlayRule' => bless( {
'_primaries' => [
'id'
],
'source_name' => 'MarcOverlayRule',
'_columns_info_loaded' => 0,
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::MarcOverlayRule',
'_relationships' => {},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'marc_overlay_rules',
'_ordered_columns' => [
'id',
'tag',
'module',
'filter',
'add',
'append',
'remove',
'delete'
],
'_columns' => {
'add' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0,
'is_boolean' => 1
},
'module' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 127
},
'append' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0,
'is_boolean' => 1
},
'id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_auto_increment' => 1
},
'filter' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
},
'tag' => {
'size' => 255,
'data_type' => 'varchar',
'is_nullable' => 0
},
'delete' => {
'default_value' => 0,
'accessor' => undef,
'is_nullable' => 0,
'data_type' => 'tinyint',
'is_boolean' => 1
},
'remove' => {
'is_boolean' => 1,
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcOverlayRule'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'ClassSource' => bless( {
'_primaries' => [
'cn_source'
],
'source_name' => 'ClassSource',
'_columns_info_loaded' => 0,
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'class_split_rule' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'RESTRICT',
'accessor' => 'filter',
'on_update' => 'RESTRICT',
'is_deferrable' => 1
},
'cond' => {
'foreign.class_split_rule' => 'self.class_split_rule'
},
'source' => 'Koha::Schema::Result::ClassSplitRule',
'class' => 'Koha::Schema::Result::ClassSplitRule'
},
'class_sort_rule' => {
'source' => 'Koha::Schema::Result::ClassSortRule',
'cond' => {
'foreign.class_sort_rule' => 'self.class_sort_rule'
},
'attrs' => {
'undef_on_null_fk' => 1,
'on_update' => 'RESTRICT',
'is_deferrable' => 1,
'is_foreign_key_constraint' => 1,
'on_delete' => 'RESTRICT',
'is_depends_on' => 1,
'accessor' => 'filter'
},
'class' => 'Koha::Schema::Result::ClassSortRule'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::ClassSource',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'name' => 'class_sources',
'_ordered_columns' => [
'cn_source',
'description',
'used',
'class_sort_rule',
'class_split_rule'
],
'_columns' => {
'cn_source' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 10,
'default_value' => ''
},
'class_sort_rule' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'is_nullable' => 0,
'data_type' => 'varchar',
'default_value' => '',
'size' => 10,
'is_foreign_key' => 1
},
'description' => {
'is_nullable' => 1,
'data_type' => 'longtext'
},
'used' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 0
},
'class_split_rule' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'size' => 10,
'default_value' => '',
'is_foreign_key' => 1,
'data_type' => 'varchar',
'is_nullable' => 0
}
},
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClassSource'}{'_primaries'}
}
}, 'DBIx::Class::ResultSource::Table' ),
'MessageTransport' => bless( {
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'result_class' => 'Koha::Schema::Result::MessageTransport',
'_relationships' => {
'message_attribute' => {
'class' => 'Koha::Schema::Result::MessageAttribute',
'cond' => {
'foreign.message_attribute_id' => 'self.message_attribute_id'
},
'source' => 'Koha::Schema::Result::MessageAttribute',
'attrs' => {
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1,
'is_depends_on' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'message_attribute_id' => 1
}
}
},
'message_transport_type' => {
'class' => 'Koha::Schema::Result::MessageTransportType',
'attrs' => {
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::MessageTransportType',
'cond' => {
'foreign.message_transport_type' => 'self.message_transport_type'
}
}
},
'resultset_attributes' => {},
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'message_transports',
'_ordered_columns' => [
'message_attribute_id',
'message_transport_type',
'is_digest',
'letter_module',
'letter_code',
'branchcode'
],
'source_name' => 'MessageTransport',
'_primaries' => [
'message_attribute_id',
'message_transport_type',
'is_digest'
],
'_columns_info_loaded' => 0,
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MessageTransport'}{'_primaries'}
},
'_columns' => {
'letter_module' => {
'default_value' => '',
'size' => 20,
'is_nullable' => 0,
'data_type' => 'varchar'
},
'branchcode' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 10,
'default_value' => ''
},
'message_transport_type' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'size' => 20,
'data_type' => 'varchar',
'is_nullable' => 0
},
'message_attribute_id' => {
'data_type' => 'integer',
'is_nullable' => 0,
'is_foreign_key' => 1
},
'is_digest' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0
},
'letter_code' => {
'default_value' => '',
'size' => 20,
'is_nullable' => 0,
'data_type' => 'varchar'
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'OaiSetsDescription' => bless( {
'_columns' => {
'set_id' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'description' => {
'size' => 255,
'is_nullable' => 0,
'data_type' => 'varchar'
}
},
'_columns_info_loaded' => 0,
'source_name' => 'OaiSetsDescription',
'_ordered_columns' => [
'set_id',
'description'
],
'name' => 'oai_sets_descriptions',
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::OaiSetsDescription',
'_relationships' => {
'set' => {
'class' => 'Koha::Schema::Result::OaiSet',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'set_id' => 1
},
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'cond' => {
'foreign.id' => 'self.set_id'
},
'source' => 'Koha::Schema::Result::OaiSet'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'AuthorisedValueCategory' => bless( {
'_columns' => {
'category_name' => {
'size' => 32,
'default_value' => '',
'is_nullable' => 0,
'data_type' => 'varchar'
},
'is_integer_only' => {
'data_type' => 'tinyint',
'is_nullable' => 0,
'default_value' => 0,
'is_boolean' => 1
},
'is_system' => {
'default_value' => 0,
'data_type' => 'tinyint',
'is_nullable' => 1,
'is_boolean' => 1
}
},
'_unique_constraints' => {
'primary' => [
'category_name'
]
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::AuthorisedValueCategory',
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'items_search_fields' => {
'class' => 'Koha::Schema::Result::ItemsSearchField',
'attrs' => {
'join_type' => 'LEFT',
'is_depends_on' => 0,
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'source' => 'Koha::Schema::Result::ItemsSearchField',
'cond' => {
'foreign.authorised_values_category' => 'self.category_name'
}
},
'marc_subfield_structures' => {
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
},
'cond' => {
'foreign.authorised_value' => 'self.category_name'
},
'source' => 'Koha::Schema::Result::MarcSubfieldStructure',
'class' => 'Koha::Schema::Result::MarcSubfieldStructure'
},
'authorised_values' => {
'class' => 'Koha::Schema::Result::AuthorisedValue',
'cond' => {
'foreign.category' => 'self.category_name'
},
'source' => 'Koha::Schema::Result::AuthorisedValue',
'attrs' => {
'is_depends_on' => 0,
'join_type' => 'LEFT',
'cascade_delete' => 0,
'accessor' => 'multi',
'cascade_copy' => 0
}
}
},
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'category_name',
'is_system',
'is_integer_only'
],
'name' => 'authorised_value_categories',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AuthorisedValueCategory'}{'_unique_constraints'}{'primary'},
'source_name' => 'AuthorisedValueCategory',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'AdditionalContent' => bless( {
'_unique_constraints' => {
'primary' => [
'id'
],
'additional_contents_uniq' => [
'category',
'code',
'branchcode'
]
},
'_columns' => {
'expirationdate' => {
'data_type' => 'date',
'is_nullable' => 1,
'datetime_undef_if_invalid' => 1
},
'number' => {
'data_type' => 'integer',
'is_nullable' => 1
},
'branchcode' => {
'_inflate_info' => {
'inflate' => sub { "DUMMY" },
'deflate' => sub { "DUMMY" }
},
'size' => 10,
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'varchar'
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'is_foreign_key' => 1,
'is_nullable' => 1,
'data_type' => 'integer'
},
'code' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 100
},
'category' => {
'size' => 20,
'data_type' => 'varchar',
'is_nullable' => 0
},
'published_on' => {
'datetime_undef_if_invalid' => 1,
'is_nullable' => 1,
'data_type' => 'date'
},
'location' => {
'is_nullable' => 0,
'data_type' => 'varchar',
'size' => 255
},
'id' => {
'is_auto_increment' => 1,
'extra' => {
'unsigned' => 1
},
'is_nullable' => 0,
'data_type' => 'integer'
},
'updated_on' => {
'default_value' => \'current_timestamp',
'datetime_undef_if_invalid' => 1,
'is_nullable' => 0,
'data_type' => 'timestamp'
}
},
'source_name' => 'AdditionalContent',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AdditionalContent'}{'_unique_constraints'}{'primary'},
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'_relationships' => {
'branchcode' => {
'class' => 'Koha::Schema::Result::Branch',
'cond' => {
'foreign.branchcode' => 'self.branchcode'
},
'source' => 'Koha::Schema::Result::Branch',
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
}
},
'borrowernumber' => {
'class' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'accessor' => 'filter',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
},
'additional_contents_localizations' => {
'attrs' => {
'cascade_copy' => 0,
'is_depends_on' => 0,
'accessor' => 'multi',
'cascade_delete' => 0,
'join_type' => 'LEFT'
},
'cond' => {
'foreign.additional_content_id' => 'self.id'
},
'source' => 'Koha::Schema::Result::AdditionalContentsLocalization',
'class' => 'Koha::Schema::Result::AdditionalContentsLocalization'
}
},
'result_class' => 'Koha::Schema::Result::AdditionalContent',
'resultset_class' => 'DBIx::Class::ResultSet',
'_ordered_columns' => [
'id',
'category',
'code',
'location',
'branchcode',
'published_on',
'updated_on',
'expirationdate',
'number',
'borrowernumber'
],
'name' => 'additional_contents'
}, 'DBIx::Class::ResultSource::Table' ),
'TagAll' => bless( {
'name' => 'tags_all',
'_ordered_columns' => [
'tag_id',
'borrowernumber',
'biblionumber',
'term',
'language',
'date_created'
],
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_relationships' => {
'borrowernumber' => {
'attrs' => {
'join_type' => 'LEFT',
'on_delete' => 'SET NULL',
'is_depends_on' => 1,
'accessor' => 'filter',
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Borrower',
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'class' => 'Koha::Schema::Result::Borrower'
},
'biblionumber' => {
'attrs' => {
'is_foreign_key_constraint' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'source' => 'Koha::Schema::Result::Biblio',
'class' => 'Koha::Schema::Result::Biblio'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::TagAll',
'resultset_class' => 'DBIx::Class::ResultSet',
'_columns_info_loaded' => 0,
'source_name' => 'TagAll',
'_primaries' => [
'tag_id'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TagAll'}{'_primaries'}
},
'_columns' => {
'term' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 191
},
'language' => {
'is_nullable' => 1,
'data_type' => 'integer'
},
'date_created' => {
'data_type' => 'datetime',
'is_nullable' => 0,
'datetime_undef_if_invalid' => 1
},
'borrowernumber' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'integer',
'is_nullable' => 1,
'is_foreign_key' => 1
},
'tag_id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'biblionumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
}
}
}, 'DBIx::Class::ResultSource::Table' ),
'UserPermission' => bless( {
'_unique_constraints' => {
'primary' => [
'borrowernumber',
'module_bit',
'code'
]
},
'_columns' => {
'borrowernumber' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1,
'default_value' => 0,
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
},
'module_bit' => {
'is_foreign_key' => 1,
'default_value' => 0,
'is_nullable' => 0,
'data_type' => 'integer'
},
'code' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'is_foreign_key' => 1,
'size' => 64
}
},
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'UserPermission'}{'_unique_constraints'}{'primary'},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::UserPermission',
'_relationships' => {
'permission' => {
'cond' => {
'foreign.module_bit' => 'self.module_bit',
'foreign.code' => 'self.code'
},
'source' => 'Koha::Schema::Result::Permission',
'attrs' => {
'fk_columns' => {
'module_bit' => 1,
'code' => 1
},
'is_foreign_key_constraint' => 1,
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE'
},
'class' => 'Koha::Schema::Result::Permission'
},
'borrowernumber' => {
'cond' => {
'foreign.borrowernumber' => 'self.borrowernumber'
},
'source' => 'Koha::Schema::Result::Borrower',
'attrs' => {
'is_foreign_key_constraint' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'class' => 'Koha::Schema::Result::Borrower'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'name' => 'user_permissions',
'_ordered_columns' => [
'borrowernumber',
'module_bit',
'code'
],
'source_name' => 'UserPermission',
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
}, 'DBIx::Class::ResultSource::Table' ),
'DeletedbiblioMetadata' => bless( {
'_columns' => {
'format' => {
'data_type' => 'varchar',
'is_nullable' => 0,
'size' => 16
},
'record_source_id' => {
'is_foreign_key' => 1,
'data_type' => 'integer',
'is_nullable' => 1
},
'schema' => {
'size' => 16,
'data_type' => 'varchar',
'is_nullable' => 0
},
'metadata' => {
'data_type' => 'longtext',
'is_nullable' => 0
},
'timestamp' => {
'is_nullable' => 0,
'data_type' => 'timestamp',
'datetime_undef_if_invalid' => 1,
'default_value' => \'current_timestamp'
},
'id' => {
'is_auto_increment' => 1,
'is_nullable' => 0,
'data_type' => 'integer'
},
'biblionumber' => {
'is_foreign_key' => 1,
'is_nullable' => 0,
'data_type' => 'integer',
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
}
}
},
'_unique_constraints' => {
'deletedbiblio_metadata_uniq_key' => [
'biblionumber',
'format',
'schema'
],
'primary' => [
'id'
]
},
'resultset_class' => 'DBIx::Class::ResultSet',
'_relationships' => {
'record_source' => {
'class' => 'Koha::Schema::Result::RecordSource',
'attrs' => {
'is_foreign_key_constraint' => 1,
'fk_columns' => {
'record_source_id' => 1
},
'accessor' => 'single',
'join_type' => 'LEFT',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'undef_on_null_fk' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1
},
'source' => 'Koha::Schema::Result::RecordSource',
'cond' => {
'foreign.record_source_id' => 'self.record_source_id'
}
},
'biblionumber' => {
'attrs' => {
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'is_foreign_key_constraint' => 1,
'on_update' => 'CASCADE',
'is_deferrable' => 1,
'undef_on_null_fk' => 1
},
'source' => 'Koha::Schema::Result::Deletedbiblio',
'cond' => {
'foreign.biblionumber' => 'self.biblionumber'
},
'class' => 'Koha::Schema::Result::Deletedbiblio'
}
},
'resultset_attributes' => {},
'result_class' => 'Koha::Schema::Result::DeletedbiblioMetadata',
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'_ordered_columns' => [
'id',
'biblionumber',
'format',
'schema',
'metadata',
'timestamp',
'record_source_id'
],
'name' => 'deletedbiblio_metadata',
'_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'DeletedbiblioMetadata'}{'_unique_constraints'}{'primary'},
'source_name' => 'DeletedbiblioMetadata',
'_columns_info_loaded' => 0
}, 'DBIx::Class::ResultSource::Table' ),
'PseudonymizedBorrowerAttribute' => bless( {
'source_name' => 'PseudonymizedBorrowerAttribute',
'_primaries' => [
'id'
],
'_columns_info_loaded' => 0,
'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
'resultset_attributes' => {},
'_relationships' => {
'transaction' => {
'class' => 'Koha::Schema::Result::PseudonymizedTransaction',
'cond' => {
'foreign.id' => 'self.transaction_id'
},
'source' => 'Koha::Schema::Result::PseudonymizedTransaction',
'attrs' => {
'on_delete' => 'CASCADE',
'accessor' => 'single',
'is_depends_on' => 1,
'fk_columns' => {
'transaction_id' => 1
},
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'on_update' => 'CASCADE',
'undef_on_null_fk' => 1
}
},
'code' => {
'cond' => {
'foreign.code' => 'self.code'
},
'source' => 'Koha::Schema::Result::BorrowerAttributeType',
'attrs' => {
'undef_on_null_fk' => 1,
'is_foreign_key_constraint' => 1,
'is_deferrable' => 1,
'accessor' => 'filter',
'on_delete' => 'CASCADE',
'is_depends_on' => 1,
'on_update' => 'CASCADE'
},
'class' => 'Koha::Schema::Result::BorrowerAttributeType'
}
},
'resultset_class' => 'DBIx::Class::ResultSet',
'result_class' => 'Koha::Schema::Result::PseudonymizedBorrowerAttribute',
'name' => 'pseudonymized_borrower_attributes',
'_ordered_columns' => [
'id',
'transaction_id',
'code',
'attribute'
],
'_unique_constraints' => {
'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PseudonymizedBorrowerAttribute'}{'_primaries'}
},
'_columns' => {
'id' => {
'is_auto_increment' => 1,
'data_type' => 'integer',
'is_nullable' => 0
},
'transaction_id' => {
'is_nullable' => 0,
'data_type' => 'integer',
'is_foreign_key' => 1
},
'attribute' => {
'is_nullable' => 1,
'data_type' => 'varchar',
'size' => 255
},
'code' => {
'_inflate_info' => {
'deflate' => sub { "DUMMY" },
'inflate' => sub { "DUMMY" }
},
'data_type' => 'varchar',
'is_nullable' => 0,
'is_foreign_key' => 1,
'size' => 64
}
}
}, 'DBIx::Class::ResultSource::Table' )
}
}, 'Koha::Schema' )
}, 'DBIx::Class::ResultSource::Table' ),
'_result_class' => 'Koha::Schema::Result::Item',
'attrs' => {
'cascade_delete' => 0,
'where' => {
'me.biblionumber' => 198251
},
'cascade_copy' => 0,
'join_type' => 'LEFT',
'accessor' => 'multi',
'is_depends_on' => 0,
'bind' => [],
'alias' => 'me'
},
'pager' => undef,
'cond' => $VAR1->{'_resultset'}{'attrs'}{'where'}
}, 'DBIx::Class::ResultSet' )
}, 'Koha::Items' );