Imagen de Google Jackets

Economía y ciudad [recurso electronico] : algunas propuestas teóricas / Luis Mauricio Cuervo González.

Por: Colaborador(es): Tipo de material: TextoTextoDetalles de publicación: Buenos Aires, Argentina : CLACSO, 2000.Descripción: 16 pTema(s): Género/Forma: Clasificación CDD:
  • 307.76/098 22
Clasificación LoC:
  • HT127.5 C965 2000
Recursos en línea:
Etiquetas de esta biblioteca: No hay etiquetas de esta biblioteca para este título. Ingresar para agregar etiquetas.
Valoración
    Valoración media: 0.0 (0 votos)
Existencias
Tipo de ítem Biblioteca actual Colección Estado
E-Recursos E-Recursos E-Recursos Elibro Colección Cátedra E-Recursos No para préstamo

En publicacion: Repensando la experiencia urbana de América Latina: cuestiones, conceptos y valores. Ana Clara Torres Ribeiro.

Recurso electrónico. Santa Fe, Arg.: e-libro, 2015. Disponible vía World Wide Web. El acceso puede estar limitado para las bibliotecas afiliadas a e-libro.

No hay comentarios en este titulo.

para colocar un comentario.
  • Citar
  • $VAR1 = bless( {
      '_resultset' => bless( {
        'result_source' => bless( {
          '_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',
          'schema' => bless( {
            'class_mappings' => {
              'Koha::Schema::Result::AccountCreditType' => 'AccountCreditType',
              'Koha::Schema::Result::ClassSortRule' => 'ClassSortRule',
              'Koha::Schema::Result::BorrowerMessageTransportPreference' => 'BorrowerMessageTransportPreference',
              'Koha::Schema::Result::ExportFormat' => 'ExportFormat',
              'Koha::Schema::Result::PatronConsent' => 'PatronConsent',
              'Koha::Schema::Result::CurbsidePickupPolicy' => 'CurbsidePickupPolicy',
              'Koha::Schema::Result::Z3950server' => 'Z3950server',
              'Koha::Schema::Result::SearchMarcMap' => 'SearchMarcMap',
              'Koha::Schema::Result::CurbsidePickup' => 'CurbsidePickup',
              'Koha::Schema::Result::ReportsDictionary' => 'ReportsDictionary',
              'Koha::Schema::Result::Issue' => 'Issue',
              'Koha::Schema::Result::TagsApproval' => 'TagsApproval',
              'Koha::Schema::Result::Currency' => 'Currency',
              'Koha::Schema::Result::ErmLicense' => 'ErmLicense',
              'Koha::Schema::Result::BorrowerAttributeType' => 'BorrowerAttributeType',
              'Koha::Schema::Result::CurbsidePickupIssue' => 'CurbsidePickupIssue',
              'Koha::Schema::Result::AqinvoiceAdjustment' => 'AqinvoiceAdjustment',
              'Koha::Schema::Result::Booking' => 'Booking',
              'Koha::Schema::Result::Deleteditem' => 'Deleteditem',
              'Koha::Schema::Result::ClubTemplate' => 'ClubTemplate',
              'Koha::Schema::Result::AccountDebitType' => 'AccountDebitType',
              'Koha::Schema::Result::CourseReserve' => 'CourseReserve',
              'Koha::Schema::Result::MarcModificationTemplate' => 'MarcModificationTemplate',
              'Koha::Schema::Result::SubscriptionNumberpattern' => 'SubscriptionNumberpattern',
              'Koha::Schema::Result::ImportOaiAuthority' => 'ImportOaiAuthority',
              'Koha::Schema::Result::ErmDocument' => 'ErmDocument',
              'Koha::Schema::Result::Stockrotationitem' => 'Stockrotationitem',
              'Koha::Schema::Result::LibraryHour' => 'LibraryHour',
              'Koha::Schema::Result::ErmEholdingsTitle' => 'ErmEholdingsTitle',
              'Koha::Schema::Result::UploadedFile' => 'UploadedFile',
              'Koha::Schema::Result::OaiSetsMapping' => 'OaiSetsMapping',
              'Koha::Schema::Result::BorrowerFile' => 'BorrowerFile',
              'Koha::Schema::Result::Course' => 'Course',
              'Koha::Schema::Result::LanguageScriptBidi' => 'LanguageScriptBidi',
              'Koha::Schema::Result::Quote' => 'Quote',
              'Koha::Schema::Result::AuthSubfieldStructure' => 'AuthSubfieldStructure',
              'Koha::Schema::Result::Aqinvoice' => 'Aqinvoice',
              'Koha::Schema::Result::Reserve' => 'Reserve',
              'Koha::Schema::Result::SavedSql' => 'SavedSql',
              'Koha::Schema::Result::HouseboundProfile' => 'HouseboundProfile',
              'Koha::Schema::Result::PatronListPatron' => 'PatronListPatron',
              'Koha::Schema::Result::ArticleRequest' => 'ArticleRequest',
              'Koha::Schema::Result::PreservationTrain' => 'PreservationTrain',
              'Koha::Schema::Result::ErmUsageYus' => 'ErmUsageYus',
              'Koha::Schema::Result::ItemEditorTemplate' => 'ItemEditorTemplate',
              '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::Borrower' => 'Borrower',
              'Koha::Schema::Result::OaiServer' => 'OaiServer',
              'Koha::Schema::Result::ErmUserRole' => 'ErmUserRole',
              'Koha::Schema::Result::ImportBatch' => 'ImportBatch',
              '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::RestrictionType' => 'RestrictionType',
              'Koha::Schema::Result::LanguageRfc4646ToIso639' => 'LanguageRfc4646ToIso639',
              'Koha::Schema::Result::AuthTagStructure' => 'AuthTagStructure',
              'Koha::Schema::Result::AdvancedEditorMacro' => 'AdvancedEditorMacro',
              'Koha::Schema::Result::RecordSource' => 'RecordSource',
              'Koha::Schema::Result::Collection' => 'Collection',
              'Koha::Schema::Result::MatcherMatchpoint' => 'MatcherMatchpoint',
              'Koha::Schema::Result::MessageQueue' => 'MessageQueue',
              'Koha::Schema::Result::BorrowerAttributeTypesBranch' => 'BorrowerAttributeTypesBranch',
              'Koha::Schema::Result::BiblioFramework' => 'BiblioFramework',
              'Koha::Schema::Result::TransportCost' => 'TransportCost',
              'Koha::Schema::Result::BorrowerAttribute' => 'BorrowerAttribute',
              'Koha::Schema::Result::Zebraqueue' => 'Zebraqueue',
              'Koha::Schema::Result::PreservationTrainsItem' => 'PreservationTrainsItem',
              'Koha::Schema::Result::Branchtransfer' => 'Branchtransfer',
              'Koha::Schema::Result::Subscriptionhistory' => 'Subscriptionhistory',
              'Koha::Schema::Result::Serialitem' => 'Serialitem',
              'Koha::Schema::Result::BorrowerRelationship' => 'BorrowerRelationship',
              'Koha::Schema::Result::AuthorisedValue' => 'AuthorisedValue',
              'Koha::Schema::Result::AqbooksellerAlias' => 'AqbooksellerAlias',
              'Koha::Schema::Result::Subscription' => 'Subscription',
              'Koha::Schema::Result::ItemsLastBorrower' => 'ItemsLastBorrower',
              'Koha::Schema::Result::CirculationRule' => 'CirculationRule',
              'Koha::Schema::Result::CourseItem' => 'CourseItem',
              'Koha::Schema::Result::Biblioitem' => 'Biblioitem',
              'Koha::Schema::Result::Tag' => 'Tag',
              'Koha::Schema::Result::LanguageDescription' => 'LanguageDescription',
              'Koha::Schema::Result::MarcModificationTemplateAction' => 'MarcModificationTemplateAction',
              'Koha::Schema::Result::DeletedbiblioMetadata' => 'DeletedbiblioMetadata',
              'Koha::Schema::Result::Deletedbiblioitem' => 'Deletedbiblioitem',
              'Koha::Schema::Result::Illbatch' => 'Illbatch',
              'Koha::Schema::Result::AdditionalContentsLocalization' => 'AdditionalContentsLocalization',
              'Koha::Schema::Result::Systempreference' => 'Systempreference',
              'Koha::Schema::Result::ItemsSearchField' => 'ItemsSearchField',
              'Koha::Schema::Result::AdditionalField' => 'AdditionalField',
              'Koha::Schema::Result::Browser' => 'Browser',
              'Koha::Schema::Result::OldIssue' => 'OldIssue',
              'Koha::Schema::Result::TagAll' => 'TagAll',
              'Koha::Schema::Result::ErmUsagePlatform' => 'ErmUsagePlatform',
              'Koha::Schema::Result::ItemBundle' => 'ItemBundle',
              'Koha::Schema::Result::CashRegister' => 'CashRegister',
              'Koha::Schema::Result::City' => 'City',
              'Koha::Schema::Result::MatchpointComponent' => 'MatchpointComponent',
              'Koha::Schema::Result::Biblio' => 'Biblio',
              'Koha::Schema::Result::ErmEholdingsResource' => 'ErmEholdingsResource',
              'Koha::Schema::Result::SmsProvider' => 'SmsProvider',
              'Koha::Schema::Result::AuthHeader' => 'AuthHeader',
              'Koha::Schema::Result::Review' => 'Review',
              'Koha::Schema::Result::ImportBatchProfile' => 'ImportBatchProfile',
              'Koha::Schema::Result::ApiKey' => 'ApiKey',
              'Koha::Schema::Result::PreservationProcessing' => 'PreservationProcessing',
              'Koha::Schema::Result::BorrowerMessagePreference' => 'BorrowerMessagePreference',
              'Koha::Schema::Result::ErmAgreementLicense' => 'ErmAgreementLicense',
              'Koha::Schema::Result::HoldFillTarget' => 'HoldFillTarget',
              'Koha::Schema::Result::AccountCreditTypesBranch' => 'AccountCreditTypesBranch',
              'Koha::Schema::Result::AqordersItem' => 'AqordersItem',
              'Koha::Schema::Result::ActionLog' => 'ActionLog',
              'Koha::Schema::Result::PatronList' => 'PatronList',
              'Koha::Schema::Result::ErmUsageItem' => 'ErmUsageItem',
              'Koha::Schema::Result::CategoriesBranch' => 'CategoriesBranch',
              'Koha::Schema::Result::CreatorTemplate' => 'CreatorTemplate',
              'Koha::Schema::Result::SearchField' => 'SearchField',
              'Koha::Schema::Result::Aqbasketuser' => 'Aqbasketuser',
              'Koha::Schema::Result::TagsIndex' => 'TagsIndex',
              'Koha::Schema::Result::AqbooksellerIssue' => 'AqbooksellerIssue',
              'Koha::Schema::Result::HoldCancellationRequest' => 'HoldCancellationRequest',
              'Koha::Schema::Result::EdifactMessage' => 'EdifactMessage',
              'Koha::Schema::Result::Patronimage' => 'Patronimage',
              'Koha::Schema::Result::BorrowerModification' => 'BorrowerModification',
              'Koha::Schema::Result::Subscriptionroutinglist' => 'Subscriptionroutinglist',
              'Koha::Schema::Result::ErmEholdingsPackage' => 'ErmEholdingsPackage',
              'Koha::Schema::Result::TablesSetting' => 'TablesSetting',
              'Koha::Schema::Result::Virtualshelve' => 'Virtualshelve',
              'Koha::Schema::Result::CashRegisterAction' => 'CashRegisterAction',
              'Koha::Schema::Result::Permission' => 'Permission',
              'Koha::Schema::Result::MiscFile' => 'MiscFile',
              'Koha::Schema::Result::ImportBiblio' => 'ImportBiblio',
              'Koha::Schema::Result::SmtpServer' => 'SmtpServer',
              'Koha::Schema::Result::Virtualshelfcontent' => 'Virtualshelfcontent',
              'Koha::Schema::Result::HouseboundRole' => 'HouseboundRole',
              'Koha::Schema::Result::ErmCounterFile' => 'ErmCounterFile',
              'Koha::Schema::Result::Ticket' => 'Ticket',
              'Koha::Schema::Result::CreatorBatch' => 'CreatorBatch',
              'Koha::Schema::Result::ErmAgreement' => 'ErmAgreement',
              'Koha::Schema::Result::Illrequest' => 'Illrequest',
              'Koha::Schema::Result::Aqbudget' => 'Aqbudget',
              'Koha::Schema::Result::Suggestion' => 'Suggestion',
              'Koha::Schema::Result::Illcomment' => 'Illcomment',
              'Koha::Schema::Result::BiblioMetadata' => 'BiblioMetadata',
              'Koha::Schema::Result::ImportAuth' => 'ImportAuth',
              'Koha::Schema::Result::UserPermission' => 'UserPermission',
              'Koha::Schema::Result::BranchTransferLimit' => 'BranchTransferLimit',
              'Koha::Schema::Result::MarcOrderAccount' => 'MarcOrderAccount',
              'Koha::Schema::Result::AqordersClaim' => 'AqordersClaim',
              'Koha::Schema::Result::ErmDefaultUsageReport' => 'ErmDefaultUsageReport',
              'Koha::Schema::Result::BorrowerPasswordRecovery' => 'BorrowerPasswordRecovery',
              'Koha::Schema::Result::ClubEnrollmentField' => 'ClubEnrollmentField',
              'Koha::Schema::Result::Accountline' => 'Accountline',
              'Koha::Schema::Result::PreservationProcessingAttribute' => 'PreservationProcessingAttribute',
              'Koha::Schema::Result::OaiSet' => 'OaiSet',
              'Koha::Schema::Result::SavedReport' => 'SavedReport',
              'Koha::Schema::Result::AdditionalFieldValue' => 'AdditionalFieldValue',
              'Koha::Schema::Result::Desk' => 'Desk',
              'Koha::Schema::Result::Rating' => 'Rating',
              'Koha::Schema::Result::OauthAccessToken' => 'OauthAccessToken',
              'Koha::Schema::Result::PreservationProcessingAttributesItem' => 'PreservationProcessingAttributesItem',
              'Koha::Schema::Result::PluginData' => 'PluginData',
              'Koha::Schema::Result::AuthorisedValueCategory' => 'AuthorisedValueCategory',
              'Koha::Schema::Result::SearchMarcToField' => 'SearchMarcToField',
              'Koha::Schema::Result::Deletedborrower' => 'Deletedborrower',
              'Koha::Schema::Result::ItemGroup' => 'ItemGroup',
              'Koha::Schema::Result::ErmAgreementRelationship' => 'ErmAgreementRelationship',
              'Koha::Schema::Result::Discharge' => 'Discharge',
              'Koha::Schema::Result::ImportRecord' => 'ImportRecord',
              'Koha::Schema::Result::OverduerulesTransportType' => 'OverduerulesTransportType',
              'Koha::Schema::Result::Item' => 'Item',
              'Koha::Schema::Result::Message' => 'Message',
              'Koha::Schema::Result::CollectionsTracking' => 'CollectionsTracking',
              'Koha::Schema::Result::RepeatableHoliday' => 'RepeatableHoliday',
              'Koha::Schema::Result::Deletedbiblio' => 'Deletedbiblio',
              'Koha::Schema::Result::Illrequestattribute' => 'Illrequestattribute',
              'Koha::Schema::Result::MatchpointComponentNorm' => 'MatchpointComponentNorm',
              'Koha::Schema::Result::Statistic' => 'Statistic',
              'Koha::Schema::Result::Category' => 'Category',
              'Koha::Schema::Result::AdditionalContent' => 'AdditionalContent',
              'Koha::Schema::Result::Matchcheck' => 'Matchcheck',
              'Koha::Schema::Result::Aqcontact' => 'Aqcontact',
              'Koha::Schema::Result::PendingOfflineOperation' => 'PendingOfflineOperation',
              'Koha::Schema::Result::IdentityProvider' => 'IdentityProvider',
              'Koha::Schema::Result::Userflag' => 'Userflag',
              'Koha::Schema::Result::ClubTemplateField' => 'ClubTemplateField',
              'Koha::Schema::Result::OldReserve' => 'OldReserve',
              'Koha::Schema::Result::SearchHistory' => 'SearchHistory',
              'Koha::Schema::Result::MarcOverlayRule' => 'MarcOverlayRule',
              'Koha::Schema::Result::Aqbookseller' => 'Aqbookseller',
              'Koha::Schema::Result::Serial' => 'Serial',
              'Koha::Schema::Result::ProblemReport' => 'ProblemReport',
              'Koha::Schema::Result::CheckoutRenewal' => 'CheckoutRenewal',
              'Koha::Schema::Result::VendorEdiAccount' => 'VendorEdiAccount',
              'Koha::Schema::Result::ColumnsSetting' => 'ColumnsSetting',
              'Koha::Schema::Result::PseudonymizedTransaction' => 'PseudonymizedTransaction',
              'Koha::Schema::Result::LanguageScriptMapping' => 'LanguageScriptMapping',
              'Koha::Schema::Result::OaiSetsDescription' => 'OaiSetsDescription',
              'Koha::Schema::Result::SubscriptionFrequency' => 'SubscriptionFrequency',
              'Koha::Schema::Result::AccountOffset' => 'AccountOffset',
              'Koha::Schema::Result::ClubHold' => 'ClubHold',
              'Koha::Schema::Result::ItemtypesBranch' => 'ItemtypesBranch',
              'Koha::Schema::Result::Club' => 'Club',
              'Koha::Schema::Result::LanguageSubtagRegistry' => 'LanguageSubtagRegistry',
              'Koha::Schema::Result::Branch' => 'Branch',
              'Koha::Schema::Result::MessageTransport' => 'MessageTransport',
              'Koha::Schema::Result::ClubTemplateEnrollmentField' => 'ClubTemplateEnrollmentField',
              'Koha::Schema::Result::BorrowerDebarment' => 'BorrowerDebarment',
              'Koha::Schema::Result::LibrarySmtpServer' => 'LibrarySmtpServer',
              'Koha::Schema::Result::MessageAttribute' => 'MessageAttribute',
              'Koha::Schema::Result::AuthorisedValuesBranch' => 'AuthorisedValuesBranch',
              'Koha::Schema::Result::MarcMatcher' => 'MarcMatcher',
              'Koha::Schema::Result::MarcTagStructure' => 'MarcTagStructure',
              'Koha::Schema::Result::AudioAlert' => 'AudioAlert',
              'Koha::Schema::Result::Virtualshelfshare' => 'Virtualshelfshare',
              'Koha::Schema::Result::ItemGroupItem' => 'ItemGroupItem',
              'Koha::Schema::Result::Matchpoint' => 'Matchpoint',
              'Koha::Schema::Result::NeedMergeAuthority' => 'NeedMergeAuthority',
              'Koha::Schema::Result::PluginMethod' => 'PluginMethod',
              'Koha::Schema::Result::PseudonymizedBorrowerAttribute' => 'PseudonymizedBorrowerAttribute',
              'Koha::Schema::Result::ClassSplitRule' => 'ClassSplitRule',
              'Koha::Schema::Result::Aqbudgetperiod' => 'Aqbudgetperiod',
              'Koha::Schema::Result::ItemtypeLocalization' => 'ItemtypeLocalization',
              'Koha::Schema::Result::ErmUsageDatabase' => 'ErmUsageDatabase',
              'Koha::Schema::Result::Recall' => 'Recall',
              'Koha::Schema::Result::HouseboundVisit' => 'HouseboundVisit',
              'Koha::Schema::Result::SearchFilter' => 'SearchFilter',
              'Koha::Schema::Result::TicketUpdate' => 'TicketUpdate',
              'Koha::Schema::Result::ErmUsageTitle' => 'ErmUsageTitle',
              'Koha::Schema::Result::MessageTransportType' => 'MessageTransportType',
              'Koha::Schema::Result::Aqbasketgroup' => 'Aqbasketgroup',
              '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::ClubField' => 'ClubField',
              'Koha::Schema::Result::ErmUsageMus' => 'ErmUsageMus',
              'Koha::Schema::Result::SocialData' => 'SocialData',
              'Koha::Schema::Result::ImportRecordMatch' => 'ImportRecordMatch',
              'Koha::Schema::Result::ClubHoldsToPatronHold' => 'ClubHoldsToPatronHold',
              'Koha::Schema::Result::LibraryGroup' => 'LibraryGroup',
              'Koha::Schema::Result::Localization' => 'Localization',
              'Koha::Schema::Result::ImportItem' => 'ImportItem',
              'Koha::Schema::Result::IllbatchStatus' => 'IllbatchStatus',
              'Koha::Schema::Result::Aqcontract' => 'Aqcontract',
              'Koha::Schema::Result::CurbsidePickupOpeningSlot' => 'CurbsidePickupOpeningSlot',
              'Koha::Schema::Result::PrintersProfile' => 'PrintersProfile',
              'Koha::Schema::Result::Aqbudgetborrower' => 'Aqbudgetborrower',
              'Koha::Schema::Result::AuthType' => 'AuthType',
              'Koha::Schema::Result::CreatorImage' => 'CreatorImage',
              'Koha::Schema::Result::IdentityProviderDomain' => 'IdentityProviderDomain',
              'Koha::Schema::Result::BranchesOverdrive' => 'BranchesOverdrive',
              'Koha::Schema::Result::Session' => 'Session',
              'Koha::Schema::Result::KeyboardShortcut' => 'KeyboardShortcut',
              'Koha::Schema::Result::Aqorder' => 'Aqorder',
              'Koha::Schema::Result::ImportOaiBiblio' => 'ImportOaiBiblio',
              'Koha::Schema::Result::ErmCounterLog' => 'ErmCounterLog',
              'Koha::Schema::Result::ClubEnrollment' => 'ClubEnrollment',
              'Koha::Schema::Result::Linktracker' => 'Linktracker',
              'Koha::Schema::Result::Letter' => 'Letter',
              'Koha::Schema::Result::BackgroundJob' => 'BackgroundJob',
              'Koha::Schema::Result::Stockrotationrota' => 'Stockrotationrota',
              'Koha::Schema::Result::SpecialHoliday' => 'SpecialHoliday',
              'Koha::Schema::Result::CourseInstructor' => 'CourseInstructor',
              'Koha::Schema::Result::AqordersTransfer' => 'AqordersTransfer',
              'Koha::Schema::Result::ItemCirculationAlertPreference' => 'ItemCirculationAlertPreference',
              'Koha::Schema::Result::Overduerule' => 'Overduerule',
              'Koha::Schema::Result::EdifactEan' => 'EdifactEan',
              'Koha::Schema::Result::Itemtype' => 'Itemtype',
              'Koha::Schema::Result::OaiSetsBiblio' => 'OaiSetsBiblio'
            },
            'storage' => bless( {
              '_driver_determined' => 1,
              '_connect_info' => [
                {
                  'quote_names' => 1,
                  'dbh_maker' => sub { "DUMMY" },
                  'auto_savepoint' => 1
                }
              ],
              '_dbh' => bless( {}, 'DBI::db' ),
              '_sql_maker_opts' => {
                'quote_names' => 1
              },
              'savepoints' => [],
              '_dbh_autocommit' => 1,
              'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
              '_dbh_details' => {
                '_datatype_map_cache' => {
                  'tinyint' => undef,
                  'integer' => undef,
                  'varchar' => undef,
                  'enum' => undef,
                  'mediumtext' => undef
                },
                'info' => {
                  'normalized_dbms_version' => '5.005005',
                  'dbms_version' => '5.5.5-10.6.22-MariaDB-0ubuntu0.22.04.1'
                }
              },
              '_dbic_connect_attributes' => {
                'ShowErrorStatement' => 1,
                'RaiseError' => 1,
                'AutoCommit' => 1,
                'PrintError' => 0
              },
              '_conn_pid' => 2069619,
              'transaction_depth' => 0,
              'auto_savepoint' => 1,
              '_sql_maker' => bless( {
                'limit_dialect' => 'LimitXY',
                'like_op' => qr/^ (is\s+)? r?like $/ix,
                'sqltrue' => '1=1',
                'quote_char' => '`',
                'sqlfalse' => '0=1',
                'array_datatypes' => 1,
                'name_sep' => '.',
                'unary_ops' => [
                  {
                    'regex' => qr/^ and  (?: [_\s]? \d+ )? $/ix,
                    'handler' => '_where_op_ANDOR'
                  },
                  {
                    '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
                  },
                  {
                    'handler' => '_where_op_IDENT',
                    'regex' => qr/^ ident                  $/ix
                  },
                  {
                    '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'
                  },
                  {
                    'handler' => '_where_op_VALUE',
                    'regex' => qr/^ value                 $/ix
                  },
                  {
                    'regex' => qr/^ is (?: \s+ not )?     $/ix,
                    'handler' => '_where_field_IS'
                  }
                ],
                'inequality_op' => qr/^( != | <> )$/ix,
                'equality_op' => qr/^( \= | \= )$/ix,
                'cmp' => '=',
                'not_like_op' => qr/^ (is\s+)? not \s+ r?like $/ix,
                'logic' => 'OR',
                'quote_names' => 1,
                'injection_guard' => qr/
        \;
          |
        ^ \s* go \s
      /mix
              }, 'DBIx::Class::SQLMaker::MySQL' ),
              '_in_do_block' => 0,
              '_dbi_connect_info' => [
                $VAR1->{'_resultset'}{'result_source'}{'schema'}{'storage'}{'_connect_info'}[0]{'dbh_maker'}
              ]
            }, 'DBIx::Class::Storage::DBI::mysql' ),
            'source_registrations' => {
              'Item' => $VAR1->{'_resultset'}{'result_source'},
              'ReturnClaim' => bless( {
                '_columns' => {
                  'notes' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'itemnumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'updated_by' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'resolved_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'timestamp'
                  },
                  'resolution' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'created_by' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'issue_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'updated_on' => {
                    'is_nullable' => 1,
                    'data_type' => 'timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'resolved_by' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'created_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 1
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'item_issue' => [
                    'itemnumber',
                    'issue_id'
                  ],
                  'primary' => [
                    'id'
                  ]
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ReturnClaim'}{'_unique_constraints'}{'primary'},
                'source_name' => 'ReturnClaim',
                '_columns_info_loaded' => 0,
                '_relationships' => {
                  'old_checkout' => {
                    'cond' => {
                      'foreign.issue_id' => 'self.issue_id'
                    },
                    'source' => 'Koha::Schema::Result::OldIssue',
                    'attrs' => {
                      'accessor' => 'single',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'issue_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::OldIssue'
                  },
                  'created_by' => {
                    '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.created_by'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'item' => {
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'itemnumber' => 1
                      },
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single'
                    },
                    'class' => 'Koha::Schema::Result::Item'
                  },
                  'checkout' => {
                    'cond' => {
                      'foreign.issue_id' => 'self.issue_id'
                    },
                    'source' => 'Koha::Schema::Result::Issue',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'accessor' => 'single',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'issue_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::Issue'
                  },
                  'itemnumber' => {
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    '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::Item'
                  },
                  'updated_by' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'filter'
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.updated_by'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  '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'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'resolved_by' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.resolved_by'
                    },
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'on_delete' => 'SET NULL',
                      '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',
                'result_class' => 'Koha::Schema::Result::ReturnClaim',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'id',
                  'itemnumber',
                  'issue_id',
                  'borrowernumber',
                  'notes',
                  'created_on',
                  'created_by',
                  'updated_on',
                  'updated_by',
                  'resolution',
                  'resolved_on',
                  'resolved_by'
                ],
                'name' => 'return_claims'
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmUsageDatabase' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'database_id'
                  ]
                },
                '_columns' => {
                  'usage_data_provider_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'database_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'publisher' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'database' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'publisher_id' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'platform' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  }
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::ErmUsageDatabase',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'erm_usage_muses' => {
                    'class' => 'Koha::Schema::Result::ErmUsageMus',
                    '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::ErmUsageMus'
                  },
                  '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.database_id' => 'self.database_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageYus'
                  },
                  'usage_data_provider' => {
                    'class' => 'Koha::Schema::Result::ErmUsageDataProvider',
                    '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' => {
                        'usage_data_provider_id' => 1
                      }
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageDataProvider',
                    'cond' => {
                      'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
                    }
                  }
                },
                'name' => 'erm_usage_databases',
                '_ordered_columns' => [
                  'database_id',
                  'database',
                  'platform',
                  'publisher',
                  'publisher_id',
                  'usage_data_provider_id'
                ],
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsageDatabase'}{'_unique_constraints'}{'primary'},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'ErmUsageDatabase',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'BiblioMetadata' => bless( {
                '_columns' => {
                  'timestamp' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'metadata' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 0
                  },
                  'biblionumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'format' => {
                    'size' => 16,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'record_source_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'schema' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 16
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ],
                  'biblio_metadata_uniq_key' => [
                    'biblionumber',
                    'format',
                    'schema'
                  ]
                },
                '_ordered_columns' => [
                  'id',
                  'biblionumber',
                  'format',
                  'schema',
                  'metadata',
                  'timestamp',
                  'record_source_id'
                ],
                'name' => 'biblio_metadata',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::BiblioMetadata',
                '_relationships' => {
                  'biblionumber' => {
                    '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.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Biblio',
                    'class' => 'Koha::Schema::Result::Biblio'
                  },
                  'record_source' => {
                    'class' => 'Koha::Schema::Result::RecordSource',
                    'cond' => {
                      'foreign.record_source_id' => 'self.record_source_id'
                    },
                    'source' => 'Koha::Schema::Result::RecordSource',
                    'attrs' => {
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'RESTRICT',
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'record_source_id' => 1
                      }
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BiblioMetadata'}{'_unique_constraints'}{'primary'},
                'source_name' => 'BiblioMetadata'
              }, 'DBIx::Class::ResultSource::Table' ),
              'ImportRecordMatch' => bless( {
                '_columns' => {
                  'import_record_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'score' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'default_value' => 0
                  },
                  'chosen' => {
                    'is_boolean' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'candidate_match_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'import_record_id',
                    'candidate_match_id'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportRecordMatch'}{'_unique_constraints'}{'primary'},
                'source_name' => 'ImportRecordMatch',
                'name' => 'import_record_matches',
                '_ordered_columns' => [
                  'import_record_id',
                  'candidate_match_id',
                  'score',
                  'chosen'
                ],
                '_relationships' => {
                  'import_record' => {
                    'class' => 'Koha::Schema::Result::ImportRecord',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'import_record_id' => 1
                      },
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'cond' => {
                      'foreign.import_record_id' => 'self.import_record_id'
                    },
                    'source' => 'Koha::Schema::Result::ImportRecord'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::ImportRecordMatch',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ClubField' => bless( {
                '_columns' => {
                  'value' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'club_template_field_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'club_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                'name' => 'club_fields',
                '_ordered_columns' => [
                  'id',
                  'club_template_field_id',
                  'club_id',
                  'value'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ClubField',
                'resultset_attributes' => {},
                '_relationships' => {
                  'club' => {
                    'cond' => {
                      'foreign.id' => 'self.club_id'
                    },
                    'source' => 'Koha::Schema::Result::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',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'class' => 'Koha::Schema::Result::Club'
                  },
                  'club_template_field' => {
                    '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_template_field_id' => 1
                      }
                    },
                    'cond' => {
                      'foreign.id' => 'self.club_template_field_id'
                    },
                    'source' => 'Koha::Schema::Result::ClubTemplateField',
                    'class' => 'Koha::Schema::Result::ClubTemplateField'
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubField'}{'_unique_constraints'}{'primary'},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'ClubField'
              }, 'DBIx::Class::ResultSource::Table' ),
              'ColumnsSetting' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'module',
                    'page',
                    'tablename',
                    'columnname'
                  ]
                },
                '_columns' => {
                  'columnname' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    '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
                  },
                  'tablename' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255
                  },
                  'module' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'page' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  }
                },
                'name' => 'columns_settings',
                '_ordered_columns' => [
                  'module',
                  'page',
                  'tablename',
                  'columnname',
                  'cannot_be_toggled',
                  'is_hidden'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::ColumnsSetting',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {},
                'resultset_attributes' => {},
                '_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( {
                '_unique_constraints' => {
                  'primary' => [
                    'document_id'
                  ]
                },
                '_columns' => {
                  'agreement_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'document_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'uri' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'notes' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'file_name' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'uploaded_on' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'file_content' => {
                    'is_nullable' => 1,
                    'data_type' => 'longblob'
                  },
                  'license_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'physical_location' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'file_type' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'file_description' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'ErmDocument',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmDocument'}{'_unique_constraints'}{'primary'},
                '_ordered_columns' => [
                  'document_id',
                  'agreement_id',
                  'license_id',
                  'file_name',
                  'file_type',
                  'file_description',
                  'file_content',
                  'uploaded_on',
                  'physical_location',
                  'uri',
                  'notes'
                ],
                'name' => 'erm_documents',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ErmDocument',
                '_relationships' => {
                  'agreement' => {
                    'class' => 'Koha::Schema::Result::ErmAgreement',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'agreement_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'source' => 'Koha::Schema::Result::ErmAgreement',
                    'cond' => {
                      'foreign.agreement_id' => 'self.agreement_id'
                    }
                  },
                  'license' => {
                    'class' => 'Koha::Schema::Result::ErmLicense',
                    'source' => 'Koha::Schema::Result::ErmLicense',
                    'cond' => {
                      'foreign.license_id' => 'self.license_id'
                    },
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'license_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    }
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'BorrowerRelationship' => bless( {
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'BorrowerRelationship',
                '_columns_info_loaded' => 0,
                '_relationships' => {
                  'guarantor' => {
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'fk_columns' => {
                        'guarantor_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.guarantor_id'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'guarantee' => {
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'guarantee_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.guarantee_id'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'result_class' => 'Koha::Schema::Result::BorrowerRelationship',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'borrower_relationships',
                '_ordered_columns' => [
                  'id',
                  'guarantor_id',
                  'guarantee_id',
                  'relationship'
                ],
                '_columns' => {
                  'relationship' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 100
                  },
                  'guarantor_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'guarantee_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerRelationship'}{'_primaries'},
                  'guarantor_guarantee_idx' => [
                    'guarantor_id',
                    'guarantee_id'
                  ]
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Userflag' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'bit'
                  ]
                },
                '_columns' => {
                  'flag' => {
                    'size' => 30,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'defaulton' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'flagdesc' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'bit' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                'source_name' => 'Userflag',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Userflag'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  'permissions' => {
                    'class' => 'Koha::Schema::Result::Permission',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Permission',
                    'cond' => {
                      'foreign.module_bit' => 'self.bit'
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::Userflag',
                '_ordered_columns' => [
                  'bit',
                  'flag',
                  'flagdesc',
                  'defaulton'
                ],
                'name' => 'userflags'
              }, 'DBIx::Class::ResultSource::Table' ),
              'CategoriesBranch' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'CategoriesBranch',
                '_ordered_columns' => [
                  'categorycode',
                  'branchcode'
                ],
                'name' => 'categories_branches',
                'result_class' => 'Koha::Schema::Result::CategoriesBranch',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'branchcode' => {
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'categorycode' => {
                    'class' => 'Koha::Schema::Result::Category',
                    'attrs' => {
                      'on_update' => 'RESTRICT',
                      '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
                    },
                    'source' => 'Koha::Schema::Result::Category',
                    'cond' => {
                      'foreign.categorycode' => 'self.categorycode'
                    }
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'branchcode' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'categorycode' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'LanguageSubtagRegistry' => bless( {
                '_columns' => {
                  'subtag' => {
                    'size' => 25,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'type' => {
                    'size' => 25,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'description' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'added' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  }
                },
                '_unique_constraints' => {
                  'uniq_lang' => [
                    'subtag',
                    'type'
                  ],
                  'primary' => [
                    'id'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LanguageSubtagRegistry'}{'_unique_constraints'}{'primary'},
                'source_name' => 'LanguageSubtagRegistry',
                'name' => 'language_subtag_registry',
                '_ordered_columns' => [
                  'subtag',
                  'type',
                  'description',
                  'added',
                  'id'
                ],
                'result_class' => 'Koha::Schema::Result::LanguageSubtagRegistry',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ItemtypesBranch' => bless( {
                '_columns' => {
                  'branchcode' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'itemtype' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 10,
                    'is_foreign_key' => 1
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'ItemtypesBranch',
                'name' => 'itemtypes_branches',
                '_ordered_columns' => [
                  'itemtype',
                  'branchcode'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::ItemtypesBranch',
                '_relationships' => {
                  'itemtype' => {
                    'class' => 'Koha::Schema::Result::Itemtype',
                    'source' => 'Koha::Schema::Result::Itemtype',
                    'cond' => {
                      'foreign.itemtype' => 'self.itemtype'
                    },
                    'attrs' => {
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1
                    }
                  },
                  'branchcode' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'accessor' => 'filter',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'RESTRICT',
                      'undef_on_null_fk' => 1
                    }
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'SearchField' => bless( {
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'SearchField',
                '_columns_info_loaded' => 0,
                '_relationships' => {
                  'search_marc_to_fields' => {
                    'cond' => {
                      'foreign.search_field_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::SearchMarcToField',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::SearchMarcToField'
                  }
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::SearchField',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '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'
                ],
                '_columns' => {
                  'label' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'mandatory' => {
                    'is_boolean' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'name' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'weight' => {
                    'size' => [
                      5,
                      2
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'facet_order' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  },
                  'staff_client' => {
                    'default_value' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'opac' => {
                    'default_value' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'authorised_value_category' => {
                    'size' => 32,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'type' => {
                    'extra' => {
                      'list' => [
                        '',
                        'string',
                        'date',
                        'number',
                        'boolean',
                        'sum',
                        'isbn',
                        'stdno',
                        'year',
                        'callnumber',
                        'geo_point'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 0
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                '_unique_constraints' => {
                  'name' => [
                    'name'
                  ],
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SearchField'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Virtualshelfcontent' => bless( {
                '_ordered_columns' => [
                  'shelfnumber',
                  'biblionumber',
                  'dateadded',
                  'borrowernumber'
                ],
                'name' => 'virtualshelfcontents',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'borrowernumber' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    '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',
                      'accessor' => 'filter',
                      'is_depends_on' => 1
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  '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'
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Biblio'
                  },
                  'shelfnumber' => {
                    '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
                    },
                    'cond' => {
                      'foreign.shelfnumber' => 'self.shelfnumber'
                    },
                    'source' => 'Koha::Schema::Result::Virtualshelve',
                    'class' => 'Koha::Schema::Result::Virtualshelve'
                  }
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::Virtualshelfcontent',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'shelfnumber',
                  'biblionumber'
                ],
                'source_name' => 'Virtualshelfcontent',
                '_columns' => {
                  'borrowernumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'dateadded' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'shelfnumber' => {
                    'default_value' => 0,
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'biblionumber' => {
                    'is_foreign_key' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Virtualshelfcontent'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Review' => bless( {
                'name' => 'reviews',
                '_ordered_columns' => [
                  'reviewid',
                  'borrowernumber',
                  'biblionumber',
                  'review',
                  'approved',
                  'datereviewed'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_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,
                      'accessor' => 'filter',
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1
                    }
                  },
                  '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' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'accessor' => 'filter'
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'result_class' => 'Koha::Schema::Result::Review',
                'resultset_attributes' => {},
                '_columns_info_loaded' => 0,
                'source_name' => 'Review',
                '_primaries' => [
                  'reviewid'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Review'}{'_primaries'}
                },
                '_columns' => {
                  'datereviewed' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'datetime',
                    'is_nullable' => 1
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'reviewid' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'approved' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'review' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'biblionumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Serialitem' => bless( {
                '_primaries' => [
                  'itemnumber'
                ],
                'source_name' => 'Serialitem',
                '_columns_info_loaded' => 0,
                '_relationships' => {
                  'itemnumber' => {
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    '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
                    },
                    'class' => 'Koha::Schema::Result::Item'
                  },
                  'serialid' => {
                    'cond' => {
                      'foreign.serialid' => 'self.serialid'
                    },
                    'source' => 'Koha::Schema::Result::Serial',
                    '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::Serial'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Serialitem',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'itemnumber',
                  'serialid'
                ],
                'name' => 'serialitems',
                '_columns' => {
                  'serialid' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'itemnumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Serialitem'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'PreservationProcessing' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'PreservationProcessing',
                '_columns_info_loaded' => 0,
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::PreservationProcessing',
                '_relationships' => {
                  'preservation_trains' => {
                    'class' => 'Koha::Schema::Result::PreservationTrain',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.default_processing_id' => 'self.processing_id'
                    },
                    'source' => 'Koha::Schema::Result::PreservationTrain'
                  },
                  'preservation_processing_attributes' => {
                    'cond' => {
                      'foreign.processing_id' => 'self.processing_id'
                    },
                    'source' => 'Koha::Schema::Result::PreservationProcessingAttribute',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::PreservationProcessingAttribute'
                  },
                  'preservation_trains_items' => {
                    'class' => 'Koha::Schema::Result::PreservationTrainsItem',
                    'cond' => {
                      'foreign.processing_id' => 'self.processing_id'
                    },
                    'source' => 'Koha::Schema::Result::PreservationTrainsItem',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_ordered_columns' => [
                  'processing_id',
                  'name',
                  'letter_code'
                ],
                'name' => 'preservation_processings',
                '_primaries' => [
                  'processing_id'
                ],
                '_columns' => {
                  'name' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'letter_code' => {
                    'size' => 20,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'processing_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PreservationProcessing'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'HoldCancellationRequest' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'HoldCancellationRequest',
                '_columns' => {
                  'creation_date' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'hold_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'hold_cancellation_request_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'hold_cancellation_request_id'
                  ]
                },
                '_ordered_columns' => [
                  'hold_cancellation_request_id',
                  'hold_id',
                  'creation_date'
                ],
                'name' => 'hold_cancellation_requests',
                'result_class' => 'Koha::Schema::Result::HoldCancellationRequest',
                '_relationships' => {
                  'hold' => {
                    'class' => 'Koha::Schema::Result::Reserve',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_update' => 1,
                      'accessor' => 'single',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0
                    },
                    'source' => 'Koha::Schema::Result::Reserve',
                    'cond' => {
                      'foreign.reserve_id' => 'self.hold_id'
                    }
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'HoldCancellationRequest'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'HouseboundRole' => bless( {
                'result_class' => 'Koha::Schema::Result::HouseboundRole',
                '_relationships' => {
                  'borrowernumber' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'borrowernumber_id' => 1
                      },
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber_id'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_ordered_columns' => [
                  'borrowernumber_id',
                  'housebound_chooser',
                  'housebound_deliverer'
                ],
                'name' => 'housebound_role',
                '_primaries' => [
                  'borrowernumber_id'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'HouseboundRole'}{'_primaries'}
                },
                '_columns' => {
                  'housebound_deliverer' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'housebound_chooser' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'borrowernumber_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'HouseboundRole',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'IdentityProvider' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'identity_provider_id'
                  ],
                  'code' => [
                    'code'
                  ]
                },
                '_columns' => {
                  'identity_provider_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'config' => {
                    'is_nullable' => 0,
                    'data_type' => 'longtext'
                  },
                  'description' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'mapping' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 0
                  },
                  'icon_url' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'protocol' => {
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'extra' => {
                      'list' => [
                        'OAuth',
                        'OIDC',
                        'LDAP',
                        'CAS'
                      ]
                    }
                  },
                  'code' => {
                    'size' => 20,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'matchpoint' => {
                    'is_nullable' => 0,
                    'data_type' => 'enum',
                    'extra' => {
                      'list' => [
                        'email',
                        'userid',
                        'cardnumber'
                      ]
                    }
                  }
                },
                'source_name' => 'IdentityProvider',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'IdentityProvider'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'identity_provider_domains' => {
                    'class' => 'Koha::Schema::Result::IdentityProviderDomain',
                    'cond' => {
                      'foreign.identity_provider_id' => 'self.identity_provider_id'
                    },
                    'source' => 'Koha::Schema::Result::IdentityProviderDomain',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'domains' => {
                    'class' => 'Koha::Schema::Result::IdentityProviderDomain',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.identity_provider_id' => 'self.identity_provider_id'
                    },
                    'source' => 'Koha::Schema::Result::IdentityProviderDomain'
                  }
                },
                'result_class' => 'Koha::Schema::Result::IdentityProvider',
                'resultset_attributes' => {},
                '_ordered_columns' => [
                  'identity_provider_id',
                  'code',
                  'description',
                  'protocol',
                  'config',
                  'mapping',
                  'matchpoint',
                  'icon_url'
                ],
                'name' => 'identity_providers'
              }, 'DBIx::Class::ResultSource::Table' ),
              'AqbooksellerInterface' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'interface_id'
                ],
                'source_name' => 'AqbooksellerInterface',
                'name' => 'aqbookseller_interfaces',
                '_ordered_columns' => [
                  'interface_id',
                  'vendor_id',
                  'type',
                  'name',
                  'uri',
                  'login',
                  'password',
                  'account_email',
                  'notes'
                ],
                'result_class' => 'Koha::Schema::Result::AqbooksellerInterface',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'vendor' => {
                    'class' => 'Koha::Schema::Result::Aqbookseller',
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'fk_columns' => {
                        'vendor_id' => 1
                      },
                      '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.vendor_id'
                    }
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'interface_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'account_email' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'name' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'notes' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'uri' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'login' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'vendor_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'type' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'password' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqbooksellerInterface'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmUsageMus' => bless( {
                '_columns' => {
                  'yop' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'usage_data_provider_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'month' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'database_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'metric_type' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 50
                  },
                  'platform_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'report_type' => {
                    'size' => 50,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'monthly_usage_summary_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'access_type' => {
                    'size' => 50,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'title_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'year' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'item_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'usage_count' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'monthly_usage_summary_id'
                  ]
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsageMus'}{'_unique_constraints'}{'primary'},
                'source_name' => 'ErmUsageMus',
                '_columns_info_loaded' => 0,
                'resultset_attributes' => {},
                '_relationships' => {
                  'database' => {
                    'class' => 'Koha::Schema::Result::ErmUsageDatabase',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'database_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.database_id' => 'self.database_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageDatabase'
                  },
                  'usage_data_provider' => {
                    '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
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageDataProvider',
                    'cond' => {
                      'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
                    },
                    'class' => 'Koha::Schema::Result::ErmUsageDataProvider'
                  },
                  'platform' => {
                    'class' => 'Koha::Schema::Result::ErmUsagePlatform',
                    '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' => {
                        'platform_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.platform_id' => 'self.platform_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsagePlatform'
                  },
                  'item' => {
                    'class' => 'Koha::Schema::Result::ErmUsageItem',
                    'cond' => {
                      'foreign.item_id' => 'self.item_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageItem',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'item_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
                    }
                  },
                  'title' => {
                    'cond' => {
                      'foreign.title_id' => 'self.title_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageTitle',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'title_id' => 1
                      },
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'class' => 'Koha::Schema::Result::ErmUsageTitle'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ErmUsageMus',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_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'
                ],
                'name' => 'erm_usage_mus'
              }, 'DBIx::Class::ResultSource::Table' ),
              'AqbudgetsPlanning' => bless( {
                '_primaries' => [
                  'plan_id'
                ],
                '_relationships' => {
                  'budget' => {
                    'class' => 'Koha::Schema::Result::Aqbudget',
                    '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' => {
                        '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' => {},
                'name' => 'aqbudgets_planning',
                '_ordered_columns' => [
                  'plan_id',
                  'budget_id',
                  'budget_period_id',
                  'estimated_amount',
                  'authcat',
                  'authvalue',
                  'display'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqbudgetsPlanning'}{'_primaries'}
                },
                '_columns' => {
                  'authcat' => {
                    'size' => 30,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'display' => {
                    'default_value' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'budget_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'estimated_amount' => {
                    'is_nullable' => 1,
                    'data_type' => 'decimal',
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'plan_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'authvalue' => {
                    'size' => 30,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'budget_period_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                'source_name' => 'AqbudgetsPlanning',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Matchcheck' => bless( {
                '_columns' => {
                  'source_matchpoint_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'matcher_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'matchcheck_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'target_matchpoint_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'matchcheck_id'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Matchcheck'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Matchcheck',
                '_ordered_columns' => [
                  'matcher_id',
                  'matchcheck_id',
                  'source_matchpoint_id',
                  'target_matchpoint_id'
                ],
                'name' => 'matchchecks',
                '_relationships' => {
                  'source_matchpoint' => {
                    'class' => 'Koha::Schema::Result::Matchpoint',
                    'attrs' => {
                      'fk_columns' => {
                        'source_matchpoint_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.matchpoint_id' => 'self.source_matchpoint_id'
                    },
                    'source' => 'Koha::Schema::Result::Matchpoint'
                  },
                  'target_matchpoint' => {
                    'class' => 'Koha::Schema::Result::Matchpoint',
                    'source' => 'Koha::Schema::Result::Matchpoint',
                    'cond' => {
                      'foreign.matchpoint_id' => 'self.target_matchpoint_id'
                    },
                    'attrs' => {
                      'fk_columns' => {
                        'target_matchpoint_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'
                    }
                  },
                  'matcher' => {
                    'source' => 'Koha::Schema::Result::MarcMatcher',
                    'cond' => {
                      'foreign.matcher_id' => 'self.matcher_id'
                    },
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'matcher_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::MarcMatcher'
                  }
                },
                'result_class' => 'Koha::Schema::Result::Matchcheck',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'AqbooksellerIssue' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'issue_id'
                  ]
                },
                '_columns' => {
                  'type' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'notes' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'ended_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'started_on' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'vendor_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'issue_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                'source_name' => 'AqbooksellerIssue',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqbooksellerIssue'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::AqbooksellerIssue',
                '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' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'vendor_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    }
                  }
                },
                '_ordered_columns' => [
                  'issue_id',
                  'vendor_id',
                  'type',
                  'started_on',
                  'ended_on',
                  'notes'
                ],
                'name' => 'aqbookseller_issues'
              }, 'DBIx::Class::ResultSource::Table' ),
              'Quote' => bless( {
                'result_class' => 'Koha::Schema::Result::Quote',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'id',
                  'source',
                  'text',
                  'timestamp'
                ],
                'name' => 'quotes',
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'Quote',
                '_columns_info_loaded' => 0,
                '_columns' => {
                  'timestamp' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'datetime',
                    'is_nullable' => 1
                  },
                  'text' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 0
                  },
                  'source' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Quote'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Biblioitem' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'biblioitemnumber'
                ],
                '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',
                '_relationships' => {
                  'biblionumber' => {
                    'class' => 'Koha::Schema::Result::Biblio',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'filter'
                    },
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    }
                  },
                  'biblio' => {
                    'class' => 'Koha::Schema::Result::Biblio',
                    'attrs' => {
                      'fk_columns' => {
                        'biblionumber' => 1
                      },
                      'undef_on_null_fk' => 1,
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Biblio'
                  },
                  'items' => {
                    'class' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.biblioitemnumber' => 'self.biblioitemnumber'
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'publicationyear' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'collectionissn' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'publishercode' => {
                    'data_type' => 'text',
                    'is_nullable' => 1
                  },
                  'agerestriction' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'cn_suffix' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'volume' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'itemtype' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'notes' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'cn_sort' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'number' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'biblionumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_foreign_key' => 1
                  },
                  'collectionvolume' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'volumedesc' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'url' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'biblioitemnumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'volumedate' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'collectiontitle' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'cn_item' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'cn_source' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'totalissues' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'editionstatement' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'illus' => {
                    'data_type' => 'text',
                    'is_nullable' => 1
                  },
                  'cn_class' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 30
                  },
                  'isbn' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'size' => {
                    'data_type' => 'text',
                    'is_nullable' => 1
                  },
                  'timestamp' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'lccn' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'pages' => {
                    'is_nullable' => 1,
                    'data_type' => 'text'
                  },
                  'place' => {
                    'data_type' => 'text',
                    'is_nullable' => 1
                  },
                  'issn' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'ean' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'editionresponsibility' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Biblioitem'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Localization' => bless( {
                '_columns' => {
                  'lang' => {
                    'size' => 25,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'translation' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'localization_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'code' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 64
                  },
                  'entity' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 16
                  }
                },
                '_unique_constraints' => {
                  'entity_code_lang' => [
                    'entity',
                    'code',
                    'lang'
                  ],
                  'primary' => [
                    'localization_id'
                  ]
                },
                '_ordered_columns' => [
                  'localization_id',
                  'entity',
                  'code',
                  'lang',
                  'translation'
                ],
                'name' => 'localization',
                'result_class' => 'Koha::Schema::Result::Localization',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {},
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Localization'}{'_unique_constraints'}{'primary'},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'Localization'
              }, 'DBIx::Class::ResultSource::Table' ),
              'LanguageRfc4646ToIso639' => bless( {
                '_columns' => {
                  'iso639_2_code' => {
                    'size' => 25,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'rfc4646_subtag' => {
                    'size' => 25,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ],
                  'uniq_code' => [
                    'rfc4646_subtag',
                    'iso639_2_code'
                  ]
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::LanguageRfc4646ToIso639',
                'resultset_attributes' => {},
                '_relationships' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'language_rfc4646_to_iso639',
                '_ordered_columns' => [
                  'rfc4646_subtag',
                  'iso639_2_code',
                  'id'
                ],
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LanguageRfc4646ToIso639'}{'_unique_constraints'}{'primary'},
                'source_name' => 'LanguageRfc4646ToIso639',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'Reserve' => bless( {
                '_columns' => {
                  'lowestPriority' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'accessor' => 'lowest_priority',
                    'is_boolean' => 1
                  },
                  'suspend' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'notificationdate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'item_group_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'suspend_until' => {
                    'data_type' => 'datetime',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'borrowernumber' => {
                    'is_foreign_key' => 1,
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'timestamp' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'waitingdate' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'deleted_biblionumber' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'cancellationdate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'branchcode' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'non_priority' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'reserve_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'priority' => {
                    'default_value' => 1,
                    'data_type' => 'smallint',
                    'is_nullable' => 0
                  },
                  'reservenotes' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'desk_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'biblionumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_foreign_key' => 1
                  },
                  'reminderdate' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'cancellation_reason' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'itemnumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'reservedate' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'itemtype' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'expirationdate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'found' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 1
                  },
                  'item_level_hold' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'patron_expiration_date' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'reserve_id'
                  ]
                },
                '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'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Reserve',
                'resultset_attributes' => {},
                '_relationships' => {
                  'borrowernumber' => {
                    '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
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'desk' => {
                    'class' => 'Koha::Schema::Result::Desk',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'desk_id' => 1
                      },
                      'accessor' => 'single',
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.desk_id' => 'self.desk_id'
                    },
                    'source' => 'Koha::Schema::Result::Desk'
                  },
                  'pickup_library' => {
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'branchcode' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'item_group' => {
                    'class' => 'Koha::Schema::Result::ItemGroup',
                    'source' => 'Koha::Schema::Result::ItemGroup',
                    'cond' => {
                      'foreign.item_group_id' => 'self.item_group_id'
                    },
                    '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' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    }
                  },
                  'biblionumber' => {
                    'class' => 'Koha::Schema::Result::Biblio',
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    '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
                    }
                  },
                  'itembib' => {
                    'attrs' => {
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'biblionumber' => 1
                      }
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    'class' => 'Koha::Schema::Result::Item'
                  },
                  'patron' => {
                    '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,
                      'fk_columns' => {
                        'borrowernumber' => 1
                      },
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'cancellation_requests' => {
                    'cond' => {
                      'foreign.hold_id' => 'self.reserve_id'
                    },
                    'source' => 'Koha::Schema::Result::HoldCancellationRequest',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::HoldCancellationRequest'
                  },
                  'biblio' => {
                    '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,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'biblionumber' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    }
                  },
                  'club_holds_to_patron_holds' => {
                    'class' => 'Koha::Schema::Result::ClubHoldsToPatronHold',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.hold_id' => 'self.reserve_id'
                    },
                    'source' => 'Koha::Schema::Result::ClubHoldsToPatronHold'
                  },
                  'branchcode' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    '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,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter'
                    }
                  },
                  'item' => {
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    'source' => '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' => {
                        'itemnumber' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::Item'
                  },
                  'itemtype' => {
                    'class' => 'Koha::Schema::Result::Itemtype',
                    'cond' => {
                      'foreign.itemtype' => 'self.itemtype'
                    },
                    'source' => 'Koha::Schema::Result::Itemtype',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      '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
                    }
                  },
                  'itemnumber' => {
                    'class' => 'Koha::Schema::Result::Item',
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'filter'
                    }
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Reserve'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Reserve'
              }, 'DBIx::Class::ResultSource::Table' ),
              'AuthType' => bless( {
                '_primaries' => [
                  'authtypecode'
                ],
                '_ordered_columns' => [
                  'authtypecode',
                  'authtypetext',
                  'auth_tag_to_report',
                  'summary'
                ],
                'name' => 'auth_types',
                'result_class' => 'Koha::Schema::Result::AuthType',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'auth_tag_structures' => {
                    'class' => 'Koha::Schema::Result::AuthTagStructure',
                    'source' => 'Koha::Schema::Result::AuthTagStructure',
                    'cond' => {
                      'foreign.authtypecode' => 'self.authtypecode'
                    },
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'auth_subfield_structures' => {
                    'class' => 'Koha::Schema::Result::AuthSubfieldStructure',
                    'cond' => {
                      'foreign.authtypecode' => 'self.authtypecode'
                    },
                    'source' => 'Koha::Schema::Result::AuthSubfieldStructure',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  }
                },
                'resultset_attributes' => {},
                '_columns' => {
                  'summary' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 0
                  },
                  'authtypecode' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'default_value' => ''
                  },
                  'auth_tag_to_report' => {
                    'size' => 3,
                    'default_value' => '',
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'authtypetext' => {
                    'size' => 255,
                    'default_value' => '',
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AuthType'}{'_primaries'}
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'AuthType',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'CreatorBatch' => bless( {
                '_primaries' => [
                  'label_id'
                ],
                '_ordered_columns' => [
                  'label_id',
                  'batch_id',
                  'description',
                  'item_number',
                  'borrower_number',
                  'timestamp',
                  'branch_code',
                  'creator'
                ],
                'name' => 'creator_batches',
                'result_class' => 'Koha::Schema::Result::CreatorBatch',
                '_relationships' => {
                  'borrower_number' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrower_number'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter'
                    }
                  },
                  'item_number' => {
                    'cond' => {
                      'foreign.itemnumber' => 'self.item_number'
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    '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'
                    },
                    'class' => 'Koha::Schema::Result::Item'
                  },
                  'branch_code' => {
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branch_code'
                    },
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'RESTRICT',
                      'undef_on_null_fk' => 1,
                      'accessor' => 'filter',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_columns' => {
                  'item_number' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'label_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'timestamp' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp'
                  },
                  'borrower_number' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'branch_code' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => 'NB',
                    'size' => 10,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'description' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'creator' => {
                    'default_value' => 'Labels',
                    'size' => 15,
                    'is_nullable' => 0,
                    'data_type' => 'char'
                  },
                  'batch_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'default_value' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CreatorBatch'}{'_primaries'}
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'CreatorBatch',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'CheckoutRenewal' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'CheckoutRenewal',
                '_primaries' => [
                  'renewal_id'
                ],
                '_ordered_columns' => [
                  'renewal_id',
                  'checkout_id',
                  'renewer_id',
                  'seen',
                  'interface',
                  'timestamp',
                  'renewal_type'
                ],
                'name' => 'checkout_renewals',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'checkout' => {
                    'class' => 'Koha::Schema::Result::Issue',
                    'source' => 'Koha::Schema::Result::Issue',
                    'cond' => {
                      'foreign.issue_id' => 'self.checkout_id'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'checkout_id' => 1
                      },
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1
                    }
                  },
                  'renewer' => {
                    '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' => {
                        'renewer_id' => 1
                      }
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.renewer_id'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'old_checkout' => {
                    'class' => 'Koha::Schema::Result::OldIssue',
                    'attrs' => {
                      'accessor' => 'single',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'checkout_id' => 1
                      },
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::OldIssue',
                    'cond' => {
                      'foreign.issue_id' => 'self.checkout_id'
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::CheckoutRenewal',
                'resultset_attributes' => {},
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CheckoutRenewal'}{'_primaries'}
                },
                '_columns' => {
                  'interface' => {
                    'size' => 16,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'timestamp' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'renewal_type' => {
                    'default_value' => 'Manual',
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'extra' => {
                      'list' => [
                        'Automatic',
                        'Manual'
                      ]
                    }
                  },
                  'renewer_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'seen' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'renewal_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'checkout_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ImportRecord' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ImportRecord',
                'resultset_attributes' => {},
                '_relationships' => {
                  'import_record_matches' => {
                    'cond' => {
                      'foreign.import_record_id' => 'self.import_record_id'
                    },
                    'source' => 'Koha::Schema::Result::ImportRecordMatch',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::ImportRecordMatch'
                  },
                  'import_auth' => {
                    'class' => 'Koha::Schema::Result::ImportAuth',
                    'source' => 'Koha::Schema::Result::ImportAuth',
                    'cond' => {
                      'foreign.import_record_id' => 'self.import_record_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'single',
                      'cascade_update' => 1
                    }
                  },
                  'import_items' => {
                    'class' => 'Koha::Schema::Result::ImportItem',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.import_record_id' => 'self.import_record_id'
                    },
                    'source' => 'Koha::Schema::Result::ImportItem'
                  },
                  'import_batch' => {
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'import_batch_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.import_batch_id' => 'self.import_batch_id'
                    },
                    'source' => 'Koha::Schema::Result::ImportBatch',
                    'class' => 'Koha::Schema::Result::ImportBatch'
                  },
                  'import_biblio' => {
                    'cond' => {
                      'foreign.import_record_id' => 'self.import_record_id'
                    },
                    'source' => 'Koha::Schema::Result::ImportBiblio',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'single',
                      'cascade_update' => 1,
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::ImportBiblio'
                  }
                },
                '_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',
                'source_name' => 'ImportRecord',
                '_primaries' => [
                  'import_record_id'
                ],
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportRecord'}{'_primaries'}
                },
                '_columns' => {
                  'upload_timestamp' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'encoding' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 40,
                    'default_value' => ''
                  },
                  'import_date' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'marcxml_old' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 0
                  },
                  'import_error' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'import_batch_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'overlay_status' => {
                    'default_value' => 'no_match',
                    'is_nullable' => 0,
                    'data_type' => 'enum',
                    'extra' => {
                      'list' => [
                        'no_match',
                        'auto_match',
                        'manual_match',
                        'match_applied'
                      ]
                    }
                  },
                  'status' => {
                    'default_value' => 'staged',
                    'extra' => {
                      'list' => [
                        'error',
                        'staged',
                        'imported',
                        'reverted',
                        'items_reverted',
                        'ignored'
                      ]
                    },
                    'is_nullable' => 0,
                    'data_type' => 'enum'
                  },
                  'marcxml' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 0
                  },
                  'branchcode' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10
                  },
                  'record_sequence' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'record_type' => {
                    'default_value' => 'biblio',
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'extra' => {
                      'list' => [
                        'biblio',
                        'auth',
                        'holdings'
                      ]
                    }
                  },
                  'import_record_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'marc' => {
                    'is_nullable' => 0,
                    'data_type' => 'longblob'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Deletedbiblioitem' => bless( {
                '_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'
                ],
                'name' => 'deletedbiblioitems',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::Deletedbiblioitem',
                'resultset_attributes' => {},
                '_relationships' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_columns_info_loaded' => 0,
                'source_name' => 'Deletedbiblioitem',
                '_primaries' => [
                  'biblioitemnumber'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Deletedbiblioitem'}{'_primaries'}
                },
                '_columns' => {
                  'cn_item' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'totalissues' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'cn_source' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10
                  },
                  'volumedate' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'biblioitemnumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'collectiontitle' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'ean' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'issn' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'editionresponsibility' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'editionstatement' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'size' => {
                    'is_nullable' => 1,
                    'data_type' => 'text'
                  },
                  'isbn' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'illus' => {
                    'is_nullable' => 1,
                    'data_type' => 'text'
                  },
                  'cn_class' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 30
                  },
                  'lccn' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'pages' => {
                    'data_type' => 'text',
                    'is_nullable' => 1
                  },
                  'timestamp' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'place' => {
                    'is_nullable' => 1,
                    'data_type' => 'text'
                  },
                  'notes' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'itemtype' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'cn_sort' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'number' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'publicationyear' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'collectionissn' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'publishercode' => {
                    'is_nullable' => 1,
                    'data_type' => 'text'
                  },
                  'agerestriction' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'volume' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'cn_suffix' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'biblionumber' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'collectionvolume' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'volumedesc' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'url' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'AccountCreditTypesBranch' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'AccountCreditTypesBranch',
                'name' => 'account_credit_types_branches',
                '_ordered_columns' => [
                  'credit_type_code',
                  'branchcode'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::AccountCreditTypesBranch',
                '_relationships' => {
                  'credit_type_code' => {
                    'class' => 'Koha::Schema::Result::AccountCreditType',
                    'source' => 'Koha::Schema::Result::AccountCreditType',
                    'cond' => {
                      'foreign.code' => 'self.credit_type_code'
                    },
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'RESTRICT',
                      'undef_on_null_fk' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1
                    }
                  },
                  'branchcode' => {
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  }
                },
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'branchcode' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10,
                    'is_foreign_key' => 1
                  },
                  'credit_type_code' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'is_foreign_key' => 1,
                    'size' => 80
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'LanguageScriptBidi' => bless( {
                '_columns' => {
                  'bidi' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 3
                  },
                  'rfc4646_subtag' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 25
                  }
                },
                'name' => 'language_script_bidi',
                '_ordered_columns' => [
                  'rfc4646_subtag',
                  'bidi'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::LanguageScriptBidi',
                '_relationships' => {},
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'LanguageScriptBidi'
              }, 'DBIx::Class::ResultSource::Table' ),
              'AuthorisedValue' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'AuthorisedValue',
                '_ordered_columns' => [
                  'id',
                  'category',
                  'authorised_value',
                  'lib',
                  'lib_opac',
                  'imageurl'
                ],
                'name' => 'authorised_values',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::AuthorisedValue',
                '_relationships' => {
                  'illrequests' => {
                    'class' => 'Koha::Schema::Result::Illrequest',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.status_alias' => 'self.authorised_value'
                    },
                    'source' => 'Koha::Schema::Result::Illrequest'
                  },
                  'authorised_values_branches' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::AuthorisedValuesBranch',
                    'cond' => {
                      'foreign.av_id' => 'self.id'
                    },
                    'class' => 'Koha::Schema::Result::AuthorisedValuesBranch'
                  },
                  'category' => {
                    '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.category_name' => 'self.category'
                    },
                    'source' => 'Koha::Schema::Result::AuthorisedValueCategory',
                    'class' => 'Koha::Schema::Result::AuthorisedValueCategory'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'authorised_value' => {
                    'default_value' => '',
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'lib' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 200
                  },
                  'lib_opac' => {
                    'size' => 200,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'imageurl' => {
                    'size' => 200,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'category' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'size' => 32,
                    'default_value' => '',
                    'is_foreign_key' => 1,
                    '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' ),
              'AqinvoiceAdjustment' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'adjustment_id'
                  ]
                },
                '_columns' => {
                  'adjustment_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'timestamp' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp'
                  },
                  'invoiceid' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'budget_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'encumber_open' => {
                    'is_nullable' => 0,
                    'data_type' => 'smallint',
                    'default_value' => 1
                  },
                  'note' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'reason' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'adjustment' => {
                    'is_nullable' => 1,
                    'data_type' => 'decimal',
                    'size' => [
                      28,
                      6
                    ]
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'AqinvoiceAdjustment',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqinvoiceAdjustment'}{'_unique_constraints'}{'primary'},
                '_ordered_columns' => [
                  'adjustment_id',
                  'invoiceid',
                  'adjustment',
                  'reason',
                  'note',
                  'budget_id',
                  'encumber_open',
                  'timestamp'
                ],
                'name' => 'aqinvoice_adjustments',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::AqinvoiceAdjustment',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'budget' => {
                    'attrs' => {
                      'fk_columns' => {
                        'budget_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      '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',
                    'class' => 'Koha::Schema::Result::Aqbudget'
                  },
                  'invoiceid' => {
                    'source' => 'Koha::Schema::Result::Aqinvoice',
                    'cond' => {
                      'foreign.invoiceid' => 'self.invoiceid'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'is_depends_on' => 1,
                      'on_update' => 'CASCADE'
                    },
                    'class' => 'Koha::Schema::Result::Aqinvoice'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'RestrictionType' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'code'
                  ]
                },
                '_columns' => {
                  'code' => {
                    'size' => 50,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'display_text' => {
                    'data_type' => 'text',
                    'is_nullable' => 0
                  },
                  'fee_limit' => {
                    'size' => [
                      28,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'lift_after_payment' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'is_default' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'is_system' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  }
                },
                'source_name' => 'RestrictionType',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'RestrictionType'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::RestrictionType',
                'resultset_attributes' => {},
                '_relationships' => {
                  'borrower_debarments' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::BorrowerDebarment',
                    'cond' => {
                      'foreign.type' => 'self.code'
                    },
                    'class' => 'Koha::Schema::Result::BorrowerDebarment'
                  }
                },
                '_ordered_columns' => [
                  'code',
                  'display_text',
                  'is_system',
                  'is_default',
                  'lift_after_payment',
                  'fee_limit'
                ],
                'name' => 'restriction_types'
              }, 'DBIx::Class::ResultSource::Table' ),
              'Patronimage' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'borrowernumber'
                  ]
                },
                '_columns' => {
                  'imagefile' => {
                    'is_nullable' => 0,
                    'data_type' => 'mediumblob'
                  },
                  'mimetype' => {
                    'size' => 15,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'borrowernumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'Patronimage',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Patronimage'}{'_unique_constraints'}{'primary'},
                '_ordered_columns' => [
                  'borrowernumber',
                  'mimetype',
                  'imagefile'
                ],
                'name' => 'patronimage',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Patronimage',
                '_relationships' => {
                  'borrowernumber' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    '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
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'resultset_attributes' => {}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Suggestion' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'suggestionid'
                  ]
                },
                '_columns' => {
                  'rejectedby' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'acceptedby' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'place' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'price' => {
                    'size' => [
                      28,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'isbn' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 30
                  },
                  'suggestionid' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'note' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'total' => {
                    'size' => [
                      28,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'lastmodificationby' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'accepteddate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'archived' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'branchcode' => {
                    'is_foreign_key' => 1,
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'lastmodificationdate' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'title' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'budgetid' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'collectiontitle' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'copyrightdate' => {
                    'data_type' => 'smallint',
                    'is_nullable' => 1
                  },
                  'STATUS' => {
                    'size' => 10,
                    'default_value' => '',
                    'accessor' => 'status',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'rejecteddate' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'suggestedby' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'managedby' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'reason' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'volumedesc' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'biblionumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'suggesteddate' => {
                    'is_nullable' => 0,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'currency' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'date' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'quantity' => {
                    'data_type' => 'smallint',
                    'is_nullable' => 1
                  },
                  'patronreason' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'staff_note' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'itemtype' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 30
                  },
                  'publishercode' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'publicationyear' => {
                    'data_type' => 'smallint',
                    'is_nullable' => 1,
                    'default_value' => 0
                  },
                  'author' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'manageddate' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'Suggestion',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Suggestion'}{'_unique_constraints'}{'primary'},
                'name' => 'suggestions',
                '_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'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'acceptedby' => {
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.acceptedby'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'biblionumber' => {
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Biblio',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  },
                  'suggestedby' => {
                    'attrs' => {
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.suggestedby'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'lastmodificationby' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.lastmodificationby'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    }
                  },
                  'branchcode' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    '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
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branch'
                  },
                  'managedby' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.managedby'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  },
                  'rejectedby' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.rejectedby'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    '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
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'suggester' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.suggestedby'
                    },
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'fk_columns' => {
                        'suggestedby' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    }
                  },
                  'budgetid' => {
                    'class' => 'Koha::Schema::Result::Aqbudget',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'filter'
                    },
                    'source' => 'Koha::Schema::Result::Aqbudget',
                    'cond' => {
                      'foreign.budget_id' => 'self.budgetid'
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::Suggestion',
                'resultset_attributes' => {}
              }, 'DBIx::Class::ResultSource::Table' ),
              'CurbsidePickupPolicy' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'CurbsidePickupPolicy',
                '_columns_info_loaded' => 0,
                '_columns' => {
                  'branchcode' => {
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'pickup_interval' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'enabled' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'patrons_per_interval' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'enable_waiting_holds_only' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  },
                  'patron_scheduled_pickup' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  }
                },
                '_unique_constraints' => {
                  'branchcode' => [
                    'branchcode'
                  ],
                  'primary' => [
                    'id'
                  ]
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::CurbsidePickupPolicy',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'branchcode' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    '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
                    }
                  },
                  'curbside_pickup_opening_slots' => {
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::CurbsidePickupOpeningSlot',
                    'cond' => {
                      'foreign.curbside_pickup_policy_id' => 'self.id'
                    },
                    'class' => 'Koha::Schema::Result::CurbsidePickupOpeningSlot'
                  }
                },
                'name' => 'curbside_pickup_policy',
                '_ordered_columns' => [
                  'id',
                  'branchcode',
                  'enabled',
                  'enable_waiting_holds_only',
                  'pickup_interval',
                  'patrons_per_interval',
                  'patron_scheduled_pickup'
                ],
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CurbsidePickupPolicy'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Serial' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'Serial',
                '_primaries' => [
                  'serialid'
                ],
                'name' => 'serial',
                '_ordered_columns' => [
                  'serialid',
                  'biblionumber',
                  'subscriptionid',
                  'serialseq',
                  'serialseq_x',
                  'serialseq_y',
                  'serialseq_z',
                  'status',
                  'planneddate',
                  'notes',
                  'publisheddate',
                  'publisheddatetext',
                  'claimdate',
                  'claims_count',
                  'routingnotes'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                '_relationships' => {
                  'subscriptionid' => {
                    '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',
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'is_depends_on' => 1
                    }
                  },
                  'serialitems' => {
                    'class' => 'Koha::Schema::Result::Serialitem',
                    'source' => 'Koha::Schema::Result::Serialitem',
                    'cond' => {
                      'foreign.serialid' => 'self.serialid'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  },
                  'biblionumber' => {
                    '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::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Serial',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Serial'}{'_primaries'}
                },
                '_columns' => {
                  'serialseq_x' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 100
                  },
                  'serialid' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'planneddate' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'notes' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'routingnotes' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'status' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'publisheddatetext' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 100
                  },
                  'serialseq_y' => {
                    'size' => 100,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'serialseq_z' => {
                    'size' => 100,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'publisheddate' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'biblionumber' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'serialseq' => {
                    'size' => 100,
                    'default_value' => '',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'claims_count' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'claimdate' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'subscriptionid' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Booking' => bless( {
                '_columns' => {
                  'status' => {
                    'default_value' => 'new',
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'extra' => {
                      'list' => [
                        'new',
                        'cancelled',
                        'completed'
                      ]
                    }
                  },
                  'biblio_id' => {
                    'default_value' => 0,
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'start_date' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'datetime',
                    'is_nullable' => 1
                  },
                  'pickup_library_id' => {
                    'is_foreign_key' => 1,
                    'size' => 10,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'end_date' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'modification_date' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'booking_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'cancellation_reason' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'creation_date' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'patron_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    'default_value' => 0
                  },
                  'item_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'booking_id'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Booking'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Booking',
                '_ordered_columns' => [
                  'booking_id',
                  'patron_id',
                  'biblio_id',
                  'item_id',
                  'pickup_library_id',
                  'start_date',
                  'end_date',
                  'creation_date',
                  'modification_date',
                  'status',
                  'cancellation_reason'
                ],
                'name' => 'bookings',
                'resultset_attributes' => {},
                '_relationships' => {
                  'biblio' => {
                    'class' => 'Koha::Schema::Result::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
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblio_id'
                    },
                    'source' => 'Koha::Schema::Result::Biblio'
                  },
                  'patron' => {
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'patron_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.patron_id'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'item' => {
                    'class' => 'Koha::Schema::Result::Item',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'item_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.itemnumber' => 'self.item_id'
                    },
                    'source' => 'Koha::Schema::Result::Item'
                  },
                  'pickup_library' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'pickup_library_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.pickup_library_id'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'class' => 'Koha::Schema::Result::Branch'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Booking',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'SubscriptionNumberpattern' => bless( {
                '_columns' => {
                  'whenmorethan1' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'numberingmethod' => {
                    'size' => 255,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'setto3' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'label' => {
                    'size' => 255,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'numbering2' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'add3' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'label1' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'every1' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'whenmorethan3' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'setto2' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'every3' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'label3' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'description' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'displayorder' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'add1' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'setto1' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'add2' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'numbering3' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'every2' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'label2' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'numbering1' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'whenmorethan2' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SubscriptionNumberpattern'}{'_unique_constraints'}{'primary'},
                'source_name' => 'SubscriptionNumberpattern',
                '_columns_info_loaded' => 0,
                'result_class' => 'Koha::Schema::Result::SubscriptionNumberpattern',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'subscriptions' => {
                    'source' => 'Koha::Schema::Result::Subscription',
                    'cond' => {
                      'foreign.numberpattern' => 'self.id'
                    },
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Subscription'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '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'
                ]
              }, 'DBIx::Class::ResultSource::Table' ),
              'PseudonymizedTransaction' => bless( {
                'source_name' => 'PseudonymizedTransaction',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_primaries' => [
                  'id'
                ],
                'result_class' => 'Koha::Schema::Result::PseudonymizedTransaction',
                '_relationships' => {
                  'pseudonymized_borrower_attributes' => {
                    'class' => 'Koha::Schema::Result::PseudonymizedBorrowerAttribute',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.transaction_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::PseudonymizedBorrowerAttribute'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_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'
                ],
                'name' => 'pseudonymized_transactions',
                '_columns' => {
                  'transaction_branchcode' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'zipcode' => {
                    'size' => 25,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'sort1' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'country' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'state' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'ccode' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'datetime' => {
                    'data_type' => 'datetime',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'itemnumber' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'itemtype' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10
                  },
                  'homebranch' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'location' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'categorycode' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'default_value' => '',
                    'size' => 10
                  },
                  'holdingbranch' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'has_cardnumber' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'is_boolean' => 1
                  },
                  'itemcallnumber' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'city' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'hashed_borrowernumber' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 60
                  },
                  'branchcode' => {
                    'default_value' => '',
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'sort2' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'title' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'sex' => {
                    'size' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'dateenrolled' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'transaction_type' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 16
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PseudonymizedTransaction'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmUsagePlatform' => bless( {
                'source_name' => 'ErmUsagePlatform',
                '_primaries' => [
                  'platform_id'
                ],
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                '_relationships' => {
                  'usage_data_provider' => {
                    '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' => {
                        'usage_data_provider_id' => 1
                      }
                    },
                    'cond' => {
                      'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageDataProvider',
                    'class' => 'Koha::Schema::Result::ErmUsageDataProvider'
                  },
                  'erm_usage_muses' => {
                    'cond' => {
                      'foreign.platform_id' => 'self.platform_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageMus',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::ErmUsageMus'
                  },
                  'erm_usage_yuses' => {
                    'class' => 'Koha::Schema::Result::ErmUsageYus',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageYus',
                    'cond' => {
                      'foreign.platform_id' => 'self.platform_id'
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::ErmUsagePlatform',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_ordered_columns' => [
                  'platform_id',
                  'platform',
                  'usage_data_provider_id'
                ],
                'name' => 'erm_usage_platforms',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsagePlatform'}{'_primaries'}
                },
                '_columns' => {
                  'platform' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'platform_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'usage_data_provider_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'NeedMergeAuthority' => bless( {
                'name' => 'need_merge_authorities',
                '_ordered_columns' => [
                  'id',
                  'authid',
                  'authid_new',
                  'reportxml',
                  'timestamp',
                  'done'
                ],
                'result_class' => 'Koha::Schema::Result::NeedMergeAuthority',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'NeedMergeAuthority',
                '_columns' => {
                  'authid' => {
                    'is_nullable' => 0,
                    'data_type' => 'bigint'
                  },
                  'reportxml' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'done' => {
                    'default_value' => 0,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'authid_new' => {
                    'is_nullable' => 1,
                    'data_type' => 'bigint'
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'timestamp' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'NeedMergeAuthority'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Systempreference' => bless( {
                '_columns' => {
                  'options' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'value' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'explanation' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'type' => {
                    'size' => 20,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'variable' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 50
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'variable'
                  ]
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Systempreference'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Systempreference',
                '_columns_info_loaded' => 0,
                'resultset_attributes' => {},
                '_relationships' => {},
                'result_class' => 'Koha::Schema::Result::Systempreference',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'variable',
                  'value',
                  'options',
                  'explanation',
                  'type'
                ],
                'name' => 'systempreferences'
              }, 'DBIx::Class::ResultSource::Table' ),
              'LanguageScriptMapping' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'language_subtag'
                  ]
                },
                '_columns' => {
                  'language_subtag' => {
                    'size' => 25,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'script_subtag' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 25
                  }
                },
                'source_name' => 'LanguageScriptMapping',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LanguageScriptMapping'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::LanguageScriptMapping',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {},
                'name' => 'language_script_mapping',
                '_ordered_columns' => [
                  'language_subtag',
                  'script_subtag'
                ]
              }, 'DBIx::Class::ResultSource::Table' ),
              'Deletedborrower' => bless( {
                '_columns' => {
                  'B_email' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext',
                    'accessor' => 'b_email'
                  },
                  'altcontactaddress3' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'sort1' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'country' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'state' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'address2' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'contacttitle' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'pronouns' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'privacy_guarantor_fines' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'protected' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'preferred_name' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'altcontactzipcode' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'cardnumber' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 32
                  },
                  'anonymized' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'altcontactsurname' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'privacy_guarantor_checkouts' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'B_streettype' => {
                    'data_type' => 'tinytext',
                    'is_nullable' => 1,
                    'accessor' => 'b_streettype'
                  },
                  'lang' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 25,
                    'default_value' => 'default'
                  },
                  'B_state' => {
                    'accessor' => 'b_state',
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'secret' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'debarred' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'streetnumber' => {
                    'data_type' => 'tinytext',
                    'is_nullable' => 1
                  },
                  'firstname' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'primary_contact_method' => {
                    'size' => 45,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'categorycode' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 10,
                    'default_value' => ''
                  },
                  'lost' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  },
                  'initials' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'contactname' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'emailpro' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'borrowernumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'smsalertnumber' => {
                    'size' => 50,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'updated_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'branchcode' => {
                    'default_value' => '',
                    'size' => 10,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'phone' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'sex' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 1
                  },
                  'checkprevcheckout' => {
                    'default_value' => 'inherit',
                    'size' => 7,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'fax' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'dateexpiry' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'altcontactphone' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'lastseen' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'othernames' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'surname' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'date_renewed' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'phonepro' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'zipcode' => {
                    'data_type' => 'tinytext',
                    'is_nullable' => 1
                  },
                  'contactnote' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'address' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'auth_method' => {
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'extra' => {
                      'list' => [
                        'password',
                        'two-factor'
                      ]
                    },
                    'default_value' => 'password'
                  },
                  'streettype' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinytext'
                  },
                  'password' => {
                    'size' => 60,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'email' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'dateofbirth' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    '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' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'borrowernotes' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'flags' => {
                    'data_type' => 'bigint',
                    'is_nullable' => 1
                  },
                  'userid' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 75
                  },
                  'B_streetnumber' => {
                    'accessor' => 'b_streetnumber',
                    'is_nullable' => 1,
                    'data_type' => 'tinytext'
                  },
                  'privacy' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'default_value' => 1
                  },
                  'altcontactaddress2' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'city' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'altcontactstate' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'overdrive_auth_token' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'opacnote' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'B_address' => {
                    'accessor' => 'b_address',
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'mobile' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinytext'
                  },
                  'B_address2' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext',
                    'accessor' => 'b_address2'
                  },
                  'password_expiration_date' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'altcontactfirstname' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'B_country' => {
                    'accessor' => 'b_country',
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'title' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'gonenoaddress' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1,
                    'is_boolean' => 1
                  },
                  'sort2' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'altcontactaddress1' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'sms_provider_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'middle_name' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'altcontactcountry' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'debarredcomment' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'autorenew_checkouts' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 1
                  },
                  'dateenrolled' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'B_city' => {
                    'accessor' => 'b_city',
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'relationship' => {
                    'size' => 100,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'login_attempts' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'default_value' => 0
                  }
                },
                '_relationships' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Deletedborrower',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_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',
                'source_name' => 'Deletedborrower',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'CourseItem' => bless( {
                '_primaries' => [
                  'ci_id'
                ],
                'source_name' => 'CourseItem',
                '_columns_info_loaded' => 0,
                'resultset_attributes' => {},
                '_relationships' => {
                  'homebranch_storage' => {
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.homebranch_storage'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'course_reserves' => {
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.ci_id' => 'self.ci_id'
                    },
                    'source' => 'Koha::Schema::Result::CourseReserve',
                    'class' => 'Koha::Schema::Result::CourseReserve'
                  },
                  'homebranch' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'filter'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.homebranch'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'itemnumber' => {
                    'class' => 'Koha::Schema::Result::Item',
                    '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
                    },
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    'source' => 'Koha::Schema::Result::Item'
                  },
                  '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'
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Biblio'
                  },
                  'holdingbranch' => {
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      '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::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.holdingbranch'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::CourseItem',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'course_items',
                '_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'
                ],
                '_columns' => {
                  'holdingbranch' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    'size' => 10,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'homebranch_enabled' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'location' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'itemnumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'homebranch' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10,
                    'is_foreign_key' => 1
                  },
                  'ccode' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'itype' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'homebranch_storage' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'location_enabled' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'enabled' => {
                    'default_value' => 'no',
                    'extra' => {
                      'list' => [
                        'yes',
                        'no'
                      ]
                    },
                    'is_nullable' => 0,
                    'data_type' => 'enum'
                  },
                  'biblionumber' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'timestamp' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  },
                  'holdingbranch_enabled' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'location_storage' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'itype_storage' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'ccode_storage' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'itype_enabled' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'is_boolean' => 1
                  },
                  'ccode_enabled' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'holdingbranch_storage' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'ci_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  }
                },
                '_unique_constraints' => {
                  'itemnumber' => [
                    'itemnumber'
                  ],
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CourseItem'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'AccountCreditType' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'code'
                  ]
                },
                '_columns' => {
                  'code' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'archived' => {
                    'is_boolean' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'credit_number_enabled' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'is_boolean' => 1
                  },
                  'description' => {
                    'size' => 200,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'is_system' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  },
                  'can_be_added_manually' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 1
                  }
                },
                'name' => 'account_credit_types',
                '_ordered_columns' => [
                  'code',
                  'description',
                  'can_be_added_manually',
                  'credit_number_enabled',
                  'is_system',
                  'archived'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  'accountlines' => {
                    'source' => 'Koha::Schema::Result::Accountline',
                    'cond' => {
                      'foreign.credit_type_code' => 'self.code'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::Accountline'
                  },
                  'account_credit_types_branches' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.credit_type_code' => 'self.code'
                    },
                    'source' => 'Koha::Schema::Result::AccountCreditTypesBranch',
                    'class' => 'Koha::Schema::Result::AccountCreditTypesBranch'
                  }
                },
                'result_class' => 'Koha::Schema::Result::AccountCreditType',
                '_columns_info_loaded' => 0,
                'source_name' => 'AccountCreditType',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AccountCreditType'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'AuthHeader' => bless( {
                '_primaries' => [
                  'authid'
                ],
                'source_name' => 'AuthHeader',
                '_columns_info_loaded' => 0,
                '_relationships' => {
                  'import_oai_authorities' => {
                    'class' => 'Koha::Schema::Result::ImportOaiAuthority',
                    'cond' => {
                      'foreign.authid' => 'self.authid'
                    },
                    'source' => 'Koha::Schema::Result::ImportOaiAuthority',
                    '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::AuthHeader',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'authid',
                  'authtypecode',
                  'datecreated',
                  'modification_time',
                  'heading',
                  'origincode',
                  'authtrees',
                  'marc',
                  'linkid',
                  'marcxml'
                ],
                'name' => 'auth_header',
                '_columns' => {
                  'modification_time' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'origincode' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 20
                  },
                  'marc' => {
                    'is_nullable' => 1,
                    'data_type' => 'blob'
                  },
                  'authid' => {
                    'data_type' => 'bigint',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1,
                    'extra' => {
                      'unsigned' => 1
                    }
                  },
                  'datecreated' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'linkid' => {
                    'is_nullable' => 1,
                    'data_type' => 'bigint'
                  },
                  'marcxml' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 0
                  },
                  'heading' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'authtypecode' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'default_value' => ''
                  },
                  'authtrees' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AuthHeader'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Zebraqueue' => bless( {
                '_columns' => {
                  'done' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'time' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'biblio_auth_number' => {
                    'extra' => {
                      'unsigned' => 1
                    },
                    'is_nullable' => 0,
                    'data_type' => 'bigint',
                    'default_value' => 0
                  },
                  'server' => {
                    'data_type' => 'char',
                    'is_nullable' => 0,
                    'default_value' => '',
                    'size' => 20
                  },
                  'operation' => {
                    'data_type' => 'char',
                    'is_nullable' => 0,
                    'size' => 20,
                    'default_value' => ''
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Zebraqueue'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Zebraqueue',
                'name' => 'zebraqueue',
                '_ordered_columns' => [
                  'id',
                  'biblio_auth_number',
                  'operation',
                  'server',
                  'done',
                  'time'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Zebraqueue',
                'resultset_attributes' => {},
                '_relationships' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'PendingOfflineOperation' => bless( {
                '_ordered_columns' => [
                  'operationid',
                  'userid',
                  'branchcode',
                  'timestamp',
                  'action',
                  'barcode',
                  'cardnumber',
                  'amount'
                ],
                'name' => 'pending_offline_operations',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {},
                'result_class' => 'Koha::Schema::Result::PendingOfflineOperation',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'operationid'
                ],
                'source_name' => 'PendingOfflineOperation',
                '_columns' => {
                  'action' => {
                    'size' => 10,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'amount' => {
                    'data_type' => 'decimal',
                    'is_nullable' => 1,
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'operationid' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'timestamp' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'barcode' => {
                    'size' => 20,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'userid' => {
                    'size' => 30,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'branchcode' => {
                    'size' => 10,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'cardnumber' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 32
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PendingOfflineOperation'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'IllbatchStatus' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::IllbatchStatus',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  'illbatches' => {
                    'class' => 'Koha::Schema::Result::Illbatch',
                    'source' => 'Koha::Schema::Result::Illbatch',
                    'cond' => {
                      'foreign.status_code' => 'self.code'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  }
                },
                'name' => 'illbatch_statuses',
                '_ordered_columns' => [
                  'id',
                  'name',
                  'code',
                  'is_system'
                ],
                'source_name' => 'IllbatchStatus',
                '_primaries' => [
                  'id'
                ],
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'u_illbatchstatuses__code' => [
                    'code'
                  ],
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'IllbatchStatus'}{'_primaries'}
                },
                '_columns' => {
                  'is_system' => {
                    'is_boolean' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'name' => {
                    'size' => 100,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'code' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 20
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'MarcOverlayRule' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'MarcOverlayRule',
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns' => {
                  'add' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'module' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 127
                  },
                  'filter' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255
                  },
                  'tag' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'append' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  },
                  'remove' => {
                    'is_boolean' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'delete' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'accessor' => undef,
                    'default_value' => 0
                  }
                },
                '_ordered_columns' => [
                  'id',
                  'tag',
                  'module',
                  'filter',
                  'add',
                  'append',
                  'remove',
                  'delete'
                ],
                'name' => 'marc_overlay_rules',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::MarcOverlayRule',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {},
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcOverlayRule'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'SavedSql' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'SavedSql',
                '_primaries' => [
                  'id'
                ],
                '_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'
                ],
                'name' => 'saved_sql',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                '_relationships' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::SavedSql',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SavedSql'}{'_primaries'}
                },
                '_columns' => {
                  'report_area' => {
                    'size' => 6,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'last_run' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'savedsql' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'last_modified' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'notes' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'report_name' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 255
                  },
                  'public' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'type' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'date_created' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'borrowernumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'report_subgroup' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'report_group' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'mana_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'cache_expiry' => {
                    'default_value' => 300,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'AdditionalFieldValue' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::AdditionalFieldValue',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'field' => {
                    'class' => 'Koha::Schema::Result::AdditionalField',
                    'source' => 'Koha::Schema::Result::AdditionalField',
                    'cond' => {
                      'foreign.id' => 'self.field_id'
                    },
                    'attrs' => {
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'field_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    }
                  }
                },
                '_ordered_columns' => [
                  'id',
                  'field_id',
                  'record_id',
                  'value'
                ],
                'name' => 'additional_field_values',
                'source_name' => 'AdditionalFieldValue',
                '_primaries' => [
                  'id'
                ],
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AdditionalFieldValue'}{'_primaries'}
                },
                '_columns' => {
                  'record_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'field_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'value' => {
                    'default_value' => '',
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'OaiSetsBiblio' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'OaiSetsBiblio',
                '_columns' => {
                  'biblionumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'set_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'biblionumber',
                    'set_id'
                  ]
                },
                'name' => 'oai_sets_biblios',
                '_ordered_columns' => [
                  'biblionumber',
                  'set_id'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::OaiSetsBiblio',
                '_relationships' => {
                  'set' => {
                    'class' => 'Koha::Schema::Result::OaiSet',
                    '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' => {
                        'set_id' => 1
                      }
                    },
                    'cond' => {
                      'foreign.id' => 'self.set_id'
                    },
                    'source' => 'Koha::Schema::Result::OaiSet'
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'OaiSetsBiblio'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'UploadedFile' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'UploadedFile',
                'name' => 'uploaded_files',
                '_ordered_columns' => [
                  'id',
                  'hashvalue',
                  'filename',
                  'dir',
                  'filesize',
                  'dtcreated',
                  'uploadcategorycode',
                  'owner',
                  'public',
                  'permanent'
                ],
                'result_class' => 'Koha::Schema::Result::UploadedFile',
                '_relationships' => {},
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'dir' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 0
                  },
                  'permanent' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'hashvalue' => {
                    'size' => 40,
                    'data_type' => 'char',
                    'is_nullable' => 0
                  },
                  'uploadcategorycode' => {
                    'data_type' => 'text',
                    'is_nullable' => 1
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'public' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'filesize' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'owner' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'dtcreated' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'filename' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'UploadedFile'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'PreservationTrainsItem' => bless( {
                'source_name' => 'PreservationTrainsItem',
                '_primaries' => [
                  'train_item_id'
                ],
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::PreservationTrainsItem',
                '_relationships' => {
                  'preservation_processing_attributes_items' => {
                    'cond' => {
                      'foreign.train_item_id' => 'self.train_item_id'
                    },
                    'source' => 'Koha::Schema::Result::PreservationProcessingAttributesItem',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::PreservationProcessingAttributesItem'
                  },
                  'processing' => {
                    'source' => 'Koha::Schema::Result::PreservationProcessing',
                    'cond' => {
                      'foreign.processing_id' => 'self.processing_id'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'processing_id' => 1
                      },
                      'accessor' => 'single',
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'class' => 'Koha::Schema::Result::PreservationProcessing'
                  },
                  'item' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'item_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single'
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.item_id'
                    },
                    'class' => 'Koha::Schema::Result::Item'
                  },
                  'train' => {
                    'class' => 'Koha::Schema::Result::PreservationTrain',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'train_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    },
                    'source' => 'Koha::Schema::Result::PreservationTrain',
                    'cond' => {
                      'foreign.train_id' => 'self.train_id'
                    }
                  }
                },
                'name' => 'preservation_trains_items',
                '_ordered_columns' => [
                  'train_item_id',
                  'train_id',
                  'item_id',
                  'processing_id',
                  'user_train_item_id',
                  'added_on'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PreservationTrainsItem'}{'_primaries'},
                  'train_id' => [
                    'train_id',
                    'item_id'
                  ]
                },
                '_columns' => {
                  'processing_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'train_item_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'item_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'train_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'user_train_item_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'added_on' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Biblio' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'biblionumber'
                  ]
                },
                '_columns' => {
                  'notes' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'title' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'medium' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'part_number' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'seriestitle' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'author' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'part_name' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'serial' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1,
                    'is_boolean' => 1
                  },
                  'copyrightdate' => {
                    'is_nullable' => 1,
                    'data_type' => 'smallint'
                  },
                  'datecreated' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'date'
                  },
                  'abstract' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'biblionumber' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'subtitle' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'frameworkcode' => {
                    'size' => 4,
                    'default_value' => '',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'unititle' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'timestamp' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  }
                },
                'source_name' => 'Biblio',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Biblio'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'ill_requests' => {
                    'class' => 'Koha::Schema::Result::Illrequest',
                    'cond' => {
                      'foreign.biblio_id' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Illrequest',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'item_groups' => {
                    'class' => 'Koha::Schema::Result::ItemGroup',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.biblio_id' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::ItemGroup'
                  },
                  'hold_fill_targets' => {
                    'class' => 'Koha::Schema::Result::HoldFillTarget',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::HoldFillTarget',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    }
                  },
                  'tmp_holdsqueues' => {
                    'class' => 'Koha::Schema::Result::TmpHoldsqueue',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::TmpHoldsqueue'
                  },
                  'import_oai_biblios' => {
                    'class' => 'Koha::Schema::Result::ImportOaiBiblio',
                    'source' => 'Koha::Schema::Result::ImportOaiBiblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    }
                  },
                  'club_holds' => {
                    'class' => 'Koha::Schema::Result::ClubHold',
                    'cond' => {
                      'foreign.biblio_id' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::ClubHold',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'suggestions' => {
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Suggestion',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'class' => 'Koha::Schema::Result::Suggestion'
                  },
                  'bookings' => {
                    'class' => 'Koha::Schema::Result::Booking',
                    'source' => 'Koha::Schema::Result::Booking',
                    'cond' => {
                      'foreign.biblio_id' => 'self.biblionumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    }
                  },
                  'virtualshelfcontents' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Virtualshelfcontent',
                    'class' => 'Koha::Schema::Result::Virtualshelfcontent'
                  },
                  'biblioitems' => {
                    'class' => 'Koha::Schema::Result::Biblioitem',
                    'source' => 'Koha::Schema::Result::Biblioitem',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'serials' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Serial',
                    'class' => 'Koha::Schema::Result::Serial'
                  },
                  'metadata' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_update' => 1,
                      'is_depends_on' => 0,
                      'accessor' => 'single',
                      'cascade_delete' => 0
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::BiblioMetadata',
                    'class' => 'Koha::Schema::Result::BiblioMetadata'
                  },
                  'biblioitem' => {
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Biblioitem',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Biblioitem'
                  },
                  'orders' => {
                    'source' => 'Koha::Schema::Result::Aqorder',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::Aqorder'
                  },
                  'erm_eholdings_titles' => {
                    'class' => 'Koha::Schema::Result::ErmEholdingsTitle',
                    'cond' => {
                      'foreign.biblio_id' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::ErmEholdingsTitle',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    }
                  },
                  'course_items' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::CourseItem',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'class' => 'Koha::Schema::Result::CourseItem'
                  },
                  'ratings' => {
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Rating',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Rating'
                  },
                  'biblio_metadatas' => {
                    'source' => 'Koha::Schema::Result::BiblioMetadata',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::BiblioMetadata'
                  },
                  'old_reserves' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::OldReserve',
                    'class' => 'Koha::Schema::Result::OldReserve'
                  },
                  'reserves' => {
                    'class' => 'Koha::Schema::Result::Reserve',
                    'source' => 'Koha::Schema::Result::Reserve',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    }
                  },
                  'illrequests' => {
                    'source' => 'Koha::Schema::Result::Illrequest',
                    'cond' => {
                      'foreign.biblio_id' => 'self.biblionumber'
                    },
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Illrequest'
                  },
                  'article_requests' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::ArticleRequest',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'class' => 'Koha::Schema::Result::ArticleRequest'
                  },
                  'tags_all' => {
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::TagAll',
                    'class' => 'Koha::Schema::Result::TagAll'
                  },
                  'items' => {
                    'source' => 'Koha::Schema::Result::Item',
                    '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::Item'
                  },
                  'reviews' => {
                    'class' => 'Koha::Schema::Result::Review',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Review',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    }
                  },
                  'subscriptions' => {
                    'class' => 'Koha::Schema::Result::Subscription',
                    'source' => 'Koha::Schema::Result::Subscription',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    }
                  },
                  'cover_images' => {
                    'source' => 'Koha::Schema::Result::CoverImage',
                    '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::CoverImage'
                  },
                  'tickets' => {
                    'class' => 'Koha::Schema::Result::Ticket',
                    'source' => 'Koha::Schema::Result::Ticket',
                    'cond' => {
                      'foreign.biblio_id' => 'self.biblionumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    }
                  },
                  'recalls' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.biblio_id' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Recall',
                    'class' => 'Koha::Schema::Result::Recall'
                  },
                  'tags_indexes' => {
                    'class' => 'Koha::Schema::Result::TagsIndex',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::TagsIndex',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'aqorders' => {
                    'class' => 'Koha::Schema::Result::Aqorder',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Aqorder',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    }
                  },
                  'subscriptionhistories' => {
                    'class' => 'Koha::Schema::Result::Subscriptionhistory',
                    'source' => 'Koha::Schema::Result::Subscriptionhistory',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  },
                  'linktrackers' => {
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Linktracker',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'class' => 'Koha::Schema::Result::Linktracker'
                  }
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::Biblio',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_ordered_columns' => [
                  'biblionumber',
                  'frameworkcode',
                  'author',
                  'title',
                  'medium',
                  'subtitle',
                  'part_number',
                  'part_name',
                  'unititle',
                  'notes',
                  'serial',
                  'seriestitle',
                  'copyrightdate',
                  'timestamp',
                  'datecreated',
                  'abstract'
                ],
                'name' => 'biblio'
              }, 'DBIx::Class::ResultSource::Table' ),
              'AuthorisedValueCategory' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'category_name'
                ],
                'source_name' => 'AuthorisedValueCategory',
                'name' => 'authorised_value_categories',
                '_ordered_columns' => [
                  'category_name',
                  'is_system',
                  'is_integer_only'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::AuthorisedValueCategory',
                'resultset_attributes' => {},
                '_relationships' => {
                  'items_search_fields' => {
                    'class' => 'Koha::Schema::Result::ItemsSearchField',
                    'source' => 'Koha::Schema::Result::ItemsSearchField',
                    'cond' => {
                      'foreign.authorised_values_category' => 'self.category_name'
                    },
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'marc_subfield_structures' => {
                    'class' => 'Koha::Schema::Result::MarcSubfieldStructure',
                    'cond' => {
                      'foreign.authorised_value' => 'self.category_name'
                    },
                    'source' => 'Koha::Schema::Result::MarcSubfieldStructure',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'authorised_values' => {
                    'cond' => {
                      'foreign.category' => 'self.category_name'
                    },
                    'source' => 'Koha::Schema::Result::AuthorisedValue',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::AuthorisedValue'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_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,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AuthorisedValueCategory'}{'_primaries'}
                }
              }, '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'},
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::TagAll',
                '_relationships' => {
                  'borrowernumber' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'SET NULL',
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    }
                  },
                  'biblionumber' => {
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'is_foreign_key_constraint' => 1
                    },
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'TagAll',
                '_primaries' => [
                  'tag_id'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TagAll'}{'_primaries'}
                },
                '_columns' => {
                  'borrowernumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'date_created' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'datetime'
                  },
                  'tag_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'biblionumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'term' => {
                    'size' => 191,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'language' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'AdditionalContent' => bless( {
                '_columns' => {
                  'updated_on' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1,
                    'extra' => {
                      'unsigned' => 1
                    }
                  },
                  'location' => {
                    'size' => 255,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'published_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'category' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 20
                  },
                  'borrowernumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'code' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 100
                  },
                  'branchcode' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'number' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'expirationdate' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  }
                },
                '_unique_constraints' => {
                  'additional_contents_uniq' => [
                    'category',
                    'code',
                    'branchcode'
                  ],
                  'primary' => [
                    'id'
                  ]
                },
                'result_class' => 'Koha::Schema::Result::AdditionalContent',
                '_relationships' => {
                  'additional_contents_localizations' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::AdditionalContentsLocalization',
                    'cond' => {
                      'foreign.additional_content_id' => 'self.id'
                    },
                    'class' => 'Koha::Schema::Result::AdditionalContentsLocalization'
                  },
                  '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,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    }
                  },
                  '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' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'id',
                  'category',
                  'code',
                  'location',
                  'branchcode',
                  'published_on',
                  'updated_on',
                  'expirationdate',
                  'number',
                  'borrowernumber'
                ],
                'name' => 'additional_contents',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AdditionalContent'}{'_unique_constraints'}{'primary'},
                'source_name' => 'AdditionalContent',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'UserPermission' => bless( {
                'source_name' => 'UserPermission',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_primaries' => [
                  'borrowernumber',
                  'module_bit',
                  'code'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::UserPermission',
                'resultset_attributes' => {},
                '_relationships' => {
                  'borrowernumber' => {
                    '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
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'permission' => {
                    'class' => 'Koha::Schema::Result::Permission',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'code' => 1,
                        'module_bit' => 1
                      },
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.module_bit' => 'self.module_bit',
                      'foreign.code' => 'self.code'
                    },
                    'source' => 'Koha::Schema::Result::Permission'
                  }
                },
                '_ordered_columns' => [
                  'borrowernumber',
                  'module_bit',
                  'code'
                ],
                'name' => 'user_permissions',
                '_columns' => {
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'default_value' => 0,
                    'is_foreign_key' => 1
                  },
                  'module_bit' => {
                    'default_value' => 0,
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'code' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'is_foreign_key' => 1,
                    'size' => 64
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'UserPermission'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'DeletedbiblioMetadata' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ],
                  'deletedbiblio_metadata_uniq_key' => [
                    'biblionumber',
                    'format',
                    'schema'
                  ]
                },
                '_columns' => {
                  'record_source_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'schema' => {
                    'size' => 16,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'biblionumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'metadata' => {
                    'is_nullable' => 0,
                    'data_type' => 'longtext'
                  },
                  'timestamp' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'format' => {
                    'size' => 16,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  }
                },
                'name' => 'deletedbiblio_metadata',
                '_ordered_columns' => [
                  'id',
                  'biblionumber',
                  'format',
                  'schema',
                  'metadata',
                  'timestamp',
                  'record_source_id'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::DeletedbiblioMetadata',
                '_relationships' => {
                  'biblionumber' => {
                    'class' => 'Koha::Schema::Result::Deletedbiblio',
                    '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::Deletedbiblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    }
                  },
                  'record_source' => {
                    'class' => 'Koha::Schema::Result::RecordSource',
                    'source' => 'Koha::Schema::Result::RecordSource',
                    'cond' => {
                      'foreign.record_source_id' => 'self.record_source_id'
                    },
                    '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' => {
                        'record_source_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    }
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'DeletedbiblioMetadata',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'DeletedbiblioMetadata'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'PseudonymizedBorrowerAttribute' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'PseudonymizedBorrowerAttribute',
                '_columns_info_loaded' => 0,
                '_columns' => {
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'transaction_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'code' => {
                    'is_foreign_key' => 1,
                    'size' => 64,
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'attribute' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                'resultset_attributes' => {},
                '_relationships' => {
                  'transaction' => {
                    'class' => 'Koha::Schema::Result::PseudonymizedTransaction',
                    'attrs' => {
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'transaction_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::PseudonymizedTransaction',
                    'cond' => {
                      'foreign.id' => 'self.transaction_id'
                    }
                  },
                  'code' => {
                    'source' => 'Koha::Schema::Result::BorrowerAttributeType',
                    'cond' => {
                      'foreign.code' => 'self.code'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'on_update' => 'CASCADE'
                    },
                    'class' => 'Koha::Schema::Result::BorrowerAttributeType'
                  }
                },
                'result_class' => 'Koha::Schema::Result::PseudonymizedBorrowerAttribute',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'name' => 'pseudonymized_borrower_attributes',
                '_ordered_columns' => [
                  'id',
                  'transaction_id',
                  'code',
                  'attribute'
                ],
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PseudonymizedBorrowerAttribute'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'MessageTransport' => bless( {
                '_primaries' => [
                  'message_attribute_id',
                  'message_transport_type',
                  'is_digest'
                ],
                'source_name' => 'MessageTransport',
                '_columns_info_loaded' => 0,
                'result_class' => 'Koha::Schema::Result::MessageTransport',
                '_relationships' => {
                  'message_attribute' => {
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'message_attribute_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.message_attribute_id' => 'self.message_attribute_id'
                    },
                    'source' => 'Koha::Schema::Result::MessageAttribute',
                    'class' => 'Koha::Schema::Result::MessageAttribute'
                  },
                  'message_transport_type' => {
                    'class' => 'Koha::Schema::Result::MessageTransportType',
                    'cond' => {
                      'foreign.message_transport_type' => 'self.message_transport_type'
                    },
                    'source' => 'Koha::Schema::Result::MessageTransportType',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'on_update' => 'CASCADE'
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'message_transports',
                '_ordered_columns' => [
                  'message_attribute_id',
                  'message_transport_type',
                  'is_digest',
                  'letter_module',
                  'letter_code',
                  'branchcode'
                ],
                '_columns' => {
                  'message_attribute_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'message_transport_type' => {
                    'size' => 20,
                    'is_foreign_key' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'branchcode' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 10
                  },
                  'letter_module' => {
                    'size' => 20,
                    'default_value' => '',
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'letter_code' => {
                    'size' => 20,
                    'default_value' => '',
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'is_digest' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MessageTransport'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ClassSource' => bless( {
                '_columns' => {
                  'used' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'description' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'class_split_rule' => {
                    'size' => 10,
                    'default_value' => '',
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'cn_source' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'default_value' => ''
                  },
                  'class_sort_rule' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'default_value' => '',
                    'size' => 10,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'cn_source'
                  ]
                },
                'name' => 'class_sources',
                '_ordered_columns' => [
                  'cn_source',
                  'description',
                  'used',
                  'class_sort_rule',
                  'class_split_rule'
                ],
                'result_class' => 'Koha::Schema::Result::ClassSource',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  'class_split_rule' => {
                    'cond' => {
                      'foreign.class_split_rule' => 'self.class_split_rule'
                    },
                    'source' => 'Koha::Schema::Result::ClassSplitRule',
                    'attrs' => {
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'RESTRICT',
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::ClassSplitRule'
                  },
                  'class_sort_rule' => {
                    'cond' => {
                      'foreign.class_sort_rule' => 'self.class_sort_rule'
                    },
                    'source' => 'Koha::Schema::Result::ClassSortRule',
                    'attrs' => {
                      'on_delete' => 'RESTRICT',
                      'accessor' => 'filter',
                      'is_depends_on' => 1,
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::ClassSortRule'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClassSource'}{'_unique_constraints'}{'primary'},
                'source_name' => 'ClassSource'
              }, 'DBIx::Class::ResultSource::Table' ),
              'OaiSetsDescription' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'OaiSetsDescription',
                'name' => 'oai_sets_descriptions',
                '_ordered_columns' => [
                  'set_id',
                  'description'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'set' => {
                    'class' => 'Koha::Schema::Result::OaiSet',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'set_id' => 1
                      },
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    },
                    'source' => 'Koha::Schema::Result::OaiSet',
                    'cond' => {
                      'foreign.id' => 'self.set_id'
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::OaiSetsDescription',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_columns' => {
                  'set_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'description' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'OaiSetsMapping' => bless( {
                '_columns' => {
                  'marcfield' => {
                    'data_type' => 'char',
                    'is_nullable' => 0,
                    'size' => 3
                  },
                  'set_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'marcsubfield' => {
                    'size' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'char'
                  },
                  'rule_order' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'operator' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 8,
                    'default_value' => 'equal'
                  },
                  'marcvalue' => {
                    'size' => 80,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'rule_operator' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 3
                  }
                },
                '_ordered_columns' => [
                  'set_id',
                  'rule_order',
                  'rule_operator',
                  'marcfield',
                  'marcsubfield',
                  'operator',
                  'marcvalue'
                ],
                'name' => 'oai_sets_mappings',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::OaiSetsMapping',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'set' => {
                    'source' => 'Koha::Schema::Result::OaiSet',
                    'cond' => {
                      'foreign.id' => 'self.set_id'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'set_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single'
                    },
                    'class' => 'Koha::Schema::Result::OaiSet'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'OaiSetsMapping'
              }, 'DBIx::Class::ResultSource::Table' ),
              'ClubHoldsToPatronHold' => bless( {
                'source_name' => 'ClubHoldsToPatronHold',
                '_primaries' => [
                  'id'
                ],
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::ClubHoldsToPatronHold',
                '_relationships' => {
                  'hold' => {
                    'class' => 'Koha::Schema::Result::Reserve',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'hold_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
                    },
                    'cond' => {
                      'foreign.reserve_id' => 'self.hold_id'
                    },
                    'source' => 'Koha::Schema::Result::Reserve'
                  },
                  'patron' => {
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.patron_id'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'patron_id' => 1
                      },
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'club_hold' => {
                    'source' => 'Koha::Schema::Result::ClubHold',
                    'cond' => {
                      'foreign.id' => 'self.club_hold_id'
                    },
                    'attrs' => {
                      'fk_columns' => {
                        'club_hold_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'
                    },
                    'class' => 'Koha::Schema::Result::ClubHold'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'name' => 'club_holds_to_patron_holds',
                '_ordered_columns' => [
                  'id',
                  'club_hold_id',
                  'patron_id',
                  'hold_id',
                  'error_code',
                  'error_message'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubHoldsToPatronHold'}{'_primaries'}
                },
                '_columns' => {
                  'patron_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'club_hold_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'hold_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'error_message' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 100
                  },
                  'error_code' => {
                    'extra' => {
                      'list' => [
                        'damaged',
                        'ageRestricted',
                        'itemAlreadyOnHold',
                        'tooManyHoldsForThisRecord',
                        'tooManyReservesToday',
                        'tooManyReserves',
                        'notReservable',
                        'cannotReserveFromOtherBranches',
                        'libraryNotFound',
                        'libraryNotPickupLocation',
                        'cannotBeTransferred',
                        'noReservesAllowed'
                      ]
                    },
                    'is_nullable' => 1,
                    'data_type' => 'enum'
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'HouseboundVisit' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns' => {
                  'appointment_date' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'deliverer_brwnumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'day_segment' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'chooser_brwnumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'HouseboundVisit'}{'_unique_constraints'}{'primary'},
                '_ordered_columns' => [
                  'id',
                  'borrowernumber',
                  'appointment_date',
                  'day_segment',
                  'chooser_brwnumber',
                  'deliverer_brwnumber'
                ],
                'name' => 'housebound_visit',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::HouseboundVisit',
                '_relationships' => {
                  'borrowernumber' => {
                    '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
                    },
                    'source' => 'Koha::Schema::Result::HouseboundProfile',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::HouseboundProfile'
                  },
                  'deliverer_brwnumber' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.deliverer_brwnumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'chooser_brwnumber' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.chooser_brwnumber'
                    }
                  }
                },
                'resultset_attributes' => {},
                '_columns_info_loaded' => 0,
                'source_name' => 'HouseboundVisit',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ImportBatchProfile' => bless( {
                '_unique_constraints' => {
                  'u_import_batch_profiles__name' => [
                    'name'
                  ],
                  'primary' => [
                    'id'
                  ]
                },
                '_columns' => {
                  'nomatch_action' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 50
                  },
                  'format' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 50
                  },
                  'matcher_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'parse_items' => {
                    'is_boolean' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'name' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 100
                  },
                  'record_type' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 50
                  },
                  'comments' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'item_action' => {
                    'size' => 50,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'overlay_action' => {
                    'size' => 50,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'encoding' => {
                    'size' => 50,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'template_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'ImportBatchProfile',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportBatchProfile'}{'_unique_constraints'}{'primary'},
                '_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',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::ImportBatchProfile',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'import_batches' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::ImportBatch',
                    'cond' => {
                      'foreign.profile_id' => 'self.id'
                    },
                    'class' => 'Koha::Schema::Result::ImportBatch'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Session' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'Session',
                '_primaries' => [
                  'id'
                ],
                '_ordered_columns' => [
                  'id',
                  'a_session'
                ],
                'name' => 'sessions',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::Session',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {},
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Session'}{'_primaries'}
                },
                '_columns' => {
                  'id' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 32
                  },
                  'a_session' => {
                    'data_type' => 'longblob',
                    'is_nullable' => 0
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ItemCirculationAlertPreference' => bless( {
                '_columns' => {
                  'categorycode' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'item_type' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 10
                  },
                  'notification' => {
                    'size' => 16,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'branchcode' => {
                    'size' => 10,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemCirculationAlertPreference'}{'_unique_constraints'}{'primary'},
                'source_name' => 'ItemCirculationAlertPreference',
                '_ordered_columns' => [
                  'id',
                  'branchcode',
                  'categorycode',
                  'item_type',
                  'notification'
                ],
                'name' => 'item_circulation_alert_preferences',
                'result_class' => 'Koha::Schema::Result::ItemCirculationAlertPreference',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'CreatorTemplate' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'template_id'
                ],
                'source_name' => 'CreatorTemplate',
                '_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',
                'resultset_attributes' => {},
                '_relationships' => {},
                'result_class' => 'Koha::Schema::Result::CreatorTemplate',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'cols' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'page_width' => {
                    'is_nullable' => 0,
                    'data_type' => 'float',
                    'default_value' => 0
                  },
                  'rows' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'template_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'template_code' => {
                    'data_type' => 'char',
                    'is_nullable' => 0,
                    'default_value' => 'DEFAULT TEMPLATE',
                    'size' => 100
                  },
                  'template_desc' => {
                    'default_value' => 'Default description',
                    'size' => 100,
                    'is_nullable' => 0,
                    'data_type' => 'char'
                  },
                  'page_height' => {
                    'is_nullable' => 0,
                    'data_type' => 'float',
                    'default_value' => 0
                  },
                  'top_margin' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'float'
                  },
                  'top_text_margin' => {
                    'data_type' => 'float',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'left_margin' => {
                    'is_nullable' => 0,
                    'data_type' => 'float',
                    'default_value' => 0
                  },
                  'creator' => {
                    'size' => 15,
                    'default_value' => 'Labels',
                    'data_type' => 'char',
                    'is_nullable' => 0
                  },
                  'units' => {
                    'size' => 20,
                    'default_value' => 'POINT',
                    'data_type' => 'char',
                    'is_nullable' => 0
                  },
                  'profile_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'left_text_margin' => {
                    'data_type' => 'float',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'col_gap' => {
                    'is_nullable' => 0,
                    'data_type' => 'float',
                    'default_value' => 0
                  },
                  'label_width' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'float'
                  },
                  'row_gap' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'float'
                  },
                  'label_height' => {
                    'default_value' => 0,
                    'data_type' => 'float',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CreatorTemplate'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'MarcModificationTemplateAction' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'MarcModificationTemplateAction',
                '_columns_info_loaded' => 0,
                '_columns' => {
                  'from_field' => {
                    'size' => 3,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'to_subfield' => {
                    'size' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'mmta_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'to_field' => {
                    'size' => 3,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'conditional_subfield' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 1
                  },
                  'conditional' => {
                    'extra' => {
                      'list' => [
                        'if',
                        'unless'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 1
                  },
                  'action' => {
                    'is_nullable' => 0,
                    'data_type' => 'enum',
                    'extra' => {
                      'list' => [
                        'delete_field',
                        'add_field',
                        'update_field',
                        'move_field',
                        'copy_field',
                        'copy_and_replace_field'
                      ]
                    }
                  },
                  'conditional_comparison' => {
                    'is_nullable' => 1,
                    'data_type' => 'enum',
                    'extra' => {
                      'list' => [
                        'exists',
                        'not_exists',
                        'equals',
                        'not_equals'
                      ]
                    }
                  },
                  'conditional_field' => {
                    'size' => 3,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'description' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'to_regex_search' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'from_subfield' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 1
                  },
                  'ordering' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'conditional_value' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'template_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'field_number' => {
                    'default_value' => 0,
                    'data_type' => 'smallint',
                    'is_nullable' => 0
                  },
                  'to_regex_modifiers' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 8
                  },
                  'field_value' => {
                    'data_type' => 'text',
                    'is_nullable' => 1
                  },
                  'conditional_regex' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'to_regex_replace' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'mmta_id'
                  ]
                },
                'result_class' => 'Koha::Schema::Result::MarcModificationTemplateAction',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'template' => {
                    'cond' => {
                      'foreign.template_id' => 'self.template_id'
                    },
                    'source' => 'Koha::Schema::Result::MarcModificationTemplate',
                    'attrs' => {
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'template_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::MarcModificationTemplate'
                  }
                },
                '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'
                ],
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcModificationTemplateAction'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Issue' => bless( {
                '_unique_constraints' => {
                  'itemnumber' => [
                    'itemnumber'
                  ],
                  'primary' => [
                    'issue_id'
                  ]
                },
                '_columns' => {
                  'note' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'noteseen' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_boolean' => 1
                  },
                  'timestamp' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'notedate' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'borrowernumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'renewals_count' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'returndate' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'date_due' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'datetime',
                    'is_nullable' => 1
                  },
                  'auto_renew_error' => {
                    'size' => 32,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'auto_renew' => {
                    'is_boolean' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'unseen_renewals' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'issuedate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'checkin_library' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'issuer_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'itemnumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'branchcode' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'onsite_checkout' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_boolean' => 1
                  },
                  'lastreneweddate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'issue_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'Issue',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Issue'}{'_unique_constraints'}{'primary'},
                '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'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'branch' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'branchcode' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    }
                  },
                  'issuer' => {
                    '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' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'issuer_id' => 1
                      }
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.issuer_id'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  },
                  'patron' => {
                    'attrs' => {
                      'accessor' => 'single',
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'borrowernumber' => 1
                      },
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'borrowernumber' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'filter',
                      'on_delete' => 'RESTRICT',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  },
                  'renewals' => {
                    'class' => 'Koha::Schema::Result::CheckoutRenewal',
                    'cond' => {
                      'foreign.checkout_id' => 'self.issue_id'
                    },
                    'source' => 'Koha::Schema::Result::CheckoutRenewal',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'account_lines' => {
                    'class' => 'Koha::Schema::Result::Accountline',
                    'source' => 'Koha::Schema::Result::Accountline',
                    'cond' => {
                      'foreign.issue_id' => 'self.issue_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  },
                  'return_claim' => {
                    'source' => 'Koha::Schema::Result::ReturnClaim',
                    'cond' => {
                      'foreign.issue_id' => 'self.issue_id'
                    },
                    'attrs' => {
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'accessor' => 'single',
                      'cascade_update' => 1,
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::ReturnClaim'
                  },
                  'item' => {
                    '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' => {
                        'itemnumber' => 1
                      }
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    'class' => 'Koha::Schema::Result::Item'
                  },
                  'accountlines' => {
                    'class' => 'Koha::Schema::Result::Accountline',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Accountline',
                    'cond' => {
                      'foreign.issue_id' => 'self.issue_id'
                    }
                  },
                  'itemnumber' => {
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    '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
                    },
                    'class' => 'Koha::Schema::Result::Item'
                  },
                  'library' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'branchcode' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::Issue',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet'
              }, 'DBIx::Class::ResultSource::Table' ),
              'PluginData' => bless( {
                '_ordered_columns' => [
                  'plugin_class',
                  'plugin_key',
                  'plugin_value'
                ],
                'name' => 'plugin_data',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::PluginData',
                '_relationships' => {},
                'resultset_attributes' => {},
                '_primaries' => [
                  'plugin_class',
                  'plugin_key'
                ],
                '_columns' => {
                  'plugin_class' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'plugin_key' => {
                    'size' => 255,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'plugin_value' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PluginData'}{'_primaries'}
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'PluginData'
              }, 'DBIx::Class::ResultSource::Table' ),
              'Linktracker' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                '_relationships' => {
                  'biblionumber' => {
                    'class' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Biblio',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'SET NULL',
                      'is_deferrable' => 1
                    }
                  },
                  'itemnumber' => {
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'SET NULL',
                      '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::Item'
                  },
                  'borrowernumber' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'SET NULL',
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::Linktracker',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'name' => 'linktracker',
                '_ordered_columns' => [
                  'id',
                  'biblionumber',
                  'itemnumber',
                  'borrowernumber',
                  'url',
                  'timeclicked'
                ],
                'source_name' => 'Linktracker',
                '_primaries' => [
                  'id'
                ],
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Linktracker'}{'_primaries'}
                },
                '_columns' => {
                  'itemnumber' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'url' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'timeclicked' => {
                    'data_type' => 'datetime',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'biblionumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Subscriptionhistory' => bless( {
                'name' => 'subscriptionhistory',
                '_ordered_columns' => [
                  'biblionumber',
                  'subscriptionid',
                  'histstartdate',
                  'histenddate',
                  'missinglist',
                  'recievedlist',
                  'opacnote',
                  'librariannote'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Subscriptionhistory',
                '_relationships' => {
                  'subscriptionid' => {
                    'cond' => {
                      'foreign.subscriptionid' => 'self.subscriptionid'
                    },
                    'source' => 'Koha::Schema::Result::Subscription',
                    '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::Subscription'
                  },
                  'biblionumber' => {
                    '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,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  }
                },
                'resultset_attributes' => {},
                '_columns_info_loaded' => 0,
                'source_name' => 'Subscriptionhistory',
                '_primaries' => [
                  'subscriptionid'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Subscriptionhistory'}{'_primaries'}
                },
                '_columns' => {
                  'subscriptionid' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'histstartdate' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 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'
                  },
                  'librariannote' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'opacnote' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'biblionumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'AqbooksellerAlias' => bless( {
                '_columns' => {
                  'alias' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255
                  },
                  'vendor_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'alias_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'alias_id'
                  ]
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqbooksellerAlias'}{'_unique_constraints'}{'primary'},
                'source_name' => 'AqbooksellerAlias',
                '_columns_info_loaded' => 0,
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::AqbooksellerAlias',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'vendor' => {
                    'class' => 'Koha::Schema::Result::Aqbookseller',
                    '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' => {
                        'vendor_id' => 1
                      }
                    },
                    'cond' => {
                      'foreign.id' => 'self.vendor_id'
                    },
                    'source' => 'Koha::Schema::Result::Aqbookseller'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'alias_id',
                  'vendor_id',
                  'alias'
                ],
                'name' => 'aqbookseller_aliases'
              }, 'DBIx::Class::ResultSource::Table' ),
              'AccountDebitType' => bless( {
                '_columns' => {
                  'archived' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'can_be_invoiced' => {
                    'is_boolean' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 1
                  },
                  'can_be_sold' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'default_amount' => {
                    'data_type' => 'decimal',
                    'is_nullable' => 1,
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'is_system' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'description' => {
                    'size' => 200,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'restricts_checkouts' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 1,
                    'is_boolean' => 1
                  },
                  'code' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 80
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'code'
                  ]
                },
                '_relationships' => {
                  'accountlines' => {
                    'class' => 'Koha::Schema::Result::Accountline',
                    'cond' => {
                      'foreign.debit_type_code' => 'self.code'
                    },
                    'source' => 'Koha::Schema::Result::Accountline',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    }
                  },
                  'account_debit_types_branches' => {
                    'source' => 'Koha::Schema::Result::AccountDebitTypesBranch',
                    'cond' => {
                      'foreign.debit_type_code' => 'self.code'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::AccountDebitTypesBranch'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::AccountDebitType',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'account_debit_types',
                '_ordered_columns' => [
                  'code',
                  'description',
                  'can_be_invoiced',
                  'can_be_sold',
                  'default_amount',
                  'is_system',
                  'archived',
                  'restricts_checkouts'
                ],
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AccountDebitType'}{'_unique_constraints'}{'primary'},
                'source_name' => 'AccountDebitType',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'Aqbudgetperiod' => bless( {
                'result_class' => 'Koha::Schema::Result::Aqbudgetperiod',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'aqbudgets' => {
                    'source' => 'Koha::Schema::Result::Aqbudget',
                    'cond' => {
                      'foreign.budget_period_id' => 'self.budget_period_id'
                    },
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Aqbudget'
                  }
                },
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_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',
                '_primaries' => [
                  'budget_period_id'
                ],
                'source_name' => 'Aqbudgetperiod',
                '_columns_info_loaded' => 0,
                '_columns' => {
                  'budget_period_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'sort1_authcat' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'budget_period_total' => {
                    'data_type' => 'decimal',
                    'is_nullable' => 1,
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'budget_period_enddate' => {
                    'data_type' => 'date',
                    'is_nullable' => 0,
                    'datetime_undef_if_invalid' => 1
                  },
                  'budget_period_locked' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'sort2_authcat' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'budget_period_description' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'budget_period_active' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1,
                    'default_value' => 0
                  },
                  'budget_period_startdate' => {
                    'is_nullable' => 0,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqbudgetperiod'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ClassSplitRule' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'ClassSplitRule',
                '_primaries' => [
                  'class_split_rule'
                ],
                '_ordered_columns' => [
                  'class_split_rule',
                  'description',
                  'split_routine',
                  'split_regex'
                ],
                'name' => 'class_split_rules',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::ClassSplitRule',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'class_sources' => {
                    'class' => 'Koha::Schema::Result::ClassSource',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::ClassSource',
                    'cond' => {
                      'foreign.class_split_rule' => 'self.class_split_rule'
                    }
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClassSplitRule'}{'_primaries'}
                },
                '_columns' => {
                  'split_regex' => {
                    'default_value' => '',
                    'size' => 255,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'description' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'class_split_rule' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 10,
                    'default_value' => ''
                  },
                  'split_routine' => {
                    'default_value' => '',
                    'size' => 30,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'AqordersClaim' => bless( {
                '_columns' => {
                  'claimed_on' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'ordernumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                'result_class' => 'Koha::Schema::Result::AqordersClaim',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'ordernumber' => {
                    '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.ordernumber' => 'self.ordernumber'
                    },
                    'source' => 'Koha::Schema::Result::Aqorder',
                    'class' => 'Koha::Schema::Result::Aqorder'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'id',
                  'ordernumber',
                  'claimed_on'
                ],
                'name' => 'aqorders_claims',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqordersClaim'}{'_unique_constraints'}{'primary'},
                'source_name' => 'AqordersClaim',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'ItemsSearchField' => bless( {
                '_columns' => {
                  'label' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'authorised_values_category' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 32,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'tagsubfield' => {
                    'is_nullable' => 1,
                    'data_type' => 'char',
                    'size' => 1
                  },
                  'tagfield' => {
                    'data_type' => 'char',
                    'is_nullable' => 0,
                    'size' => 3
                  },
                  'name' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'name'
                  ]
                },
                'resultset_attributes' => {},
                '_relationships' => {
                  'authorised_values_category' => {
                    'source' => 'Koha::Schema::Result::AuthorisedValueCategory',
                    'cond' => {
                      'foreign.category_name' => 'self.authorised_values_category'
                    },
                    '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
                    },
                    'class' => 'Koha::Schema::Result::AuthorisedValueCategory'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ItemsSearchField',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'items_search_fields',
                '_ordered_columns' => [
                  'name',
                  'label',
                  'tagfield',
                  'tagsubfield',
                  'authorised_values_category'
                ],
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemsSearchField'}{'_unique_constraints'}{'primary'},
                'source_name' => 'ItemsSearchField',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'Desk' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'desk_id'
                  ]
                },
                '_columns' => {
                  'desk_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'branchcode' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 10,
                    'is_foreign_key' => 1
                  },
                  'desk_name' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'default_value' => '',
                    'size' => 100
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Desk'}{'_unique_constraints'}{'primary'},
                'name' => 'desks',
                '_ordered_columns' => [
                  'desk_id',
                  'desk_name',
                  'branchcode'
                ],
                'result_class' => 'Koha::Schema::Result::Desk',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  'reserves' => {
                    'class' => 'Koha::Schema::Result::Reserve',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.desk_id' => 'self.desk_id'
                    },
                    'source' => 'Koha::Schema::Result::Reserve'
                  },
                  'branchcode' => {
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    '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
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'Desk',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmEholdingsResource' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'ErmEholdingsResource',
                '_primaries' => [
                  'resource_id'
                ],
                '_ordered_columns' => [
                  'resource_id',
                  'title_id',
                  'package_id',
                  'vendor_id',
                  'started_on',
                  'ended_on',
                  'proxy'
                ],
                'name' => 'erm_eholdings_resources',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::ErmEholdingsResource',
                '_relationships' => {
                  'package' => {
                    'class' => 'Koha::Schema::Result::ErmEholdingsPackage',
                    'source' => 'Koha::Schema::Result::ErmEholdingsPackage',
                    'cond' => {
                      'foreign.package_id' => 'self.package_id'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'package_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    }
                  },
                  'title' => {
                    'class' => 'Koha::Schema::Result::ErmEholdingsTitle',
                    'attrs' => {
                      'fk_columns' => {
                        'title_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'
                    },
                    'source' => 'Koha::Schema::Result::ErmEholdingsTitle',
                    'cond' => {
                      'foreign.title_id' => 'self.title_id'
                    }
                  },
                  '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'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmEholdingsResource'}{'_primaries'},
                  'erm_eholdings_resources_uniq' => [
                    'title_id',
                    'package_id'
                  ]
                },
                '_columns' => {
                  'ended_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'resource_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'package_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'proxy' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'started_on' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'title_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'vendor_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ItemsLastBorrower' => bless( {
                '_ordered_columns' => [
                  'id',
                  'itemnumber',
                  'borrowernumber',
                  'created_on'
                ],
                'name' => 'items_last_borrower',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'itemnumber' => {
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_foreign_key_constraint' => 1,
                      'on_update' => 'CASCADE',
                      'accessor' => 'filter',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'is_deferrable' => 1
                    },
                    'class' => 'Koha::Schema::Result::Item'
                  },
                  'borrowernumber' => {
                    '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
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'result_class' => 'Koha::Schema::Result::ItemsLastBorrower',
                'resultset_attributes' => {},
                '_columns_info_loaded' => 0,
                'source_name' => 'ItemsLastBorrower',
                '_primaries' => [
                  'id'
                ],
                '_unique_constraints' => {
                  'itemnumber' => [
                    'itemnumber'
                  ],
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemsLastBorrower'}{'_primaries'}
                },
                '_columns' => {
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'itemnumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'borrowernumber' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'created_on' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmCounterFile' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'ErmCounterFile',
                '_ordered_columns' => [
                  'erm_counter_files_id',
                  'usage_data_provider_id',
                  'type',
                  'filename',
                  'file_content',
                  'date_uploaded'
                ],
                'name' => 'erm_counter_files',
                '_relationships' => {
                  'erm_counter_logs' => {
                    'class' => 'Koha::Schema::Result::ErmCounterLog',
                    'cond' => {
                      'foreign.counter_files_id' => 'self.erm_counter_files_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmCounterLog',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'usage_data_provider' => {
                    'class' => 'Koha::Schema::Result::ErmUsageDataProvider',
                    'cond' => {
                      'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
                    },
                    'source' => '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',
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    }
                  }
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::ErmCounterFile',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_primaries' => [
                  'erm_counter_files_id'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmCounterFile'}{'_primaries'}
                },
                '_columns' => {
                  'type' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'file_content' => {
                    'data_type' => 'longblob',
                    'is_nullable' => 1
                  },
                  'filename' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'erm_counter_files_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'date_uploaded' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'is_nullable' => 1,
                    'data_type' => 'timestamp'
                  },
                  'usage_data_provider_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'BorrowerModification' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'BorrowerModification',
                '_unique_constraints' => {
                  'primary' => [
                    'verification_token',
                    'borrowernumber'
                  ]
                },
                '_columns' => {
                  'extended_attributes' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'address' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'password' => {
                    'size' => 30,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'streettype' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 50
                  },
                  'date_renewed' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'surname' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'othernames' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'contactnote' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'phonepro' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'zipcode' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 25
                  },
                  'B_zipcode' => {
                    'size' => 25,
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'accessor' => 'b_zipcode'
                  },
                  'contactfirstname' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'gdpr_proc_consent' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'email' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'B_phone' => {
                    'accessor' => 'b_phone',
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'dateofbirth' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'B_address' => {
                    'size' => 100,
                    'accessor' => 'b_address',
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'timestamp' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp'
                  },
                  'opacnote' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'B_address2' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext',
                    'accessor' => 'b_address2'
                  },
                  'mobile' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 50
                  },
                  'privacy' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'B_streetnumber' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'accessor' => 'b_streetnumber'
                  },
                  'userid' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 75
                  },
                  'flags' => {
                    'data_type' => 'bigint',
                    'is_nullable' => 1
                  },
                  'borrowernotes' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'altcontactstate' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'city' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'altcontactaddress2' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'dateenrolled' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'debarredcomment' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'middle_name' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'altcontactcountry' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'relationship' => {
                    'size' => 100,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'B_city' => {
                    'accessor' => 'b_city',
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'B_country' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1,
                    'accessor' => 'b_country'
                  },
                  'altcontactfirstname' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'altcontactaddress1' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'gonenoaddress' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'sort2' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'title' => {
                    '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' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'country' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'altcontactaddress3' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'sort1' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'altcontactzipcode' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 50
                  },
                  'preferred_name' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'B_email' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1,
                    'accessor' => 'b_email'
                  },
                  'debarred' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'B_state' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext',
                    'accessor' => 'b_state'
                  },
                  'categorycode' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'primary_contact_method' => {
                    'size' => 45,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'firstname' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'streetnumber' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10
                  },
                  'altcontactsurname' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'cardnumber' => {
                    'size' => 32,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'lang' => {
                    'size' => 25,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'B_streettype' => {
                    'accessor' => 'b_streettype',
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 50
                  },
                  'verification_token' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 255,
                    'default_value' => ''
                  },
                  'smsalertnumber' => {
                    'size' => 50,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'borrowernumber' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'initials' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'lost' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'changed_fields' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'emailpro' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'contactname' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'fax' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'altcontactphone' => {
                    'size' => 50,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'dateexpiry' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'phone' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'branchcode' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'sex' => {
                    'size' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  }
                },
                '_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',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::BorrowerModification',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {},
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerModification'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmEholdingsTitle' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'title_id'
                  ]
                },
                '_columns' => {
                  'external_id' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'num_first_vol_online' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'print_identifier' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'date_monograph_published_print' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'embargo_info' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'num_first_issue_online' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'coverage_depth' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'publication_type' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'date_monograph_published_online' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'online_identifier' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'parent_publication_title_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'publisher_name' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'access_type' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'monograph_volume' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'notes' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'first_author' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'date_last_issue_online' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'first_editor' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'publication_title' => {
                    'data_type' => 'mediumtext',
                    '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
                  },
                  'biblio_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'monograph_edition' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'title_url' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'date_first_issue_online' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'num_last_vol_online' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'preceding_publication_title_id' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'erm_eholdings_resources' => {
                    'cond' => {
                      'foreign.title_id' => 'self.title_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmEholdingsResource',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::ErmEholdingsResource'
                  },
                  'biblio' => {
                    'class' => 'Koha::Schema::Result::Biblio',
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblio_id'
                    },
                    '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' => {
                        'biblio_id' => 1
                      }
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::ErmEholdingsTitle',
                'resultset_attributes' => {},
                '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'
                ],
                'source_name' => 'ErmEholdingsTitle',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmEholdingsTitle'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'CurbsidePickupIssue' => bless( {
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'CurbsidePickupIssue',
                '_columns_info_loaded' => 0,
                'result_class' => 'Koha::Schema::Result::CurbsidePickupIssue',
                'resultset_attributes' => {},
                '_relationships' => {
                  'curbside_pickup' => {
                    'class' => 'Koha::Schema::Result::CurbsidePickup',
                    'source' => 'Koha::Schema::Result::CurbsidePickup',
                    'cond' => {
                      'foreign.id' => 'self.curbside_pickup_id'
                    },
                    'attrs' => {
                      'fk_columns' => {
                        'curbside_pickup_id' => 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'
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'curbside_pickup_issues',
                '_ordered_columns' => [
                  'id',
                  'curbside_pickup_id',
                  'issue_id',
                  'reserve_id'
                ],
                '_columns' => {
                  'issue_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'reserve_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'curbside_pickup_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CurbsidePickupIssue'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'BorrowerAttributeTypesBranch' => bless( {
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::BorrowerAttributeTypesBranch',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'b_branchcode' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.b_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',
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'is_depends_on' => 1
                    }
                  },
                  'bat_code' => {
                    'class' => 'Koha::Schema::Result::BorrowerAttributeType',
                    'source' => 'Koha::Schema::Result::BorrowerAttributeType',
                    'cond' => {
                      'foreign.code' => 'self.bat_code'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'RESTRICT',
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'is_depends_on' => 1
                    }
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'bat_code',
                  'b_branchcode'
                ],
                'name' => 'borrower_attribute_types_branches',
                'source_name' => 'BorrowerAttributeTypesBranch',
                '_columns_info_loaded' => 0,
                '_columns' => {
                  'bat_code' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 64,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'b_branchcode' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'is_foreign_key' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'CirculationRule' => bless( {
                '_columns' => {
                  'categorycode' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'itemtype' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'rule_name' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 32
                  },
                  'rule_value' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 32
                  },
                  'branchcode' => {
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ],
                  'branchcode' => [
                    'branchcode',
                    'categorycode',
                    'itemtype',
                    'rule_name'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CirculationRule'}{'_unique_constraints'}{'primary'},
                'source_name' => 'CirculationRule',
                '_ordered_columns' => [
                  'id',
                  'branchcode',
                  'categorycode',
                  'itemtype',
                  'rule_name',
                  'rule_value'
                ],
                'name' => 'circulation_rules',
                '_relationships' => {
                  'itemtype' => {
                    'class' => 'Koha::Schema::Result::Itemtype',
                    '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
                    },
                    'cond' => {
                      'foreign.itemtype' => 'self.itemtype'
                    },
                    'source' => 'Koha::Schema::Result::Itemtype'
                  },
                  'categorycode' => {
                    'cond' => {
                      'foreign.categorycode' => 'self.categorycode'
                    },
                    'source' => 'Koha::Schema::Result::Category',
                    '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
                    },
                    'class' => 'Koha::Schema::Result::Category'
                  },
                  'branchcode' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => '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
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::CirculationRule',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ArticleRequest' => bless( {
                '_columns' => {
                  'created_on' => {
                    'is_nullable' => 1,
                    'data_type' => 'timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'volume' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'author' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'issue' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'branchcode' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'format' => {
                    'default_value' => 'PHOTOCOPY',
                    'extra' => {
                      'list' => [
                        'PHOTOCOPY',
                        'SCAN'
                      ]
                    },
                    'is_nullable' => 0,
                    'data_type' => 'enum'
                  },
                  'date' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'chapters' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'debit_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'itemnumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'title' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'notes' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'toc_request' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'status' => {
                    'default_value' => 'REQUESTED',
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'extra' => {
                      'list' => [
                        'REQUESTED',
                        'PENDING',
                        'PROCESSING',
                        'COMPLETED',
                        'CANCELED'
                      ]
                    }
                  },
                  'pages' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'cancellation_reason' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'updated_on' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'biblionumber' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'urls' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'patron_notes' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ArticleRequest'}{'_unique_constraints'}{'primary'},
                'source_name' => 'ArticleRequest',
                '_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'
                ],
                'name' => 'article_requests',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ArticleRequest',
                'resultset_attributes' => {},
                '_relationships' => {
                  'branchcode' => {
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'accessor' => 'filter',
                      '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'
                  },
                  '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'
                  },
                  'itemnumber' => {
                    'class' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    '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' => 'CASCADE'
                    }
                  },
                  'biblionumber' => {
                    '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
                    },
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  },
                  'debit' => {
                    'class' => 'Koha::Schema::Result::Accountline',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'debit_id' => 1
                      },
                      'accessor' => 'single',
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'cond' => {
                      'foreign.accountlines_id' => 'self.debit_id'
                    },
                    'source' => 'Koha::Schema::Result::Accountline'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'TicketUpdate' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns' => {
                  'date' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  },
                  'ticket_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'public' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'user_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'default_value' => 0,
                    'is_foreign_key' => 1
                  },
                  'status' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'message' => {
                    'is_nullable' => 0,
                    'data_type' => 'text'
                  },
                  'assignee_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  }
                },
                '_ordered_columns' => [
                  'id',
                  'ticket_id',
                  'user_id',
                  'assignee_id',
                  'public',
                  'date',
                  'message',
                  'status'
                ],
                'name' => 'ticket_updates',
                'result_class' => 'Koha::Schema::Result::TicketUpdate',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'ticket' => {
                    'cond' => {
                      'foreign.id' => 'self.ticket_id'
                    },
                    'source' => 'Koha::Schema::Result::Ticket',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'ticket_id' => 1
                      },
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'class' => 'Koha::Schema::Result::Ticket'
                  },
                  'assignee' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'assignee_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.assignee_id'
                    }
                  },
                  'user' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'fk_columns' => {
                        'user_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.borrowernumber' => 'self.user_id'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TicketUpdate'}{'_unique_constraints'}{'primary'},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'TicketUpdate'
              }, 'DBIx::Class::ResultSource::Table' ),
              'Overduerule' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'overduerules_id'
                  ],
                  'overduerules_branch_cat' => [
                    'branchcode',
                    'categorycode'
                  ]
                },
                '_columns' => {
                  'overduerules_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'debarred3' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'branchcode' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 10
                  },
                  'categorycode' => {
                    'default_value' => '',
                    'size' => 10,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'debarred2' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'default_value' => 0,
                    'size' => 1
                  },
                  'letter2' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 20
                  },
                  'delay2' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'letter3' => {
                    'size' => 20,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'delay1' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'debarred1' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 1,
                    'default_value' => 0
                  },
                  'letter1' => {
                    'size' => 20,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'delay3' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::Overduerule',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'overduerules_transport_types' => {
                    'class' => 'Koha::Schema::Result::OverduerulesTransportType',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.overduerules_id' => 'self.overduerules_id'
                    },
                    'source' => 'Koha::Schema::Result::OverduerulesTransportType'
                  }
                },
                'name' => 'overduerules',
                '_ordered_columns' => [
                  'overduerules_id',
                  'branchcode',
                  'categorycode',
                  'delay1',
                  'letter1',
                  'debarred1',
                  'delay2',
                  'debarred2',
                  'letter2',
                  'delay3',
                  'letter3',
                  'debarred3'
                ],
                'source_name' => 'Overduerule',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Overduerule'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'ItemBundle' => bless( {
                '_primaries' => [
                  'host',
                  'item'
                ],
                '_relationships' => {
                  'host' => {
                    'class' => 'Koha::Schema::Result::Item',
                    '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
                    },
                    'cond' => {
                      'foreign.itemnumber' => 'self.host'
                    },
                    'source' => 'Koha::Schema::Result::Item'
                  },
                  'item' => {
                    'class' => 'Koha::Schema::Result::Item',
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.item'
                    },
                    '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
                    }
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ItemBundle',
                'name' => 'item_bundles',
                '_ordered_columns' => [
                  'item',
                  'host'
                ],
                '_columns' => {
                  'host' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'item' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'item_bundles_uniq_1' => [
                    'item'
                  ],
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemBundle'}{'_primaries'}
                },
                'source_name' => 'ItemBundle',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'PreservationProcessingAttribute' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'PreservationProcessingAttribute',
                '_primaries' => [
                  'processing_attribute_id'
                ],
                '_ordered_columns' => [
                  'processing_attribute_id',
                  'processing_id',
                  'name',
                  'type',
                  'option_source'
                ],
                'name' => 'preservation_processing_attributes',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::PreservationProcessingAttribute',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  'processing' => {
                    'class' => 'Koha::Schema::Result::PreservationProcessing',
                    'attrs' => {
                      'fk_columns' => {
                        'processing_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.processing_id' => 'self.processing_id'
                    },
                    'source' => 'Koha::Schema::Result::PreservationProcessing'
                  },
                  'preservation_processing_attributes_items' => {
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.processing_attribute_id' => 'self.processing_attribute_id'
                    },
                    'source' => 'Koha::Schema::Result::PreservationProcessingAttributesItem',
                    'class' => 'Koha::Schema::Result::PreservationProcessingAttributesItem'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PreservationProcessingAttribute'}{'_primaries'}
                },
                '_columns' => {
                  'option_source' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'processing_attribute_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'processing_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'name' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'type' => {
                    'extra' => {
                      'list' => [
                        'authorised_value',
                        'free_text',
                        'db_column'
                      ]
                    },
                    'is_nullable' => 0,
                    'data_type' => 'enum'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'OldReserve' => bless( {
                '_columns' => {
                  'non_priority' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'reserve_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'deleted_biblionumber' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'cancellationdate' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'branchcode' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'waitingdate' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'timestamp' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  },
                  'lowestPriority' => {
                    'is_boolean' => 1,
                    'accessor' => 'lowest_priority',
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'suspend' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'notificationdate' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'item_group_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'suspend_until' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'datetime',
                    'is_nullable' => 1
                  },
                  'item_level_hold' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'patron_expiration_date' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'itemnumber' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'reservedate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'itemtype' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'expirationdate' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'found' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 1
                  },
                  'biblionumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'reminderdate' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'cancellation_reason' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'priority' => {
                    'is_nullable' => 0,
                    'data_type' => 'smallint',
                    'default_value' => 1
                  },
                  'reservenotes' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'desk_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'reserve_id'
                  ]
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::OldReserve',
                '_relationships' => {
                  'item' => {
                    'class' => 'Koha::Schema::Result::Item',
                    'attrs' => {
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'itemnumber' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    }
                  },
                  'branchcode' => {
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => '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,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'accessor' => 'filter'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'biblio' => {
                    'attrs' => {
                      'fk_columns' => {
                        'biblionumber' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      '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'
                  },
                  'itemnumber' => {
                    'class' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'SET NULL',
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'SET NULL'
                    }
                  },
                  'itemtype' => {
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'SET NULL',
                      'is_deferrable' => 1
                    },
                    'cond' => {
                      'foreign.itemtype' => 'self.itemtype'
                    },
                    'source' => 'Koha::Schema::Result::Itemtype',
                    'class' => 'Koha::Schema::Result::Itemtype'
                  },
                  'patron' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'fk_columns' => {
                        'borrowernumber' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'single',
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'SET NULL'
                    }
                  },
                  'borrowernumber' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'on_update' => 'SET NULL',
                      '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.borrowernumber'
                    }
                  },
                  'pickup_library' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'fk_columns' => {
                        'branchcode' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    }
                  },
                  'biblionumber' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'SET NULL',
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'accessor' => 'filter'
                    },
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  },
                  'item_group' => {
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'fk_columns' => {
                        'item_group_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'SET NULL',
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::ItemGroup',
                    'cond' => {
                      'foreign.item_group_id' => 'self.item_group_id'
                    },
                    'class' => 'Koha::Schema::Result::ItemGroup'
                  }
                },
                'resultset_attributes' => {},
                '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'
                ],
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'OldReserve'}{'_unique_constraints'}{'primary'},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'OldReserve',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'BorrowerDebarment' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'borrower_debarment_id'
                  ]
                },
                '_columns' => {
                  'comment' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'updated' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 1
                  },
                  'borrowernumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'type' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'size' => 50,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'created' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'borrower_debarment_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'manager_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'expiration' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'borrowernumber' => {
                    'attrs' => {
                      'accessor' => 'filter',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'type' => {
                    'attrs' => {
                      'on_delete' => 'NO ACTION',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.code' => 'self.type'
                    },
                    'source' => 'Koha::Schema::Result::RestrictionType',
                    'class' => 'Koha::Schema::Result::RestrictionType'
                  }
                },
                'result_class' => 'Koha::Schema::Result::BorrowerDebarment',
                'resultset_attributes' => {},
                '_ordered_columns' => [
                  'borrower_debarment_id',
                  'borrowernumber',
                  'expiration',
                  'type',
                  'comment',
                  'manager_id',
                  'created',
                  'updated'
                ],
                'name' => 'borrower_debarments',
                'source_name' => 'BorrowerDebarment',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerDebarment'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'ImportItem' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'import_items_id'
                  ]
                },
                '_columns' => {
                  'itemnumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'status' => {
                    'is_nullable' => 0,
                    'data_type' => 'enum',
                    'extra' => {
                      'list' => [
                        'error',
                        'staged',
                        'imported',
                        'reverted',
                        'ignored'
                      ]
                    },
                    'default_value' => 'staged'
                  },
                  'marcxml' => {
                    'is_nullable' => 0,
                    'data_type' => 'longtext'
                  },
                  'import_record_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'import_error' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'branchcode' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10
                  },
                  'import_items_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::ImportItem',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  'import_record' => {
                    'class' => 'Koha::Schema::Result::ImportRecord',
                    'source' => 'Koha::Schema::Result::ImportRecord',
                    'cond' => {
                      'foreign.import_record_id' => 'self.import_record_id'
                    },
                    '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
                    }
                  }
                },
                'name' => 'import_items',
                '_ordered_columns' => [
                  'import_items_id',
                  'import_record_id',
                  'itemnumber',
                  'branchcode',
                  'status',
                  'marcxml',
                  'import_error'
                ],
                'source_name' => 'ImportItem',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportItem'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmLicense' => bless( {
                '_columns' => {
                  'started_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'type' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 80
                  },
                  'license_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'vendor_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'status' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 80
                  },
                  'ended_on' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'name' => {
                    'size' => 255,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'description' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'license_id'
                  ]
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'erm_user_roles' => {
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.license_id' => 'self.license_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUserRole',
                    'class' => 'Koha::Schema::Result::ErmUserRole'
                  },
                  'additional_field_values' => {
                    'cond' => sub { "DUMMY" },
                    'source' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::AdditionalFieldValue'
                  },
                  'erm_agreement_licenses' => {
                    'class' => 'Koha::Schema::Result::ErmAgreementLicense',
                    'cond' => {
                      'foreign.license_id' => 'self.license_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmAgreementLicense',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'extended_attributes' => {
                    'source' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'cond' => sub { "DUMMY" },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::AdditionalFieldValue'
                  },
                  'vendor' => {
                    'source' => 'Koha::Schema::Result::Aqbookseller',
                    'cond' => {
                      'foreign.id' => 'self.vendor_id'
                    },
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'accessor' => 'single',
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'vendor_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::Aqbookseller'
                  },
                  'erm_documents' => {
                    'class' => 'Koha::Schema::Result::ErmDocument',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.license_id' => 'self.license_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmDocument'
                  }
                },
                'result_class' => 'Koha::Schema::Result::ErmLicense',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'erm_licenses',
                '_ordered_columns' => [
                  'license_id',
                  'vendor_id',
                  'name',
                  'description',
                  'type',
                  'status',
                  'started_on',
                  'ended_on'
                ],
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmLicense'}{'_unique_constraints'}{'primary'},
                'source_name' => 'ErmLicense',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'ClubTemplateEnrollmentField' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'ClubTemplateEnrollmentField',
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns' => {
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'club_template_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'authorised_value_category' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 32
                  },
                  'name' => {
                    'data_type' => 'text',
                    'is_nullable' => 0
                  },
                  'description' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  }
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::ClubTemplateEnrollmentField',
                '_relationships' => {
                  'club_enrollment_fields' => {
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::ClubEnrollmentField',
                    'cond' => {
                      'foreign.club_template_enrollment_field_id' => 'self.id'
                    },
                    'class' => 'Koha::Schema::Result::ClubEnrollmentField'
                  },
                  'club_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' => {
                        'club_template_id' => 1
                      }
                    },
                    'cond' => {
                      'foreign.id' => 'self.club_template_id'
                    },
                    'source' => 'Koha::Schema::Result::ClubTemplate',
                    'class' => 'Koha::Schema::Result::ClubTemplate'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_ordered_columns' => [
                  'id',
                  'club_template_id',
                  'name',
                  'description',
                  'authorised_value_category'
                ],
                'name' => 'club_template_enrollment_fields',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubTemplateEnrollmentField'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'AccountOffset' => bless( {
                'name' => 'account_offsets',
                '_ordered_columns' => [
                  'id',
                  'credit_id',
                  'debit_id',
                  'type',
                  'amount',
                  'created_on'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::AccountOffset',
                '_relationships' => {
                  'debit' => {
                    'cond' => {
                      'foreign.accountlines_id' => 'self.debit_id'
                    },
                    'source' => 'Koha::Schema::Result::Accountline',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'debit_id' => 1
                      },
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'class' => 'Koha::Schema::Result::Accountline'
                  },
                  'credit' => {
                    'cond' => {
                      'foreign.accountlines_id' => 'self.credit_id'
                    },
                    'source' => 'Koha::Schema::Result::Accountline',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'credit_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::Accountline'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_columns_info_loaded' => 0,
                'source_name' => 'AccountOffset',
                '_primaries' => [
                  'id'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AccountOffset'}{'_primaries'}
                },
                '_columns' => {
                  'created_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  },
                  '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' => {
                    'extra' => {
                      'list' => [
                        'CREATE',
                        'APPLY',
                        'VOID',
                        'OVERDUE_INCREASE',
                        'OVERDUE_DECREASE'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 0
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'amount' => {
                    'size' => [
                      26,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 0
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'BranchesOverdrive' => bless( {
                '_ordered_columns' => [
                  'branchcode',
                  'authname'
                ],
                'name' => 'branches_overdrive',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::BranchesOverdrive',
                '_relationships' => {
                  'branchcode' => {
                    '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::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'branchcode'
                ],
                'source_name' => 'BranchesOverdrive',
                '_columns' => {
                  'branchcode' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'authname' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BranchesOverdrive'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Alert' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'alertid'
                  ]
                },
                '_columns' => {
                  'externalid' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 20,
                    'default_value' => ''
                  },
                  'type' => {
                    'size' => 10,
                    'default_value' => '',
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'alertid' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'Alert',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Alert'}{'_unique_constraints'}{'primary'},
                'name' => 'alert',
                '_ordered_columns' => [
                  'alertid',
                  'borrowernumber',
                  'type',
                  'externalid'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::Alert',
                '_relationships' => {
                  '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'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet'
              }, 'DBIx::Class::ResultSource::Table' ),
              'AuthorisedValuesBranch' => bless( {
                'name' => 'authorised_values_branches',
                '_ordered_columns' => [
                  'av_id',
                  'branchcode'
                ],
                'resultset_attributes' => {},
                '_relationships' => {
                  'av' => {
                    'class' => 'Koha::Schema::Result::AuthorisedValue',
                    'source' => 'Koha::Schema::Result::AuthorisedValue',
                    'cond' => {
                      'foreign.id' => 'self.av_id'
                    },
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'RESTRICT',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'fk_columns' => {
                        'av_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    }
                  },
                  'branchcode' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'filter',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branch'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::AuthorisedValuesBranch',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'av_id',
                  'branchcode'
                ],
                'source_name' => 'AuthorisedValuesBranch',
                '_columns' => {
                  'branchcode' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    'size' => 10,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'av_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AuthorisedValuesBranch'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'SearchHistory' => bless( {
                '_primaries' => [
                  'id'
                ],
                'name' => 'search_history',
                '_ordered_columns' => [
                  'id',
                  'userid',
                  'sessionid',
                  'query_desc',
                  'query_cgi',
                  'type',
                  'total',
                  'time'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::SearchHistory',
                '_relationships' => {},
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SearchHistory'}{'_primaries'}
                },
                '_columns' => {
                  'total' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'userid' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'query_cgi' => {
                    'is_nullable' => 0,
                    'data_type' => 'mediumtext'
                  },
                  'query_desc' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255
                  },
                  'time' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp'
                  },
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'type' => {
                    'size' => 16,
                    'default_value' => 'biblio',
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'sessionid' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 32
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'SearchHistory',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'TablesSetting' => bless( {
                'source_name' => 'TablesSetting',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_primaries' => [
                  'module',
                  'page',
                  'tablename'
                ],
                'result_class' => 'Koha::Schema::Result::TablesSetting',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {},
                '_ordered_columns' => [
                  'module',
                  'page',
                  'tablename',
                  'default_display_length',
                  'default_sort_order',
                  'default_save_state',
                  'default_save_state_search'
                ],
                'name' => 'tables_settings',
                '_columns' => {
                  'tablename' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255
                  },
                  'default_save_state_search' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  },
                  'default_sort_order' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'page' => {
                    'size' => 255,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'module' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'default_display_length' => {
                    'is_nullable' => 1,
                    'data_type' => 'smallint'
                  },
                  'default_save_state' => {
                    'is_boolean' => 1,
                    'default_value' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TablesSetting'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'AqordersTransfer' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'ordernumber_to' => {
                    'class' => 'Koha::Schema::Result::Aqorder',
                    'source' => 'Koha::Schema::Result::Aqorder',
                    'cond' => {
                      'foreign.ordernumber' => 'self.ordernumber_to'
                    },
                    'attrs' => {
                      'is_depends_on' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    }
                  },
                  'ordernumber_from' => {
                    'cond' => {
                      'foreign.ordernumber' => 'self.ordernumber_from'
                    },
                    'source' => 'Koha::Schema::Result::Aqorder',
                    '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::Aqorder'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::AqordersTransfer',
                '_ordered_columns' => [
                  'ordernumber_from',
                  'ordernumber_to',
                  'timestamp'
                ],
                'name' => 'aqorders_transfers',
                'source_name' => 'AqordersTransfer',
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'ordernumber_from' => [
                    'ordernumber_from'
                  ],
                  'ordernumber_to' => [
                    'ordernumber_to'
                  ]
                },
                '_columns' => {
                  'ordernumber_from' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'timestamp' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  },
                  'ordernumber_to' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'TagsApproval' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'term'
                ],
                'source_name' => 'TagsApproval',
                'name' => 'tags_approval',
                '_ordered_columns' => [
                  'term',
                  'approved',
                  'date_approved',
                  'approved_by',
                  'weight_total'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::TagsApproval',
                'resultset_attributes' => {},
                '_relationships' => {
                  'approved_by' => {
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.approved_by'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'SET NULL',
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'tags_indexes' => {
                    'class' => 'Koha::Schema::Result::TagsIndex',
                    'source' => 'Koha::Schema::Result::TagsIndex',
                    'cond' => {
                      'foreign.term' => 'self.term'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    }
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'approved_by' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'approved' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'weight_total' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'default_value' => 1
                  },
                  'term' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 191
                  },
                  'date_approved' => {
                    'data_type' => 'datetime',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TagsApproval'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'LibraryGroup' => bless( {
                '_columns' => {
                  'title' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 100
                  },
                  'branchcode' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'ft_local_hold_group' => {
                    'is_boolean' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'parent_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'created_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 1
                  },
                  'description' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'ft_limit_item_editing' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  },
                  'ft_search_groups_opac' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'ft_search_groups_staff' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'updated_on' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'ft_local_float_group' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'ft_hide_patron_info' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  }
                },
                '_unique_constraints' => {
                  'library_groups_uniq_2' => [
                    'parent_id',
                    'branchcode'
                  ],
                  'primary' => [
                    'id'
                  ],
                  'title' => [
                    'title'
                  ]
                },
                '_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',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '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' => {
                      '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' => {
                        'parent_id' => 1
                      }
                    }
                  },
                  'branchcode' => {
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      '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::Branch'
                  },
                  'library_groups' => {
                    'class' => 'Koha::Schema::Result::LibraryGroup',
                    'source' => 'Koha::Schema::Result::LibraryGroup',
                    'cond' => {
                      'foreign.parent_id' => 'self.id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LibraryGroup'}{'_unique_constraints'}{'primary'},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'LibraryGroup'
              }, 'DBIx::Class::ResultSource::Table' ),
              'MessageTransportType' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'MessageTransportType',
                '_primaries' => [
                  'message_transport_type'
                ],
                '_ordered_columns' => [
                  'message_transport_type'
                ],
                'name' => 'message_transport_types',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::MessageTransportType',
                'resultset_attributes' => {},
                '_relationships' => {
                  'message_queues' => {
                    'class' => 'Koha::Schema::Result::MessageQueue',
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.message_transport_type' => 'self.message_transport_type'
                    },
                    'source' => 'Koha::Schema::Result::MessageQueue'
                  },
                  'letters' => {
                    'class' => 'Koha::Schema::Result::Letter',
                    'cond' => {
                      'foreign.message_transport_type' => 'self.message_transport_type'
                    },
                    'source' => 'Koha::Schema::Result::Letter',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'message_transports' => {
                    'class' => 'Koha::Schema::Result::MessageTransport',
                    'source' => 'Koha::Schema::Result::MessageTransport',
                    'cond' => {
                      'foreign.message_transport_type' => 'self.message_transport_type'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    }
                  },
                  'overduerules_transport_types' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.message_transport_type' => 'self.message_transport_type'
                    },
                    'source' => 'Koha::Schema::Result::OverduerulesTransportType',
                    'class' => 'Koha::Schema::Result::OverduerulesTransportType'
                  },
                  'borrower_message_transport_preferences' => {
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::BorrowerMessageTransportPreference',
                    'cond' => {
                      'foreign.message_transport_type' => 'self.message_transport_type'
                    },
                    'class' => 'Koha::Schema::Result::BorrowerMessageTransportPreference'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MessageTransportType'}{'_primaries'}
                },
                '_columns' => {
                  'message_transport_type' => {
                    'size' => 20,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmDefaultUsageReport' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'erm_default_usage_report_id'
                  ]
                },
                '_columns' => {
                  'report_name' => {
                    'size' => 50,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'report_url_params' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'erm_default_usage_report_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'ErmDefaultUsageReport',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmDefaultUsageReport'}{'_unique_constraints'}{'primary'},
                '_ordered_columns' => [
                  'erm_default_usage_report_id',
                  'report_name',
                  'report_url_params'
                ],
                'name' => 'erm_default_usage_reports',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ErmDefaultUsageReport',
                '_relationships' => {},
                'resultset_attributes' => {}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Deletedbiblio' => bless( {
                '_columns' => {
                  'datecreated' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 0
                  },
                  'abstract' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'subtitle' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'biblionumber' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'timestamp' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'frameworkcode' => {
                    'size' => 4,
                    'default_value' => '',
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'unititle' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'seriestitle' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'part_number' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'medium' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'title' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'notes' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'author' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'copyrightdate' => {
                    'data_type' => 'smallint',
                    'is_nullable' => 1
                  },
                  'serial' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'part_name' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'biblionumber'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Deletedbiblio'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Deletedbiblio',
                'name' => 'deletedbiblio',
                '_ordered_columns' => [
                  'biblionumber',
                  'frameworkcode',
                  'author',
                  'title',
                  'medium',
                  'subtitle',
                  'part_number',
                  'part_name',
                  'unititle',
                  'notes',
                  'serial',
                  'seriestitle',
                  'copyrightdate',
                  'timestamp',
                  'datecreated',
                  'abstract'
                ],
                'result_class' => 'Koha::Schema::Result::Deletedbiblio',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'biblioitem' => {
                    'class' => 'Koha::Schema::Result::Deletedbiblioitem',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::Deletedbiblioitem',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    }
                  },
                  'metadata' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'single',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'cascade_update' => 1
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::DeletedbiblioMetadata',
                    'class' => 'Koha::Schema::Result::DeletedbiblioMetadata'
                  },
                  'deletedbiblio_metadatas' => {
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::DeletedbiblioMetadata',
                    'class' => 'Koha::Schema::Result::DeletedbiblioMetadata'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ImportAuth' => bless( {
                '_columns' => {
                  'control_number' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 25
                  },
                  'authorized_heading' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 128
                  },
                  'import_record_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'original_source' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 25
                  },
                  'matched_authid' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'import_record_id'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportAuth'}{'_unique_constraints'}{'primary'},
                'source_name' => 'ImportAuth',
                '_ordered_columns' => [
                  'import_record_id',
                  'matched_authid',
                  'control_number',
                  'authorized_heading',
                  'original_source'
                ],
                'name' => 'import_auths',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'import_record' => {
                    'class' => 'Koha::Schema::Result::ImportRecord',
                    'source' => 'Koha::Schema::Result::ImportRecord',
                    'cond' => {
                      'foreign.import_record_id' => 'self.import_record_id'
                    },
                    '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
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::ImportAuth',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Recall' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'recall_id'
                  ]
                },
                '_columns' => {
                  'timestamp' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'created_date' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'datetime',
                    'is_nullable' => 1
                  },
                  'completed_date' => {
                    'data_type' => 'datetime',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'item_level' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'priority' => {
                    'data_type' => 'smallint',
                    'is_nullable' => 1
                  },
                  'expiration_date' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'datetime',
                    'is_nullable' => 1
                  },
                  'pickup_library_id' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    'size' => 10
                  },
                  'recall_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'patron_id' => {
                    'default_value' => 0,
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'item_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'completed' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'status' => {
                    'extra' => {
                      'list' => [
                        'requested',
                        'overdue',
                        'waiting',
                        'in_transit',
                        'cancelled',
                        'expired',
                        'fulfilled'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 1,
                    'default_value' => 'requested'
                  },
                  'notes' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'waiting_date' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'biblio_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'pickup_library' => {
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.pickup_library_id'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'pickup_library_id' => 1
                      },
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'single'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'library' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.pickup_library_id'
                    },
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'pickup_library_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    }
                  },
                  'biblio' => {
                    'class' => 'Koha::Schema::Result::Biblio',
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblio_id'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'biblio_id' => 1
                      },
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    }
                  },
                  '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'
                  },
                  'item' => {
                    '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' => {
                        'item_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.itemnumber' => 'self.item_id'
                    },
                    'source' => 'Koha::Schema::Result::Item'
                  }
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::Recall',
                'name' => 'recalls',
                '_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'
                ],
                'source_name' => 'Recall',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Recall'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'Aqbudgetborrower' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'budget_id',
                    'borrowernumber'
                  ]
                },
                '_columns' => {
                  'budget_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  }
                },
                '_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_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Aqbudgetborrower',
                '_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,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'budget_id' => 1
                      }
                    },
                    'class' => 'Koha::Schema::Result::Aqbudget'
                  },
                  'borrowernumber' => {
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'resultset_attributes' => {}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Aqinvoice' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'Aqinvoice',
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'primary' => [
                    'invoiceid'
                  ]
                },
                '_columns' => {
                  'closedate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'invoiceid' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'shipmentdate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'message_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'billingdate' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'booksellerid' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'invoicenumber' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 0
                  },
                  'shipmentcost' => {
                    'is_nullable' => 1,
                    'data_type' => 'decimal',
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'shipmentcost_budgetid' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::Aqinvoice',
                '_relationships' => {
                  'shipmentcost_budgetid' => {
                    'cond' => {
                      'foreign.budget_id' => 'self.shipmentcost_budgetid'
                    },
                    'source' => 'Koha::Schema::Result::Aqbudget',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'accessor' => 'filter'
                    },
                    'class' => 'Koha::Schema::Result::Aqbudget'
                  },
                  'aqorders' => {
                    'class' => 'Koha::Schema::Result::Aqorder',
                    'source' => 'Koha::Schema::Result::Aqorder',
                    'cond' => {
                      'foreign.invoiceid' => 'self.invoiceid'
                    },
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'booksellerid' => {
                    'class' => 'Koha::Schema::Result::Aqbookseller',
                    'cond' => {
                      'foreign.id' => 'self.booksellerid'
                    },
                    'source' => 'Koha::Schema::Result::Aqbookseller',
                    '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
                    }
                  },
                  'aqinvoice_adjustments' => {
                    'class' => 'Koha::Schema::Result::AqinvoiceAdjustment',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.invoiceid' => 'self.invoiceid'
                    },
                    'source' => 'Koha::Schema::Result::AqinvoiceAdjustment'
                  },
                  'additional_field_values' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'cond' => sub { "DUMMY" },
                    'source' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'class' => 'Koha::Schema::Result::AdditionalFieldValue'
                  },
                  'message' => {
                    'source' => 'Koha::Schema::Result::EdifactMessage',
                    'cond' => {
                      'foreign.id' => 'self.message_id'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'message_id' => 1
                      },
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1
                    },
                    'class' => 'Koha::Schema::Result::EdifactMessage'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'name' => 'aqinvoices',
                '_ordered_columns' => [
                  'invoiceid',
                  'invoicenumber',
                  'booksellerid',
                  'shipmentdate',
                  'billingdate',
                  'closedate',
                  'shipmentcost',
                  'shipmentcost_budgetid',
                  'message_id'
                ],
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqinvoice'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'BranchTransferLimit' => bless( {
                '_columns' => {
                  'toBranch' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'accessor' => 'to_branch',
                    'size' => 10
                  },
                  'limitId' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1,
                    'accessor' => 'limit_id'
                  },
                  'itemtype' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'fromBranch' => {
                    'size' => 10,
                    'accessor' => 'from_branch',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'ccode' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'limitId'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BranchTransferLimit'}{'_unique_constraints'}{'primary'},
                'source_name' => 'BranchTransferLimit',
                '_ordered_columns' => [
                  'limitId',
                  'toBranch',
                  'fromBranch',
                  'itemtype',
                  'ccode'
                ],
                'name' => 'branch_transfer_limits',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {},
                'result_class' => 'Koha::Schema::Result::BranchTransferLimit',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'AdditionalField' => bless( {
                '_columns' => {
                  'authorised_value_category' => {
                    'size' => 32,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'tablename' => {
                    'size' => 255,
                    'default_value' => '',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'marcfield_mode' => {
                    'default_value' => 'get',
                    'extra' => {
                      'list' => [
                        'get',
                        'set'
                      ]
                    },
                    'is_nullable' => 0,
                    'data_type' => 'enum'
                  },
                  'name' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'default_value' => '',
                    'size' => 255
                  },
                  'marcfield' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 16,
                    'default_value' => ''
                  },
                  'repeatable' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'searchable' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'fields_uniq' => [
                    'tablename',
                    'name'
                  ],
                  'primary' => [
                    'id'
                  ]
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AdditionalField'}{'_unique_constraints'}{'primary'},
                '_ordered_columns' => [
                  'id',
                  'tablename',
                  'name',
                  'authorised_value_category',
                  'marcfield',
                  'marcfield_mode',
                  'searchable',
                  'repeatable'
                ],
                'name' => 'additional_fields',
                'result_class' => 'Koha::Schema::Result::AdditionalField',
                '_relationships' => {
                  'additional_field_values' => {
                    'source' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'cond' => {
                      'foreign.field_id' => 'self.id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::AdditionalFieldValue'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_columns_info_loaded' => 0,
                'source_name' => 'AdditionalField',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmUsageItem' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'ErmUsageItem',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_primaries' => [
                  'item_id'
                ],
                '_ordered_columns' => [
                  'item_id',
                  'item',
                  'platform',
                  'publisher',
                  'usage_data_provider_id'
                ],
                'name' => 'erm_usage_items',
                'resultset_attributes' => {},
                '_relationships' => {
                  'erm_usage_muses' => {
                    'class' => 'Koha::Schema::Result::ErmUsageMus',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageMus',
                    'cond' => {
                      'foreign.item_id' => 'self.item_id'
                    }
                  },
                  'erm_usage_yuses' => {
                    'source' => 'Koha::Schema::Result::ErmUsageYus',
                    'cond' => {
                      'foreign.item_id' => 'self.item_id'
                    },
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::ErmUsageYus'
                  },
                  'usage_data_provider' => {
                    'class' => 'Koha::Schema::Result::ErmUsageDataProvider',
                    'attrs' => {
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'usage_data_provider_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageDataProvider'
                  }
                },
                'result_class' => 'Koha::Schema::Result::ErmUsageItem',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsageItem'}{'_primaries'}
                },
                '_columns' => {
                  'item' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 500
                  },
                  'item_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'platform' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'publisher' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'usage_data_provider_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ActionLog' => bless( {
                '_columns' => {
                  'interface' => {
                    'size' => 30,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'object' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'user' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'diff' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'action_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'action' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'timestamp' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  },
                  'script' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'trace' => {
                    'is_nullable' => 1,
                    'data_type' => 'text'
                  },
                  'info' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'module' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'action_id'
                  ]
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ActionLog',
                '_relationships' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'action_id',
                  'timestamp',
                  'user',
                  'module',
                  'action',
                  'object',
                  'info',
                  'interface',
                  'script',
                  'trace',
                  'diff'
                ],
                'name' => 'action_logs',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ActionLog'}{'_unique_constraints'}{'primary'},
                'source_name' => 'ActionLog',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'AqordersItem' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'AqordersItem',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_unique_constraints' => {
                  'primary' => [
                    'itemnumber'
                  ]
                },
                '_columns' => {
                  'itemnumber' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'ordernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'timestamp' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp'
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqordersItem'}{'_unique_constraints'}{'primary'},
                '_ordered_columns' => [
                  'ordernumber',
                  'itemnumber',
                  'timestamp'
                ],
                'name' => 'aqorders_items',
                'result_class' => 'Koha::Schema::Result::AqordersItem',
                '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',
                      'accessor' => 'filter',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet'
              }, 'DBIx::Class::ResultSource::Table' ),
              'Club' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns' => {
                  'date_updated' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 1
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'club_template_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'description' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'name' => {
                    'is_nullable' => 0,
                    'data_type' => 'text'
                  },
                  'date_start' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'date_created' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'date_end' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'branchcode' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10,
                    'is_foreign_key' => 1
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::Club',
                '_relationships' => {
                  'club_fields' => {
                    'class' => 'Koha::Schema::Result::ClubField',
                    'cond' => {
                      'foreign.club_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::ClubField',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  },
                  'club_enrollments' => {
                    'class' => 'Koha::Schema::Result::ClubEnrollment',
                    'source' => 'Koha::Schema::Result::ClubEnrollment',
                    'cond' => {
                      'foreign.club_id' => 'self.id'
                    },
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'club_template' => {
                    'class' => '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
                      },
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    },
                    'source' => 'Koha::Schema::Result::ClubTemplate',
                    'cond' => {
                      'foreign.id' => 'self.club_template_id'
                    }
                  },
                  'club_holds' => {
                    'cond' => {
                      'foreign.club_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::ClubHold',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::ClubHold'
                  },
                  'branchcode' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'on_delete' => 'RESTRICT',
                      'accessor' => 'filter',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'RESTRICT',
                      'undef_on_null_fk' => 1
                    }
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_ordered_columns' => [
                  'id',
                  'club_template_id',
                  'name',
                  'description',
                  'date_start',
                  'date_end',
                  'branchcode',
                  'date_created',
                  'date_updated'
                ],
                'name' => 'clubs',
                'source_name' => 'Club',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Club'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'AuthTagStructure' => bless( {
                'source_name' => 'AuthTagStructure',
                '_primaries' => [
                  'authtypecode',
                  'tagfield'
                ],
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::AuthTagStructure',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  'authtypecode' => {
                    '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::AuthType',
                    'cond' => {
                      'foreign.authtypecode' => 'self.authtypecode'
                    },
                    'class' => 'Koha::Schema::Result::AuthType'
                  }
                },
                '_ordered_columns' => [
                  'authtypecode',
                  'tagfield',
                  'liblibrarian',
                  'libopac',
                  'repeatable',
                  'mandatory',
                  'authorised_value'
                ],
                'name' => 'auth_tag_structure',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AuthTagStructure'}{'_primaries'}
                },
                '_columns' => {
                  'tagfield' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 3,
                    'default_value' => ''
                  },
                  'authorised_value' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 32
                  },
                  'mandatory' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'repeatable' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'liblibrarian' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 255,
                    'default_value' => ''
                  },
                  'libopac' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255,
                    'default_value' => ''
                  },
                  'authtypecode' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    'size' => 10,
                    'default_value' => ''
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'IdentityProviderDomain' => bless( {
                '_primaries' => [
                  'identity_provider_domain_id'
                ],
                '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'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'identity_provider' => {
                    'class' => 'Koha::Schema::Result::IdentityProvider',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'RESTRICT',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'fk_columns' => {
                        'identity_provider_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.identity_provider_id' => 'self.identity_provider_id'
                    },
                    'source' => 'Koha::Schema::Result::IdentityProvider'
                  },
                  'default_library' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'default_library_id' => 1
                      },
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.default_library_id'
                    },
                    'source' => 'Koha::Schema::Result::Branch'
                  },
                  'default_category' => {
                    'attrs' => {
                      'fk_columns' => {
                        'default_category_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' => 'RESTRICT'
                    },
                    'source' => 'Koha::Schema::Result::Category',
                    'cond' => {
                      'foreign.categorycode' => 'self.default_category_id'
                    },
                    'class' => 'Koha::Schema::Result::Category'
                  }
                },
                'result_class' => 'Koha::Schema::Result::IdentityProviderDomain',
                'resultset_attributes' => {},
                '_unique_constraints' => {
                  'identity_provider_id' => [
                    'identity_provider_id',
                    'domain'
                  ],
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'IdentityProviderDomain'}{'_primaries'}
                },
                '_columns' => {
                  'auto_register' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'domain' => {
                    'size' => 100,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'identity_provider_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'default_library_id' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    'size' => 10
                  },
                  'default_category_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'is_foreign_key' => 1,
                    'size' => 10
                  },
                  'allow_opac' => {
                    'default_value' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'is_boolean' => 1
                  },
                  'identity_provider_domain_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'update_on_auth' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'is_boolean' => 1
                  },
                  'allow_staff' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'IdentityProviderDomain',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'MarcSubfieldStructure' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'frameworkcode',
                    'tagfield',
                    'tagsubfield'
                  ]
                },
                '_columns' => {
                  'hidden' => {
                    'default_value' => 8,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'isurl' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'libopac' => {
                    'size' => 255,
                    'default_value' => '',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'link' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'important' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'defaultvalue' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'tagfield' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 3,
                    'default_value' => ''
                  },
                  'tagsubfield' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'default_value' => '',
                    'size' => 1
                  },
                  'kohafield' => {
                    'size' => 40,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'mandatory' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'repeatable' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'maxlength' => {
                    'default_value' => 9999,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'value_builder' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'frameworkcode' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 4,
                    'default_value' => ''
                  },
                  'liblibrarian' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'default_value' => '',
                    'size' => 255
                  },
                  'display_order' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'authtypecode' => {
                    'size' => 20,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'authorised_value' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'is_foreign_key' => 1,
                    'size' => 32
                  },
                  'tab' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  },
                  'seealso' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 1100
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::MarcSubfieldStructure',
                '_relationships' => {
                  'authorised_value' => {
                    'source' => 'Koha::Schema::Result::AuthorisedValueCategory',
                    'cond' => {
                      'foreign.category_name' => 'self.authorised_value'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'SET NULL',
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    },
                    'class' => 'Koha::Schema::Result::AuthorisedValueCategory'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_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' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcSubfieldStructure'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'Tag' => bless( {
                '_columns' => {
                  'weight' => {
                    'data_type' => 'bigint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'entry' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 255
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'entry'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Tag'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Tag',
                'name' => 'tags',
                '_ordered_columns' => [
                  'entry',
                  'weight'
                ],
                '_relationships' => {},
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Tag',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmAgreementRelationship' => bless( {
                '_columns' => {
                  'notes' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'relationship' => {
                    'is_nullable' => 0,
                    'data_type' => 'enum',
                    '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'
                      ]
                    }
                  },
                  'agreement_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'related_agreement_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'agreement_id',
                    'related_agreement_id'
                  ]
                },
                '_ordered_columns' => [
                  'agreement_id',
                  'related_agreement_id',
                  'relationship',
                  'notes'
                ],
                'name' => 'erm_agreement_relationships',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  'related_agreement' => {
                    'attrs' => {
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'related_agreement_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.agreement_id' => 'self.related_agreement_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmAgreement',
                    'class' => 'Koha::Schema::Result::ErmAgreement'
                  },
                  'agreement' => {
                    'class' => 'Koha::Schema::Result::ErmAgreement',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'agreement_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.agreement_id' => 'self.agreement_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmAgreement'
                  }
                },
                'result_class' => 'Koha::Schema::Result::ErmAgreementRelationship',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmAgreementRelationship'}{'_unique_constraints'}{'primary'},
                'source_name' => 'ErmAgreementRelationship'
              }, 'DBIx::Class::ResultSource::Table' ),
              'Illcomment' => bless( {
                'source_name' => 'Illcomment',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_primaries' => [
                  'illcomment_id'
                ],
                'resultset_attributes' => {},
                '_relationships' => {
                  'borrowernumber' => {
                    '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'
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'illrequest' => {
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'fk_columns' => {
                        'illrequest_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.illrequest_id' => 'self.illrequest_id'
                    },
                    'source' => 'Koha::Schema::Result::Illrequest',
                    'class' => 'Koha::Schema::Result::Illrequest'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Illcomment',
                '_ordered_columns' => [
                  'illcomment_id',
                  'illrequest_id',
                  'borrowernumber',
                  'comment',
                  'timestamp'
                ],
                'name' => 'illcomments',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Illcomment'}{'_primaries'}
                },
                '_columns' => {
                  'borrowernumber' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'illrequest_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'bigint',
                    'is_nullable' => 0,
                    'extra' => {
                      'unsigned' => 1
                    }
                  },
                  'comment' => {
                    'data_type' => 'text',
                    'is_nullable' => 1
                  },
                  'illcomment_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'timestamp' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Stockrotationstage' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'stage_id'
                  ]
                },
                '_columns' => {
                  'rota_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'branchcode_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'is_foreign_key' => 1
                  },
                  'stage_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'duration' => {
                    'default_value' => 4,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'position' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                'source_name' => 'Stockrotationstage',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Stockrotationstage'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::Stockrotationstage',
                '_relationships' => {
                  'stockrotationitems' => {
                    'class' => 'Koha::Schema::Result::Stockrotationitem',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.stage_id' => 'self.stage_id'
                    },
                    'source' => 'Koha::Schema::Result::Stockrotationitem'
                  },
                  'rota' => {
                    'class' => 'Koha::Schema::Result::Stockrotationrota',
                    'source' => 'Koha::Schema::Result::Stockrotationrota',
                    'cond' => {
                      'foreign.rota_id' => 'self.rota_id'
                    },
                    'attrs' => {
                      'fk_columns' => {
                        'rota_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'
                    }
                  },
                  'branchcode' => {
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode_id'
                    },
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'branchcode_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_ordered_columns' => [
                  'stage_id',
                  'position',
                  'rota_id',
                  'branchcode_id',
                  'duration'
                ],
                'name' => 'stockrotationstages'
              }, 'DBIx::Class::ResultSource::Table' ),
              'BorrowerAttribute' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'BorrowerAttribute',
                '_ordered_columns' => [
                  'id',
                  'borrowernumber',
                  'code',
                  'attribute'
                ],
                'name' => 'borrower_attributes',
                '_relationships' => {
                  'borrower_attribute_types' => {
                    'attrs' => {
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'code' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::BorrowerAttributeType',
                    'cond' => {
                      'foreign.code' => 'self.code'
                    },
                    'class' => 'Koha::Schema::Result::BorrowerAttributeType'
                  },
                  'code' => {
                    'cond' => {
                      'foreign.code' => 'self.code'
                    },
                    'source' => 'Koha::Schema::Result::BorrowerAttributeType',
                    '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
                    },
                    'class' => 'Koha::Schema::Result::BorrowerAttributeType'
                  },
                  'borrowernumber' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'accessor' => 'filter',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::BorrowerAttribute',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'code' => {
                    'is_foreign_key' => 1,
                    'size' => 64,
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'attribute' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerAttribute'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Aqbasketgroup' => bless( {
                'name' => 'aqbasketgroups',
                '_ordered_columns' => [
                  'id',
                  'name',
                  'closed',
                  'booksellerid',
                  'deliveryplace',
                  'freedeliveryplace',
                  'deliverycomment',
                  'billingplace'
                ],
                'result_class' => 'Koha::Schema::Result::Aqbasketgroup',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'booksellerid' => {
                    '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::Aqbookseller',
                    'cond' => {
                      'foreign.id' => 'self.booksellerid'
                    },
                    'class' => 'Koha::Schema::Result::Aqbookseller'
                  },
                  'aqbaskets' => {
                    'source' => 'Koha::Schema::Result::Aqbasket',
                    'cond' => {
                      'foreign.basketgroupid' => 'self.id'
                    },
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Aqbasket'
                  }
                },
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'Aqbasketgroup',
                '_columns' => {
                  'billingplace' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'name' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 50
                  },
                  'booksellerid' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'freedeliveryplace' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'deliverycomment' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'deliveryplace' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'closed' => {
                    'is_boolean' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqbasketgroup'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'AudioAlert' => bless( {
                'name' => 'audio_alerts',
                '_ordered_columns' => [
                  'id',
                  'precedence',
                  'selector',
                  'sound'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::AudioAlert',
                'resultset_attributes' => {},
                '_relationships' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'AudioAlert',
                '_columns' => {
                  'sound' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255
                  },
                  'selector' => {
                    'size' => 255,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'precedence' => {
                    'extra' => {
                      'unsigned' => 1
                    },
                    'is_nullable' => 0,
                    'data_type' => 'smallint'
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AudioAlert'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'MessageAttribute' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'message_attribute_id'
                  ],
                  'message_name' => [
                    'message_name'
                  ]
                },
                '_columns' => {
                  'message_name' => {
                    'size' => 40,
                    'default_value' => '',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'message_attribute_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'takes_days' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MessageAttribute'}{'_unique_constraints'}{'primary'},
                'result_class' => 'Koha::Schema::Result::MessageAttribute',
                '_relationships' => {
                  'borrower_message_preferences' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      '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' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::MessageTransport',
                    'cond' => {
                      'foreign.message_attribute_id' => 'self.message_attribute_id'
                    },
                    'class' => 'Koha::Schema::Result::MessageTransport'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'name' => 'message_attributes',
                '_ordered_columns' => [
                  'message_attribute_id',
                  'message_name',
                  'takes_days'
                ],
                'source_name' => 'MessageAttribute',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'City' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'City',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_unique_constraints' => {
                  'primary' => [
                    'cityid'
                  ]
                },
                '_columns' => {
                  'cityid' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'city_country' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 100
                  },
                  'city_state' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 100
                  },
                  'city_name' => {
                    'default_value' => '',
                    'size' => 100,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'city_zipcode' => {
                    'size' => 20,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'City'}{'_unique_constraints'}{'primary'},
                'name' => 'cities',
                '_ordered_columns' => [
                  'cityid',
                  'city_name',
                  'city_state',
                  'city_country',
                  'city_zipcode'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {},
                'result_class' => 'Koha::Schema::Result::City',
                'resultset_attributes' => {}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Collection' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'colId'
                  ]
                },
                '_columns' => {
                  'colBranchcode' => {
                    'is_foreign_key' => 1,
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'accessor' => 'col_branchcode'
                  },
                  'colId' => {
                    'is_auto_increment' => 1,
                    'accessor' => 'col_id',
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'colTitle' => {
                    'accessor' => 'col_title',
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 100,
                    'default_value' => ''
                  },
                  'colDesc' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 0,
                    'accessor' => 'col_desc'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                '_relationships' => {
                  'col_branchcode' => {
                    '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' => {
                        'colBranchcode' => 1
                      }
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.colBranchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'collections_trackings' => {
                    'class' => 'Koha::Schema::Result::CollectionsTracking',
                    'cond' => {
                      'foreign.colId' => 'self.colId'
                    },
                    'source' => 'Koha::Schema::Result::CollectionsTracking',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::Collection',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_ordered_columns' => [
                  'colId',
                  'colTitle',
                  'colDesc',
                  'colBranchcode'
                ],
                'name' => 'collections',
                'source_name' => 'Collection',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Collection'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'KeyboardShortcut' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                '_relationships' => {},
                'result_class' => 'Koha::Schema::Result::KeyboardShortcut',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'name' => 'keyboard_shortcuts',
                '_ordered_columns' => [
                  'shortcut_name',
                  'shortcut_keys'
                ],
                'source_name' => 'KeyboardShortcut',
                '_primaries' => [
                  'shortcut_name'
                ],
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'KeyboardShortcut'}{'_primaries'}
                },
                '_columns' => {
                  'shortcut_name' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'shortcut_keys' => {
                    'size' => 80,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'SearchFilter' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {},
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::SearchFilter',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'name' => 'search_filters',
                '_ordered_columns' => [
                  'search_filter_id',
                  'name',
                  'query',
                  'limits',
                  'opac',
                  'staff_client'
                ],
                'source_name' => 'SearchFilter',
                '_primaries' => [
                  'search_filter_id'
                ],
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SearchFilter'}{'_primaries'}
                },
                '_columns' => {
                  'search_filter_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'limits' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'opac' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'staff_client' => {
                    'is_boolean' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'name' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'query' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'PrintersProfile' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'PrintersProfile',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_primaries' => [
                  'profile_id'
                ],
                'name' => 'printers_profile',
                '_ordered_columns' => [
                  'profile_id',
                  'printer_name',
                  'template_id',
                  'paper_bin',
                  'offset_horz',
                  'offset_vert',
                  'creep_horz',
                  'creep_vert',
                  'units',
                  'creator'
                ],
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::PrintersProfile',
                '_relationships' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_columns' => {
                  'printer_name' => {
                    'default_value' => 'Default Printer',
                    'size' => 40,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'creator' => {
                    'size' => 15,
                    'default_value' => 'Labels',
                    'is_nullable' => 0,
                    'data_type' => 'char'
                  },
                  'units' => {
                    'is_nullable' => 0,
                    'data_type' => 'char',
                    'size' => 20,
                    'default_value' => 'POINT'
                  },
                  'creep_horz' => {
                    'data_type' => 'float',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'profile_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'paper_bin' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => 'Bypass',
                    'size' => 20
                  },
                  'creep_vert' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'float'
                  },
                  'template_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'default_value' => 0
                  },
                  'offset_vert' => {
                    'data_type' => 'float',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'offset_horz' => {
                    'default_value' => 0,
                    'data_type' => 'float',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PrintersProfile'}{'_primaries'},
                  'printername' => [
                    'printer_name',
                    'template_id',
                    'paper_bin',
                    'creator'
                  ]
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'BorrowerPasswordRecovery' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'BorrowerPasswordRecovery',
                '_primaries' => [
                  'borrowernumber'
                ],
                'name' => 'borrower_password_recovery',
                '_ordered_columns' => [
                  'borrowernumber',
                  'uuid',
                  'valid_until'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::BorrowerPasswordRecovery',
                '_relationships' => {},
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerPasswordRecovery'}{'_primaries'}
                },
                '_columns' => {
                  'uuid' => {
                    'size' => 128,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'borrowernumber' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'valid_until' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'SavedReport' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns' => {
                  'date_run' => {
                    'data_type' => 'datetime',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'report_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'report' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  }
                },
                'name' => 'saved_reports',
                '_ordered_columns' => [
                  'id',
                  'report_id',
                  'report',
                  'date_run'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::SavedReport',
                '_relationships' => {},
                'resultset_attributes' => {},
                '_columns_info_loaded' => 0,
                'source_name' => 'SavedReport',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SavedReport'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'HouseboundProfile' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'borrowernumber'
                  ]
                },
                '_columns' => {
                  'frequency' => {
                    'is_nullable' => 0,
                    'data_type' => 'mediumtext'
                  },
                  'notes' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'fav_authors' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'day' => {
                    'is_nullable' => 0,
                    'data_type' => 'mediumtext'
                  },
                  'fav_subjects' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'referral' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'fav_itemtypes' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                '_ordered_columns' => [
                  'borrowernumber',
                  'day',
                  'frequency',
                  'fav_itemtypes',
                  'fav_subjects',
                  'fav_authors',
                  'referral',
                  'notes'
                ],
                'name' => 'housebound_profile',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::HouseboundProfile',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'housebound_visits' => {
                    'class' => 'Koha::Schema::Result::HouseboundVisit',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::HouseboundVisit',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    }
                  },
                  'borrowernumber' => {
                    '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
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'HouseboundProfile',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'HouseboundProfile'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'CourseInstructor' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'course_id',
                    'borrowernumber'
                  ]
                },
                '_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,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                'source_name' => 'CourseInstructor',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CourseInstructor'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0,
                '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,
                      'accessor' => 'filter',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  },
                  'course' => {
                    'cond' => {
                      'foreign.course_id' => 'self.course_id'
                    },
                    'source' => 'Koha::Schema::Result::Course',
                    'attrs' => {
                      'is_depends_on' => 1,
                      'on_delete' => 'RESTRICT',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'course_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'RESTRICT',
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::Course'
                  }
                },
                'result_class' => 'Koha::Schema::Result::CourseInstructor',
                '_ordered_columns' => [
                  'course_id',
                  'borrowernumber'
                ],
                'name' => 'course_instructors'
              }, 'DBIx::Class::ResultSource::Table' ),
              'EdifactEan' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'ee_id'
                  ]
                },
                '_columns' => {
                  'description' => {
                    'size' => 128,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'ee_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'id_code_qualifier' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => 14,
                    'size' => 3
                  },
                  'ean' => {
                    'size' => 15,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'branchcode' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  }
                },
                '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' => {
                  'branchcode' => {
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'RESTRICT',
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'branch' => {
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'branchcode' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'class' => 'Koha::Schema::Result::Branch'
                  }
                },
                'name' => 'edifact_ean',
                '_ordered_columns' => [
                  'ee_id',
                  'description',
                  'branchcode',
                  'ean',
                  'id_code_qualifier'
                ]
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmEholdingsPackage' => bless( {
                'source_name' => 'ErmEholdingsPackage',
                '_primaries' => [
                  'package_id'
                ],
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::ErmEholdingsPackage',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'extended_attributes' => {
                    'cond' => sub { "DUMMY" },
                    'source' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::AdditionalFieldValue'
                  },
                  'vendor' => {
                    'source' => 'Koha::Schema::Result::Aqbookseller',
                    'cond' => {
                      'foreign.id' => 'self.vendor_id'
                    },
                    'attrs' => {
                      'accessor' => 'single',
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      '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'
                  },
                  'erm_eholdings_resources' => {
                    'class' => 'Koha::Schema::Result::ErmEholdingsResource',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.package_id' => 'self.package_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmEholdingsResource'
                  },
                  'erm_eholdings_packages_agreements' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.package_id' => 'self.package_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmEholdingsPackagesAgreement',
                    'class' => 'Koha::Schema::Result::ErmEholdingsPackagesAgreement'
                  },
                  'additional_field_values' => {
                    'class' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'cond' => sub { "DUMMY" }
                  }
                },
                '_ordered_columns' => [
                  'package_id',
                  'vendor_id',
                  'name',
                  'external_id',
                  'provider',
                  'package_type',
                  'content_type',
                  'notes',
                  'created_on'
                ],
                'name' => 'erm_eholdings_packages',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmEholdingsPackage'}{'_primaries'}
                },
                '_columns' => {
                  'notes' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'name' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'provider' => {
                    'extra' => {
                      'list' => [
                        'ebsco'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 1
                  },
                  'content_type' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'package_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'vendor_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'created_on' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  },
                  'external_id' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'package_type' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Ticket' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns' => {
                  'status' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'title' => {
                    'is_nullable' => 0,
                    'data_type' => 'text'
                  },
                  'biblio_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'resolved_date' => {
                    'data_type' => 'datetime',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'reporter_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    'default_value' => 0
                  },
                  'source' => {
                    'default_value' => 'catalog',
                    'extra' => {
                      'list' => [
                        'catalog'
                      ]
                    },
                    'is_nullable' => 0,
                    'data_type' => 'enum'
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'body' => {
                    'data_type' => 'text',
                    'is_nullable' => 0
                  },
                  'assignee_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'resolver_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'reported_date' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'Ticket',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Ticket'}{'_unique_constraints'}{'primary'},
                '_ordered_columns' => [
                  'id',
                  'source',
                  'reporter_id',
                  'reported_date',
                  'title',
                  'body',
                  'status',
                  'assignee_id',
                  'resolver_id',
                  'resolved_date',
                  'biblio_id'
                ],
                'name' => 'tickets',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::Ticket',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  'biblio' => {
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblio_id'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'biblio_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'single'
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  },
                  'assignee' => {
                    'class' => '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
                      },
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'single'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.assignee_id'
                    }
                  },
                  'reporter' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.reporter_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' => {
                        'reporter_id' => 1
                      },
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single'
                    }
                  },
                  'ticket_updates' => {
                    'cond' => {
                      'foreign.ticket_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::TicketUpdate',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::TicketUpdate'
                  },
                  'resolver' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.resolver_id'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'resolver_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
                    }
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Stockrotationitem' => bless( {
                'source_name' => 'Stockrotationitem',
                '_primaries' => [
                  'itemnumber_id'
                ],
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::Stockrotationitem',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'itemnumber' => {
                    'class' => 'Koha::Schema::Result::Item',
                    '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' => {
                        'itemnumber_id' => 1
                      }
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber_id'
                    }
                  },
                  'stage' => {
                    'class' => 'Koha::Schema::Result::Stockrotationstage',
                    'cond' => {
                      'foreign.stage_id' => 'self.stage_id'
                    },
                    'source' => 'Koha::Schema::Result::Stockrotationstage',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'stage_id' => 1
                      },
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single'
                    }
                  }
                },
                '_ordered_columns' => [
                  'itemnumber_id',
                  'stage_id',
                  'indemand',
                  'fresh'
                ],
                'name' => 'stockrotationitems',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Stockrotationitem'}{'_primaries'}
                },
                '_columns' => {
                  'stage_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'indemand' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'itemnumber_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'fresh' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ItemtypeLocalization' => bless( {
                '_columns' => {
                  'code' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 64
                  },
                  'localization_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'translation' => {
                    'data_type' => 'text',
                    'is_nullable' => 1
                  },
                  'lang' => {
                    'size' => 25,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  }
                },
                'view_definition' => 'SELECT localization_id, code, lang, translation FROM localization WHERE entity=\'itemtypes\'',
                'is_virtual' => 1,
                '_relationships' => {
                  'itemtype' => {
                    'class' => 'Koha::Schema::Result::Itemtype',
                    'attrs' => {
                      'fk_columns' => {
                        'itemtype' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'undef_on_null_fk' => 1,
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.code' => 'self.itemtype'
                    },
                    'source' => 'Koha::Schema::Result::Itemtype'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::ItemtypeLocalization',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'deploy_depends_on' => {},
                '_ordered_columns' => [
                  'localization_id',
                  'code',
                  'lang',
                  'translation'
                ],
                'name' => 'itemtype_localizations',
                'source_name' => 'ItemtypeLocalization',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::View' ),
              'TmpHoldsqueue' => bless( {
                'name' => 'tmp_holdsqueue',
                '_ordered_columns' => [
                  'biblionumber',
                  'itemnumber',
                  'barcode',
                  'surname',
                  'firstname',
                  'phone',
                  'borrowernumber',
                  'cardnumber',
                  'reservedate',
                  'title',
                  'itemcallnumber',
                  'holdingbranch',
                  'pickbranch',
                  'notes',
                  'item_level_request',
                  'timestamp'
                ],
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::TmpHoldsqueue',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'item' => {
                    'class' => 'Koha::Schema::Result::Item',
                    '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,
                      'fk_columns' => {
                        'itemnumber' => 1
                      },
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'single'
                    }
                  },
                  'biblio' => {
                    'class' => 'Koha::Schema::Result::Biblio',
                    'attrs' => {
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'biblionumber' => 1
                      }
                    },
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    }
                  },
                  'borrower' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'fk_columns' => {
                        'borrowernumber' => 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'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    }
                  },
                  'itemnumber' => {
                    'class' => 'Koha::Schema::Result::Item',
                    '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
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    }
                  },
                  'borrowernumber' => {
                    '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
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'biblioitem' => {
                    'class' => 'Koha::Schema::Result::Biblioitem',
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'fk_columns' => {
                        'biblionumber' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => 'Koha::Schema::Result::Biblioitem'
                  },
                  'biblionumber' => {
                    'class' => 'Koha::Schema::Result::Biblio',
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    }
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'itemnumber'
                ],
                'source_name' => 'TmpHoldsqueue',
                '_columns' => {
                  'holdingbranch' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10
                  },
                  'firstname' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'phone' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'cardnumber' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 32
                  },
                  'item_level_request' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'title' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'notes' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'reservedate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'itemnumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'borrowernumber' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'timestamp' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  },
                  'biblionumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'surname' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 0
                  },
                  'itemcallnumber' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'pickbranch' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'barcode' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 20
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TmpHoldsqueue'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'AuthSubfieldStructure' => bless( {
                '_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',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::AuthSubfieldStructure',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'authtypecode' => {
                    'class' => 'Koha::Schema::Result::AuthType',
                    'source' => 'Koha::Schema::Result::AuthType',
                    'cond' => {
                      'foreign.authtypecode' => 'self.authtypecode'
                    },
                    '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'
                    }
                  }
                },
                'resultset_attributes' => {},
                '_columns_info_loaded' => 0,
                'source_name' => 'AuthSubfieldStructure',
                '_primaries' => [
                  'authtypecode',
                  'tagfield',
                  'tagsubfield'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AuthSubfieldStructure'}{'_primaries'}
                },
                '_columns' => {
                  'linkid' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'kohafield' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 45,
                    'default_value' => ''
                  },
                  'tagsubfield' => {
                    'default_value' => '',
                    'size' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'tagfield' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'default_value' => '',
                    'size' => 3
                  },
                  'defaultvalue' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'repeatable' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'mandatory' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'hidden' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'isurl' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  },
                  'libopac' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 255
                  },
                  'tab' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  },
                  'authorised_value' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 32
                  },
                  'seealso' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'value_builder' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'display_order' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'authtypecode' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'default_value' => '',
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'liblibrarian' => {
                    'default_value' => '',
                    'size' => 255,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'frameworkcode' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'default_value' => ''
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Subscriptionroutinglist' => bless( {
                '_ordered_columns' => [
                  'routingid',
                  'borrowernumber',
                  'ranking',
                  'subscriptionid'
                ],
                'name' => 'subscriptionroutinglist',
                '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'
                    }
                  },
                  'subscriptionid' => {
                    '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.subscriptionid' => 'self.subscriptionid'
                    },
                    'source' => 'Koha::Schema::Result::Subscription',
                    'class' => 'Koha::Schema::Result::Subscription'
                  }
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::Subscriptionroutinglist',
                '_columns_info_loaded' => 0,
                'source_name' => 'Subscriptionroutinglist',
                '_primaries' => [
                  'routingid'
                ],
                '_unique_constraints' => {
                  'subscriptionid' => [
                    'subscriptionid',
                    'borrowernumber'
                  ],
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Subscriptionroutinglist'}{'_primaries'}
                },
                '_columns' => {
                  'routingid' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'ranking' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'subscriptionid' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'MarcTagStructure' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'frameworkcode',
                    'tagfield'
                  ]
                },
                '_columns' => {
                  'libopac' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 255
                  },
                  'frameworkcode' => {
                    'size' => 4,
                    'default_value' => '',
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'liblibrarian' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 255,
                    'default_value' => ''
                  },
                  'ind2_defaultvalue' => {
                    'default_value' => '',
                    'size' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'mandatory' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'ind1_defaultvalue' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'default_value' => '',
                    'size' => 1
                  },
                  'repeatable' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'authorised_value' => {
                    'size' => 32,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'important' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'tagfield' => {
                    'default_value' => '',
                    'size' => 3,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  }
                },
                'source_name' => 'MarcTagStructure',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcTagStructure'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {},
                'result_class' => 'Koha::Schema::Result::MarcTagStructure',
                '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( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'ProblemReport',
                '_unique_constraints' => {
                  'primary' => [
                    'reportid'
                  ]
                },
                '_columns' => {
                  'status' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => 'New',
                    'size' => 6
                  },
                  'reportid' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'title' => {
                    'default_value' => '',
                    'size' => 40,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'recipient' => {
                    'default_value' => 'library',
                    'is_nullable' => 0,
                    'data_type' => 'enum',
                    'extra' => {
                      'list' => [
                        'admin',
                        'library'
                      ]
                    }
                  },
                  'problempage' => {
                    'data_type' => 'text',
                    'is_nullable' => 1
                  },
                  'branchcode' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 10,
                    'default_value' => '',
                    'is_foreign_key' => 1
                  },
                  'username' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 75
                  },
                  'content' => {
                    'is_nullable' => 0,
                    'data_type' => 'text'
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_foreign_key' => 1
                  },
                  'created_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  }
                },
                '_ordered_columns' => [
                  'reportid',
                  'title',
                  'content',
                  'borrowernumber',
                  'branchcode',
                  'username',
                  'problempage',
                  'recipient',
                  'created_on',
                  'status'
                ],
                'name' => 'problem_reports',
                '_relationships' => {
                  'branchcode' => {
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    '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::Branch'
                  },
                  '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
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ProblemReport',
                'resultset_attributes' => {},
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ProblemReport'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'EdifactMessage' => bless( {
                '_columns' => {
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'vendor_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'edi_acct' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'filename' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'status' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'message_type' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 10
                  },
                  'deleted' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'transfer_date' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'raw_msg' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'basketno' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'EdifactMessage'}{'_unique_constraints'}{'primary'},
                'source_name' => 'EdifactMessage',
                '_columns_info_loaded' => 0,
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::EdifactMessage',
                '_relationships' => {
                  'basketno' => {
                    'class' => 'Koha::Schema::Result::Aqbasket',
                    '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'
                    },
                    'source' => 'Koha::Schema::Result::Aqbasket',
                    'cond' => {
                      'foreign.basketno' => 'self.basketno'
                    }
                  },
                  'vendor' => {
                    'attrs' => {
                      'fk_columns' => {
                        'vendor_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    },
                    'source' => 'Koha::Schema::Result::Aqbookseller',
                    'cond' => {
                      'foreign.id' => 'self.vendor_id'
                    },
                    'class' => 'Koha::Schema::Result::Aqbookseller'
                  },
                  'edi_acct' => {
                    'source' => 'Koha::Schema::Result::VendorEdiAccount',
                    'cond' => {
                      'foreign.id' => 'self.edi_acct'
                    },
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::VendorEdiAccount'
                  },
                  'aqinvoices' => {
                    'class' => 'Koha::Schema::Result::Aqinvoice',
                    'cond' => {
                      'foreign.message_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::Aqinvoice',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'edifact_messages',
                '_ordered_columns' => [
                  'id',
                  'message_type',
                  'transfer_date',
                  'vendor_id',
                  'edi_acct',
                  'status',
                  'basketno',
                  'raw_msg',
                  'filename',
                  'deleted'
                ]
              }, 'DBIx::Class::ResultSource::Table' ),
              'Permission' => bless( {
                '_columns' => {
                  'description' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'code' => {
                    'default_value' => '',
                    'size' => 64,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'module_bit' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    'default_value' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'module_bit',
                    'code'
                  ]
                },
                'resultset_attributes' => {},
                '_relationships' => {
                  'user_permissions' => {
                    'class' => 'Koha::Schema::Result::UserPermission',
                    'cond' => {
                      'foreign.module_bit' => 'self.module_bit',
                      'foreign.code' => 'self.code'
                    },
                    'source' => 'Koha::Schema::Result::UserPermission',
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'module_bit' => {
                    'class' => 'Koha::Schema::Result::Userflag',
                    'source' => 'Koha::Schema::Result::Userflag',
                    'cond' => {
                      'foreign.bit' => 'self.module_bit'
                    },
                    '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
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Permission',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'module_bit',
                  'code',
                  'description'
                ],
                'name' => 'permissions',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Permission'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Permission',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'BiblioFramework' => bless( {
                '_columns' => {
                  'frameworktext' => {
                    'size' => 255,
                    'default_value' => '',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'frameworkcode' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 4
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'frameworkcode'
                  ]
                },
                '_ordered_columns' => [
                  'frameworkcode',
                  'frameworktext'
                ],
                'name' => 'biblio_framework',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::BiblioFramework',
                'resultset_attributes' => {},
                '_relationships' => {
                  'marc_tag_structure' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.frameworkcode' => 'self.frameworkcode'
                    },
                    'source' => 'Koha::Schema::Result::MarcTagStructure',
                    'class' => 'Koha::Schema::Result::MarcTagStructure'
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BiblioFramework'}{'_unique_constraints'}{'primary'},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'BiblioFramework'
              }, 'DBIx::Class::ResultSource::Table' ),
              'ApiKey' => bless( {
                '_unique_constraints' => {
                  'secret' => [
                    'secret'
                  ],
                  'primary' => [
                    'client_id'
                  ]
                },
                '_columns' => {
                  'active' => {
                    'default_value' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'is_boolean' => 1
                  },
                  'description' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'secret' => {
                    'size' => 191,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'patron_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'client_id' => {
                    'size' => 191,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  }
                },
                '_ordered_columns' => [
                  'client_id',
                  'secret',
                  'description',
                  'patron_id',
                  'active'
                ],
                'name' => 'api_keys',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'patron' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      '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
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.patron_id'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::ApiKey',
                '_columns_info_loaded' => 0,
                'source_name' => 'ApiKey',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ApiKey'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Itemtype' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'itemtype'
                  ]
                },
                '_columns' => {
                  'sip_media_type' => {
                    'size' => 3,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'bookable' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'checkinmsg' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'hideinopac' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'rentalcharge_hourly' => {
                    'size' => [
                      28,
                      6
                    ],
                    'is_nullable' => 1,
                    'data_type' => 'decimal'
                  },
                  'description' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'automatic_checkin' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'defaultreplacecost' => {
                    'size' => [
                      28,
                      6
                    ],
                    'is_nullable' => 1,
                    'data_type' => 'decimal'
                  },
                  'processfee' => {
                    'data_type' => 'decimal',
                    'is_nullable' => 1,
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'checkinmsgtype' => {
                    'default_value' => 'message',
                    'size' => 16,
                    'is_nullable' => 0,
                    'data_type' => 'char'
                  },
                  'imageurl' => {
                    'size' => 200,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'rentalcharge_daily' => {
                    'is_nullable' => 1,
                    'data_type' => 'decimal',
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'rentalcharge' => {
                    'is_nullable' => 1,
                    'data_type' => 'decimal',
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'searchcategory' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'rentalcharge_daily_calendar' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 1
                  },
                  'rentalcharge_hourly_calendar' => {
                    'is_boolean' => 1,
                    'default_value' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'itemtype' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    '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" }
                    }
                  },
                  'notforloan' => {
                    'is_boolean' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'summary' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  }
                },
                'source_name' => 'Itemtype',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Itemtype'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'itemtypes_branches' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::ItemtypesBranch',
                    'cond' => {
                      'foreign.itemtype' => 'self.itemtype'
                    },
                    'class' => 'Koha::Schema::Result::ItemtypesBranch'
                  },
                  'reserves' => {
                    'class' => 'Koha::Schema::Result::Reserve',
                    'cond' => {
                      'foreign.itemtype' => 'self.itemtype'
                    },
                    'source' => 'Koha::Schema::Result::Reserve',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    }
                  },
                  'itemtypes' => {
                    'class' => 'Koha::Schema::Result::Itemtype',
                    'source' => 'Koha::Schema::Result::Itemtype',
                    'cond' => {
                      'foreign.parent_type' => 'self.itemtype'
                    },
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'localization' => {
                    'class' => 'Koha::Schema::Result::ItemtypeLocalization',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::ItemtypeLocalization',
                    'cond' => sub { "DUMMY" }
                  },
                  'old_reserves' => {
                    'class' => 'Koha::Schema::Result::OldReserve',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::OldReserve',
                    'cond' => {
                      'foreign.itemtype' => 'self.itemtype'
                    }
                  },
                  'parent_type' => {
                    'cond' => {
                      'foreign.itemtype' => 'self.parent_type'
                    },
                    'source' => 'Koha::Schema::Result::Itemtype',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      'on_delete' => 'RESTRICT',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1
                    },
                    'class' => 'Koha::Schema::Result::Itemtype'
                  },
                  'circulation_rules' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.itemtype' => 'self.itemtype'
                    },
                    'source' => 'Koha::Schema::Result::CirculationRule',
                    'class' => 'Koha::Schema::Result::CirculationRule'
                  }
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::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'
                ]
              }, 'DBIx::Class::ResultSource::Table' ),
              'HoldFillTarget' => bless( {
                'source_name' => 'HoldFillTarget',
                '_primaries' => [
                  'itemnumber'
                ],
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'source_branchcode' => {
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      '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.source_branchcode'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'itemnumber' => {
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    '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'
                  },
                  'biblionumber' => {
                    'attrs' => {
                      'on_update' => 'CASCADE',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  },
                  '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
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'result_class' => 'Koha::Schema::Result::HoldFillTarget',
                '_ordered_columns' => [
                  'borrowernumber',
                  'biblionumber',
                  'itemnumber',
                  'source_branchcode',
                  'item_level_request',
                  'reserve_id'
                ],
                'name' => 'hold_fill_targets',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'HoldFillTarget'}{'_primaries'}
                },
                '_columns' => {
                  'reserve_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'borrowernumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'biblionumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'itemnumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'item_level_request' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'source_branchcode' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'is_foreign_key' => 1,
                    'size' => 10,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Branchtransfer' => bless( {
                '_primaries' => [
                  'branchtransfer_id'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Branchtransfer',
                'resultset_attributes' => {},
                '_relationships' => {
                  'frombranch' => {
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      '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.frombranch'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'itemnumber' => {
                    'class' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    '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
                    }
                  },
                  'tobranch' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'accessor' => 'filter',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'on_update' => 'CASCADE',
                      'is_foreign_key_constraint' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.tobranch'
                    }
                  }
                },
                '_ordered_columns' => [
                  'branchtransfer_id',
                  'itemnumber',
                  'daterequested',
                  'datesent',
                  'frombranch',
                  'datearrived',
                  'datecancelled',
                  'tobranch',
                  'comments',
                  'reason',
                  'cancellation_reason'
                ],
                'name' => 'branchtransfers',
                '_columns' => {
                  'daterequested' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'reason' => {
                    'data_type' => 'enum',
                    'is_nullable' => 1,
                    'extra' => {
                      'list' => [
                        'Manual',
                        'StockrotationAdvance',
                        'StockrotationRepatriation',
                        'ReturnToHome',
                        'ReturnToHolding',
                        'RotatingCollection',
                        'Reserve',
                        'LostReserve',
                        'CancelReserve',
                        'TransferCancellation',
                        'Recall',
                        'RecallCancellation'
                      ]
                    }
                  },
                  'datesent' => {
                    'data_type' => 'datetime',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'comments' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'itemnumber' => {
                    'is_foreign_key' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'datearrived' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'datetime',
                    'is_nullable' => 1
                  },
                  'tobranch' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'is_foreign_key' => 1,
                    'size' => 10,
                    'default_value' => ''
                  },
                  'datecancelled' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'frombranch' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'default_value' => '',
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'branchtransfer_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'cancellation_reason' => {
                    'data_type' => 'enum',
                    'is_nullable' => 1,
                    'extra' => {
                      'list' => [
                        'Manual',
                        'StockrotationAdvance',
                        'StockrotationRepatriation',
                        'ReturnToHome',
                        'ReturnToHolding',
                        'RotatingCollection',
                        'Reserve',
                        'LostReserve',
                        'CancelReserve',
                        'ItemLost',
                        'WrongTransfer',
                        'RecallCancellation'
                      ]
                    }
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Branchtransfer'}{'_primaries'}
                },
                'source_name' => 'Branchtransfer',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmCounterLog' => bless( {
                '_primaries' => [
                  'erm_counter_log_id'
                ],
                'result_class' => 'Koha::Schema::Result::ErmCounterLog',
                'resultset_attributes' => {},
                '_relationships' => {
                  'patron' => {
                    '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',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'fk_columns' => {
                        'borrowernumber' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'borrowernumber' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  },
                  'counter_file' => {
                    'cond' => {
                      'foreign.erm_counter_files_id' => 'self.counter_files_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmCounterFile',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'counter_files_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::ErmCounterFile'
                  },
                  'usage_data_provider' => {
                    'cond' => {
                      'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageDataProvider',
                    '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'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'name' => 'erm_counter_logs',
                '_ordered_columns' => [
                  'erm_counter_log_id',
                  'borrowernumber',
                  'counter_files_id',
                  'usage_data_provider_id',
                  'importdate',
                  'filename',
                  'logdetails'
                ],
                '_columns' => {
                  'filename' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'importdate' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 1
                  },
                  'usage_data_provider_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'counter_files_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'logdetails' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'borrowernumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'erm_counter_log_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmCounterLog'}{'_primaries'}
                },
                'source_name' => 'ErmCounterLog',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Aqbookseller' => bless( {
                'name' => 'aqbooksellers',
                '_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'
                ],
                'result_class' => 'Koha::Schema::Result::Aqbookseller',
                'resultset_attributes' => {},
                '_relationships' => {
                  'aqcontracts' => {
                    'class' => 'Koha::Schema::Result::Aqcontract',
                    'cond' => {
                      'foreign.booksellerid' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::Aqcontract',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'aqbookseller_aliases' => {
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::AqbooksellerAlias',
                    'cond' => {
                      'foreign.vendor_id' => 'self.id'
                    },
                    'class' => 'Koha::Schema::Result::AqbooksellerAlias'
                  },
                  'aqbasketgroups' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::Aqbasketgroup',
                    'cond' => {
                      'foreign.booksellerid' => 'self.id'
                    },
                    'class' => 'Koha::Schema::Result::Aqbasketgroup'
                  },
                  'marc_order_accounts' => {
                    'class' => 'Koha::Schema::Result::MarcOrderAccount',
                    'source' => 'Koha::Schema::Result::MarcOrderAccount',
                    'cond' => {
                      'foreign.vendor_id' => 'self.id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    }
                  },
                  'erm_eholdings_resources' => {
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.vendor_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::ErmEholdingsResource',
                    'class' => 'Koha::Schema::Result::ErmEholdingsResource'
                  },
                  'aqbookseller_interfaces' => {
                    'class' => 'Koha::Schema::Result::AqbooksellerInterface',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::AqbooksellerInterface',
                    'cond' => {
                      'foreign.vendor_id' => 'self.id'
                    }
                  },
                  'aqbaskets' => {
                    'class' => 'Koha::Schema::Result::Aqbasket',
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Aqbasket',
                    'cond' => {
                      'foreign.booksellerid' => 'self.id'
                    }
                  },
                  'vendor_edi_accounts' => {
                    'class' => 'Koha::Schema::Result::VendorEdiAccount',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::VendorEdiAccount',
                    'cond' => {
                      'foreign.vendor_id' => 'self.id'
                    }
                  },
                  'erm_eholdings_packages' => {
                    'class' => 'Koha::Schema::Result::ErmEholdingsPackage',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::ErmEholdingsPackage',
                    'cond' => {
                      'foreign.vendor_id' => 'self.id'
                    }
                  },
                  'edifact_messages' => {
                    'cond' => {
                      'foreign.vendor_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::EdifactMessage',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::EdifactMessage'
                  },
                  'invoiceprice' => {
                    'class' => 'Koha::Schema::Result::Currency',
                    'cond' => {
                      'foreign.currency' => 'self.invoiceprice'
                    },
                    'source' => 'Koha::Schema::Result::Currency',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    }
                  },
                  'listprice' => {
                    'cond' => {
                      'foreign.currency' => 'self.listprice'
                    },
                    'source' => 'Koha::Schema::Result::Currency',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      '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
                    },
                    'class' => 'Koha::Schema::Result::Currency'
                  },
                  'erm_agreements' => {
                    'class' => 'Koha::Schema::Result::ErmAgreement',
                    'source' => 'Koha::Schema::Result::ErmAgreement',
                    'cond' => {
                      'foreign.vendor_id' => 'self.id'
                    },
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'aqinvoices' => {
                    'class' => 'Koha::Schema::Result::Aqinvoice',
                    'source' => 'Koha::Schema::Result::Aqinvoice',
                    'cond' => {
                      'foreign.booksellerid' => 'self.id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    }
                  },
                  'aqbookseller_issues' => {
                    'source' => 'Koha::Schema::Result::AqbooksellerIssue',
                    'cond' => {
                      'foreign.vendor_id' => 'self.id'
                    },
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::AqbooksellerIssue'
                  },
                  'subscriptions' => {
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Subscription',
                    'cond' => {
                      'foreign.aqbooksellerid' => 'self.id'
                    },
                    'class' => 'Koha::Schema::Result::Subscription'
                  },
                  'aqcontacts' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.booksellerid' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::Aqcontact',
                    'class' => 'Koha::Schema::Result::Aqcontact'
                  },
                  'erm_licenses' => {
                    'class' => 'Koha::Schema::Result::ErmLicense',
                    'source' => 'Koha::Schema::Result::ErmLicense',
                    'cond' => {
                      'foreign.vendor_id' => 'self.id'
                    },
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_primaries' => [
                  'id'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqbookseller'}{'_primaries'}
                },
                '_columns' => {
                  'active' => {
                    'is_boolean' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'invoiceprice' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'is_foreign_key' => 1,
                    'size' => 10,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'external_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'address3' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'address2' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'discount' => {
                    'size' => [
                      6,
                      4
                    ],
                    'data_type' => 'float',
                    'is_nullable' => 1
                  },
                  'url' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'name' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 0
                  },
                  'notes' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'invoiceincgst' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  },
                  'deliverytime' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'listincgst' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1,
                    'is_boolean' => 1
                  },
                  'address4' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'postal' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'gstreg' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  },
                  'accountnumber' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'tax_rate' => {
                    'size' => [
                      6,
                      4
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'listprice' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10,
                    'is_foreign_key' => 1
                  },
                  'type' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'phone' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 30
                  },
                  'address1' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'fax' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 50
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'Aqbookseller'
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmAgreement' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'ErmAgreement',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_unique_constraints' => {
                  'primary' => [
                    'agreement_id'
                  ]
                },
                '_columns' => {
                  'agreement_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'name' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255
                  },
                  'description' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'status' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'vendor_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'renewal_priority' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'is_perpetual' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'license_info' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'closure_reason' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmAgreement'}{'_unique_constraints'}{'primary'},
                'name' => 'erm_agreements',
                '_ordered_columns' => [
                  'agreement_id',
                  'vendor_id',
                  'name',
                  'description',
                  'status',
                  'closure_reason',
                  'is_perpetual',
                  'renewal_priority',
                  'license_info'
                ],
                '_relationships' => {
                  'extended_attributes' => {
                    'class' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'source' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'cond' => sub { "DUMMY" },
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'erm_agreement_periods' => {
                    'class' => 'Koha::Schema::Result::ErmAgreementPeriod',
                    'cond' => {
                      'foreign.agreement_id' => 'self.agreement_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmAgreementPeriod',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'erm_agreement_relationships_related_agreements' => {
                    'source' => 'Koha::Schema::Result::ErmAgreementRelationship',
                    'cond' => {
                      'foreign.related_agreement_id' => 'self.agreement_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::ErmAgreementRelationship'
                  },
                  'additional_field_values' => {
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'cond' => sub { "DUMMY" },
                    'class' => 'Koha::Schema::Result::AdditionalFieldValue'
                  },
                  'erm_agreement_licenses' => {
                    'class' => 'Koha::Schema::Result::ErmAgreementLicense',
                    'source' => 'Koha::Schema::Result::ErmAgreementLicense',
                    'cond' => {
                      'foreign.agreement_id' => 'self.agreement_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  },
                  'erm_user_roles' => {
                    'cond' => {
                      'foreign.agreement_id' => 'self.agreement_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUserRole',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::ErmUserRole'
                  },
                  'erm_documents' => {
                    'cond' => {
                      'foreign.agreement_id' => 'self.agreement_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmDocument',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::ErmDocument'
                  },
                  'erm_agreement_relationships_agreements' => {
                    'class' => 'Koha::Schema::Result::ErmAgreementRelationship',
                    'source' => 'Koha::Schema::Result::ErmAgreementRelationship',
                    'cond' => {
                      'foreign.agreement_id' => 'self.agreement_id'
                    },
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'vendor' => {
                    'class' => 'Koha::Schema::Result::Aqbookseller',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'on_delete' => 'SET NULL',
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'vendor_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.id' => 'self.vendor_id'
                    },
                    'source' => 'Koha::Schema::Result::Aqbookseller'
                  },
                  'user_roles' => {
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::ErmUserRole',
                    'cond' => {
                      'foreign.agreement_id' => 'self.agreement_id'
                    },
                    'class' => 'Koha::Schema::Result::ErmUserRole'
                  },
                  'erm_eholdings_packages_agreements' => {
                    'source' => 'Koha::Schema::Result::ErmEholdingsPackagesAgreement',
                    'cond' => {
                      'foreign.agreement_id' => 'self.agreement_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::ErmEholdingsPackagesAgreement'
                  }
                },
                'result_class' => 'Koha::Schema::Result::ErmAgreement',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet'
              }, 'DBIx::Class::ResultSource::Table' ),
              'LibrarySmtpServer' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'LibrarySmtpServer',
                'name' => 'library_smtp_servers',
                '_ordered_columns' => [
                  'id',
                  'library_id',
                  'smtp_server_id'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::LibrarySmtpServer',
                '_relationships' => {
                  'library' => {
                    'cond' => {
                      'foreign.branchcode' => 'self.library_id'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'library_id' => 1
                      },
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'smtp_server' => {
                    'class' => 'Koha::Schema::Result::SmtpServer',
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'smtp_server_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::SmtpServer',
                    'cond' => {
                      'foreign.id' => 'self.smtp_server_id'
                    }
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'smtp_server_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'library_id' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 10,
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LibrarySmtpServer'}{'_primaries'},
                  'library_id_idx' => [
                    'library_id'
                  ]
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Aqbasket' => bless( {
                'source_name' => 'Aqbasket',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_unique_constraints' => {
                  'primary' => [
                    'basketno'
                  ]
                },
                '_columns' => {
                  'booksellerid' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'default_value' => 1,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'basketno' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'contractnumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'closedate' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'booksellernote' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'deliveryplace' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'branch' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10,
                    'is_foreign_key' => 1
                  },
                  'is_standing' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'create_items' => {
                    'extra' => {
                      'list' => [
                        'ordering',
                        'receiving',
                        'cataloguing'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 1
                  },
                  'booksellerinvoicenumber' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'billingplace' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10
                  },
                  'creationdate' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'authorisedby' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'basketname' => {
                    'size' => 50,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'basketgroupid' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'note' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqbasket'}{'_unique_constraints'}{'primary'},
                '_relationships' => {
                  'orders' => {
                    'source' => 'Koha::Schema::Result::Aqorder',
                    'cond' => {
                      'foreign.basketno' => 'self.basketno'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::Aqorder'
                  },
                  'branch' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'accessor' => 'filter',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branch'
                    }
                  },
                  'aqbasketusers' => {
                    'cond' => {
                      'foreign.basketno' => 'self.basketno'
                    },
                    'source' => 'Koha::Schema::Result::Aqbasketuser',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::Aqbasketuser'
                  },
                  'basketgroupid' => {
                    'class' => 'Koha::Schema::Result::Aqbasketgroup',
                    'attrs' => {
                      'on_delete' => 'RESTRICT',
                      '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
                    },
                    'cond' => {
                      'foreign.id' => 'self.basketgroupid'
                    },
                    'source' => 'Koha::Schema::Result::Aqbasketgroup'
                  },
                  'additional_field_values' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => sub { "DUMMY" },
                    'source' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'class' => 'Koha::Schema::Result::AdditionalFieldValue'
                  },
                  'aqorders' => {
                    'class' => 'Koha::Schema::Result::Aqorder',
                    'source' => 'Koha::Schema::Result::Aqorder',
                    'cond' => {
                      'foreign.basketno' => 'self.basketno'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'booksellerid' => {
                    'class' => 'Koha::Schema::Result::Aqbookseller',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'filter',
                      'on_delete' => 'RESTRICT',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'source' => 'Koha::Schema::Result::Aqbookseller',
                    'cond' => {
                      'foreign.id' => 'self.booksellerid'
                    }
                  },
                  'basket_group' => {
                    'class' => 'Koha::Schema::Result::Aqbasketgroup',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'on_delete' => 'RESTRICT',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'basketgroupid' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'source' => 'Koha::Schema::Result::Aqbasketgroup',
                    'cond' => {
                      'foreign.id' => 'self.basketgroupid'
                    }
                  },
                  'edifact_messages' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::EdifactMessage',
                    'cond' => {
                      'foreign.basketno' => 'self.basketno'
                    },
                    'class' => 'Koha::Schema::Result::EdifactMessage'
                  },
                  'contractnumber' => {
                    'class' => 'Koha::Schema::Result::Aqcontract',
                    'attrs' => {
                      'on_delete' => 'RESTRICT',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'RESTRICT',
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::Aqcontract',
                    'cond' => {
                      'foreign.contractnumber' => 'self.contractnumber'
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::Aqbasket',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'name' => 'aqbasket',
                '_ordered_columns' => [
                  'basketno',
                  'basketname',
                  'note',
                  'booksellernote',
                  'contractnumber',
                  'creationdate',
                  'closedate',
                  'booksellerid',
                  'authorisedby',
                  'booksellerinvoicenumber',
                  'basketgroupid',
                  'deliveryplace',
                  'billingplace',
                  'branch',
                  'is_standing',
                  'create_items'
                ]
              }, 'DBIx::Class::ResultSource::Table' ),
              'Illbatch' => bless( {
                '_primaries' => [
                  'ill_batch_id'
                ],
                'source_name' => 'Illbatch',
                '_columns_info_loaded' => 0,
                'resultset_attributes' => {},
                '_relationships' => {
                  'illrequests' => {
                    'class' => 'Koha::Schema::Result::Illrequest',
                    'cond' => {
                      'foreign.batch_id' => 'self.ill_batch_id'
                    },
                    'source' => 'Koha::Schema::Result::Illrequest',
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'status_code' => {
                    'class' => 'Koha::Schema::Result::IllbatchStatus',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    },
                    'cond' => {
                      'foreign.code' => 'self.status_code'
                    },
                    'source' => 'Koha::Schema::Result::IllbatchStatus'
                  },
                  'patron' => {
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'patron_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
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.patron_id'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'requests' => {
                    'class' => 'Koha::Schema::Result::Illrequest',
                    'source' => 'Koha::Schema::Result::Illrequest',
                    'cond' => {
                      'foreign.batch_id' => 'self.ill_batch_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'library' => {
                    'cond' => {
                      'foreign.branchcode' => 'self.library_id'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'library_id' => 1
                      },
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'on_delete' => 'SET NULL',
                      'accessor' => 'single',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Illbatch',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'illbatches',
                '_ordered_columns' => [
                  'ill_batch_id',
                  'name',
                  'backend',
                  'patron_id',
                  'library_id',
                  'status_code'
                ],
                '_columns' => {
                  'patron_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'ill_batch_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'status_code' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'size' => 20,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'backend' => {
                    'size' => 20,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'library_id' => {
                    'size' => 50,
                    'is_foreign_key' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'name' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 100
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Illbatch'}{'_primaries'},
                  'u_illbatches__name' => [
                    'name'
                  ]
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'CashRegister' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'CashRegister',
                'name' => 'cash_registers',
                '_ordered_columns' => [
                  'id',
                  'name',
                  'description',
                  'branch',
                  'branch_default',
                  'starting_float',
                  'archived'
                ],
                'resultset_attributes' => {},
                '_relationships' => {
                  'accountlines' => {
                    'class' => 'Koha::Schema::Result::Accountline',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.register_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::Accountline'
                  },
                  'cash_register_actions' => {
                    'class' => 'Koha::Schema::Result::CashRegisterAction',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::CashRegisterAction',
                    'cond' => {
                      'foreign.register_id' => 'self.id'
                    }
                  },
                  'branch' => {
                    '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::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branch'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::CashRegister',
                '_primaries' => [
                  'id'
                ],
                '_columns' => {
                  'name' => {
                    'size' => 24,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'description' => {
                    'is_nullable' => 0,
                    'data_type' => 'longtext'
                  },
                  'branch_default' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'archived' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'starting_float' => {
                    'data_type' => 'decimal',
                    'is_nullable' => 1,
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'branch' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'name' => [
                    'name',
                    'branch'
                  ],
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CashRegister'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ExportFormat' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'ExportFormat',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_unique_constraints' => {
                  'primary' => [
                    'export_format_id'
                  ]
                },
                '_columns' => {
                  'encoding' => {
                    'size' => 255,
                    'default_value' => 'utf8',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'staff_only' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'type' => {
                    'default_value' => 'marc',
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'content' => {
                    'is_nullable' => 0,
                    'data_type' => 'longtext'
                  },
                  'export_format_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'csv_separator' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'default_value' => ',',
                    'size' => 2
                  },
                  'subfield_separator' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 2
                  },
                  'profile' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'used_for' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255,
                    'default_value' => 'export_records'
                  },
                  'description' => {
                    'is_nullable' => 0,
                    'data_type' => 'longtext'
                  },
                  'field_separator' => {
                    'size' => 2,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ExportFormat'}{'_unique_constraints'}{'primary'},
                '_ordered_columns' => [
                  'export_format_id',
                  'profile',
                  'description',
                  'content',
                  'csv_separator',
                  'field_separator',
                  'subfield_separator',
                  'encoding',
                  'type',
                  'used_for',
                  'staff_only'
                ],
                'name' => 'export_format',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ExportFormat',
                'resultset_attributes' => {},
                '_relationships' => {}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Illrequestattribute' => bless( {
                '_relationships' => {
                  'illrequest' => {
                    'class' => 'Koha::Schema::Result::Illrequest',
                    'source' => 'Koha::Schema::Result::Illrequest',
                    'cond' => {
                      'foreign.illrequest_id' => 'self.illrequest_id'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'illrequest_id' => 1
                      },
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::Illrequestattribute',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'name' => 'illrequestattributes',
                '_ordered_columns' => [
                  'illrequest_id',
                  'backend',
                  'type',
                  'value',
                  'readonly'
                ],
                '_primaries' => [
                  'illrequest_id',
                  'backend',
                  'type'
                ],
                '_columns' => {
                  'backend' => {
                    'size' => 80,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'value' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 0
                  },
                  'illrequest_id' => {
                    'is_foreign_key' => 1,
                    'extra' => {
                      'unsigned' => 1
                    },
                    'data_type' => 'bigint',
                    'is_nullable' => 0
                  },
                  'type' => {
                    'size' => 200,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'readonly' => {
                    'is_boolean' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Illrequestattribute'}{'_primaries'}
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'Illrequestattribute',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'ImportBiblio' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'import_record_id'
                  ]
                },
                '_columns' => {
                  'original_source' => {
                    'size' => 25,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'import_record_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'issn' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'title' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'matched_biblionumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'author' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'control_number' => {
                    'size' => 25,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'has_items' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'isbn' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'ImportBiblio',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportBiblio'}{'_unique_constraints'}{'primary'},
                '_ordered_columns' => [
                  'import_record_id',
                  'matched_biblionumber',
                  'control_number',
                  'original_source',
                  'title',
                  'author',
                  'isbn',
                  'issn',
                  'has_items'
                ],
                'name' => 'import_biblios',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'import_record' => {
                    'class' => 'Koha::Schema::Result::ImportRecord',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'import_record_id' => 1
                      },
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.import_record_id' => 'self.import_record_id'
                    },
                    'source' => 'Koha::Schema::Result::ImportRecord'
                  }
                },
                'result_class' => 'Koha::Schema::Result::ImportBiblio',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ItemEditorTemplate' => bless( {
                '_columns' => {
                  'contents' => {
                    'is_nullable' => 0,
                    'data_type' => 'longtext'
                  },
                  'patron_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'name' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 0
                  },
                  'is_shared' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'is_boolean' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemEditorTemplate'}{'_unique_constraints'}{'primary'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ItemEditorTemplate',
                '_relationships' => {
                  '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' => {
                        'patron_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.patron_id'
                    }
                  }
                },
                'resultset_attributes' => {},
                'name' => 'item_editor_templates',
                '_ordered_columns' => [
                  'id',
                  'patron_id',
                  'name',
                  'is_shared',
                  'contents'
                ],
                'source_name' => 'ItemEditorTemplate',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'SmsProvider' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ],
                  'name' => [
                    'name'
                  ]
                },
                '_columns' => {
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'domain' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'name' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  }
                },
                '_ordered_columns' => [
                  'id',
                  'name',
                  'domain'
                ],
                'name' => 'sms_providers',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::SmsProvider',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'borrowers' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.sms_provider_id' => 'self.id'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'SmsProvider',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SmsProvider'}{'_unique_constraints'}{'primary'}
              }, '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_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::PluginMethod',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'plugin_method' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  '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_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'account_lines' => {
                    'class' => 'Koha::Schema::Result::Accountline',
                    'cond' => {
                      'foreign.issue_id' => 'self.issue_id'
                    },
                    'source' => 'Koha::Schema::Result::Accountline',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'issuer' => {
                    'attrs' => {
                      'fk_columns' => {
                        'issuer_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'on_delete' => 'SET NULL',
                      'accessor' => 'single',
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.issuer_id'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'patron' => {
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'borrowernumber' => 1
                      },
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'borrowernumber' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    '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
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'renewals' => {
                    'class' => 'Koha::Schema::Result::CheckoutRenewal',
                    'source' => 'Koha::Schema::Result::CheckoutRenewal',
                    'cond' => {
                      'foreign.checkout_id' => 'self.issue_id'
                    },
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'library' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'accessor' => 'single',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'branchcode' => 1
                      }
                    }
                  },
                  'accountlines' => {
                    'class' => 'Koha::Schema::Result::Accountline',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Accountline',
                    'cond' => {
                      'foreign.old_issue_id' => 'self.issue_id'
                    }
                  },
                  'itemnumber' => {
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.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'
                    },
                    'class' => 'Koha::Schema::Result::Item'
                  },
                  'item' => {
                    'class' => 'Koha::Schema::Result::Item',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'itemnumber' => 1
                      },
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single'
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    }
                  },
                  'return_claim' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_update' => 1,
                      'accessor' => 'single',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0
                    },
                    'cond' => {
                      'foreign.issue_id' => 'self.issue_id'
                    },
                    'source' => 'Koha::Schema::Result::ReturnClaim',
                    'class' => 'Koha::Schema::Result::ReturnClaim'
                  }
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::OldIssue',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'OldIssue'}{'_primaries'}
                },
                '_columns' => {
                  'borrowernumber' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'timestamp' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp'
                  },
                  'notedate' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'noteseen' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'note' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'unseen_renewals' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'issuedate' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'date_due' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  '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
                  },
                  'returndate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'renewals_count' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'issuer_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'checkin_library' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'issue_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'lastreneweddate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'onsite_checkout' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'branchcode' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10
                  },
                  'itemnumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'AdditionalContentsLocalization' => bless( {
                'name' => 'additional_contents_localizations',
                '_ordered_columns' => [
                  'id',
                  'additional_content_id',
                  'title',
                  'content',
                  'lang',
                  'updated_on'
                ],
                '_relationships' => {
                  'additional_content' => {
                    'class' => 'Koha::Schema::Result::AdditionalContent',
                    'source' => 'Koha::Schema::Result::AdditionalContent',
                    'cond' => {
                      'foreign.id' => 'self.additional_content_id'
                    },
                    'attrs' => {
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'additional_content_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    }
                  }
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::AdditionalContentsLocalization',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'AdditionalContentsLocalization',
                '_columns' => {
                  'lang' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 50,
                    'default_value' => ''
                  },
                  'title' => {
                    'default_value' => '',
                    'size' => 250,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'content' => {
                    'is_nullable' => 0,
                    'data_type' => 'mediumtext'
                  },
                  'updated_on' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'extra' => {
                      'unsigned' => 1
                    },
                    'is_auto_increment' => 1
                  },
                  'additional_content_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'extra' => {
                      'unsigned' => 1
                    }
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AdditionalContentsLocalization'}{'_primaries'},
                  'additional_contents_localizations_uniq' => [
                    'additional_content_id',
                    'lang'
                  ]
                }
              }, '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'},
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'aqbooksellers_invoiceprices' => {
                    'class' => 'Koha::Schema::Result::Aqbookseller',
                    'source' => 'Koha::Schema::Result::Aqbookseller',
                    'cond' => {
                      'foreign.invoiceprice' => 'self.currency'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'aqbooksellers_listprices' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::Aqbookseller',
                    'cond' => {
                      'foreign.listprice' => 'self.currency'
                    },
                    'class' => 'Koha::Schema::Result::Aqbookseller'
                  },
                  'aqorders' => {
                    'class' => 'Koha::Schema::Result::Aqorder',
                    'source' => 'Koha::Schema::Result::Aqorder',
                    'cond' => {
                      'foreign.currency' => 'self.currency'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    }
                  },
                  'aqorders_invoice_currencies' => {
                    'cond' => {
                      'foreign.invoice_currency' => 'self.currency'
                    },
                    'source' => 'Koha::Schema::Result::Aqorder',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Aqorder'
                  }
                },
                'result_class' => 'Koha::Schema::Result::Currency',
                '_columns_info_loaded' => 0,
                'source_name' => 'Currency',
                '_primaries' => [
                  'currency'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Currency'}{'_primaries'}
                },
                '_columns' => {
                  'archived' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'rate' => {
                    'size' => [
                      15,
                      5
                    ],
                    'data_type' => 'float',
                    'is_nullable' => 1
                  },
                  'isocode' => {
                    'size' => 5,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'currency' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'default_value' => ''
                  },
                  'symbol' => {
                    'size' => 5,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'active' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  },
                  'timestamp' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'p_cs_precedes' => {
                    'default_value' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 1,
                    'is_boolean' => 1
                  },
                  'p_sep_by_space' => {
                    'default_value' => 0,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'AdvancedEditorMacro' => bless( {
                '_columns' => {
                  'name' => {
                    'size' => 80,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'macro' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'shared' => {
                    'is_boolean' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'borrowernumber' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                'result_class' => 'Koha::Schema::Result::AdvancedEditorMacro',
                '_relationships' => {
                  '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',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'advanced_editor_macros',
                '_ordered_columns' => [
                  'id',
                  'name',
                  'macro',
                  'borrowernumber',
                  'shared'
                ],
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AdvancedEditorMacro'}{'_unique_constraints'}{'primary'},
                'source_name' => 'AdvancedEditorMacro',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'BorrowerAttributeType' => bless( {
                '_primaries' => [
                  'code'
                ],
                'source_name' => 'BorrowerAttributeType',
                '_columns_info_loaded' => 0,
                'result_class' => 'Koha::Schema::Result::BorrowerAttributeType',
                '_relationships' => {
                  'borrower_attribute_types_branches' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::BorrowerAttributeTypesBranch',
                    'cond' => {
                      'foreign.bat_code' => 'self.code'
                    },
                    'class' => 'Koha::Schema::Result::BorrowerAttributeTypesBranch'
                  },
                  'category_code' => {
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'on_delete' => 'RESTRICT',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1,
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.categorycode' => 'self.category_code'
                    },
                    'source' => 'Koha::Schema::Result::Category',
                    'class' => 'Koha::Schema::Result::Category'
                  },
                  'pseudonymized_borrower_attributes' => {
                    'class' => 'Koha::Schema::Result::PseudonymizedBorrowerAttribute',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.code' => 'self.code'
                    },
                    'source' => 'Koha::Schema::Result::PseudonymizedBorrowerAttribute'
                  },
                  'borrower_attributes' => {
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.code' => 'self.code'
                    },
                    'source' => 'Koha::Schema::Result::BorrowerAttribute',
                    'class' => 'Koha::Schema::Result::BorrowerAttribute'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_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'
                ],
                'name' => 'borrower_attribute_types',
                '_columns' => {
                  'authorised_value_category' => {
                    'size' => 32,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'category_code' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'is_foreign_key' => 1,
                    'size' => 10
                  },
                  'searched_by_default' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'is_date' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'unique_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'code' => {
                    'size' => 64,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'class' => {
                    'default_value' => '',
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'repeatable' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'mandatory' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'opac_display' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'display_checkout' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'keep_for_pseudonymization' => {
                    'is_boolean' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'opac_editable' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'staff_searchable' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'description' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerAttributeType'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'OaiServer' => bless( {
                'source_name' => 'OaiServer',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_unique_constraints' => {
                  'primary' => [
                    'oai_server_id'
                  ]
                },
                '_columns' => {
                  'oai_server_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'oai_set' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'servername' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 0
                  },
                  'add_xslt' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'dataformat' => {
                    'default_value' => 'oai_dc',
                    'extra' => {
                      'list' => [
                        'oai_dc',
                        'marc-xml',
                        'marcxml'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 0
                  },
                  'recordtype' => {
                    'is_nullable' => 0,
                    'data_type' => 'enum',
                    'extra' => {
                      'list' => [
                        'authority',
                        'biblio'
                      ]
                    },
                    'default_value' => 'biblio'
                  },
                  'endpoint' => {
                    'size' => 255,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'OaiServer'}{'_unique_constraints'}{'primary'},
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::OaiServer',
                '_relationships' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'name' => 'oai_servers',
                '_ordered_columns' => [
                  'oai_server_id',
                  'endpoint',
                  'oai_set',
                  'servername',
                  'dataformat',
                  'recordtype',
                  'add_xslt'
                ]
              }, 'DBIx::Class::ResultSource::Table' ),
              'SubscriptionFrequency' => bless( {
                '_columns' => {
                  'displayorder' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'unit' => {
                    'extra' => {
                      'list' => [
                        'day',
                        'week',
                        'month',
                        'year'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 1
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'issuesperunit' => {
                    'default_value' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'description' => {
                    'is_nullable' => 0,
                    'data_type' => 'mediumtext'
                  },
                  'unitsperissue' => {
                    'default_value' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_ordered_columns' => [
                  'id',
                  'description',
                  'displayorder',
                  'unit',
                  'unitsperissue',
                  'issuesperunit'
                ],
                'name' => 'subscription_frequencies',
                'resultset_attributes' => {},
                '_relationships' => {
                  'subscriptions' => {
                    'cond' => {
                      'foreign.periodicity' => 'self.id'
                    },
                    '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'
                  }
                },
                'result_class' => 'Koha::Schema::Result::SubscriptionFrequency',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SubscriptionFrequency'}{'_unique_constraints'}{'primary'},
                'source_name' => 'SubscriptionFrequency'
              }, 'DBIx::Class::ResultSource::Table' ),
              'SocialData' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::SocialData',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {},
                '_ordered_columns' => [
                  'isbn',
                  'num_critics',
                  'num_critics_pro',
                  'num_quotations',
                  'num_videos',
                  'score_avg',
                  'num_scores'
                ],
                'name' => 'social_data',
                'source_name' => 'SocialData',
                '_primaries' => [
                  'isbn'
                ],
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SocialData'}{'_primaries'}
                },
                '_columns' => {
                  'num_quotations' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'isbn' => {
                    'size' => 30,
                    'default_value' => '',
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'score_avg' => {
                    'is_nullable' => 1,
                    'data_type' => 'decimal',
                    'size' => [
                      5,
                      2
                    ]
                  },
                  'num_scores' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'num_critics' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'num_critics_pro' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'num_videos' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ReportsDictionary' => bless( {
                '_columns' => {
                  'date_created' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'report_area' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 6
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'saved_sql' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'description' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'name' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'date_modified' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                'name' => 'reports_dictionary',
                '_ordered_columns' => [
                  'id',
                  'name',
                  'description',
                  'date_created',
                  'date_modified',
                  'saved_sql',
                  'report_area'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ReportsDictionary',
                'resultset_attributes' => {},
                '_relationships' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ReportsDictionary'}{'_unique_constraints'}{'primary'},
                'source_name' => 'ReportsDictionary'
              }, 'DBIx::Class::ResultSource::Table' ),
              'MatchpointComponentNorm' => bless( {
                '_columns' => {
                  'matchpoint_component_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'sequence' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'accessor' => undef,
                    'default_value' => 0
                  },
                  'norm_routine' => {
                    'size' => 50,
                    'default_value' => '',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  }
                },
                'result_class' => 'Koha::Schema::Result::MatchpointComponentNorm',
                '_relationships' => {
                  'matchpoint_component' => {
                    'class' => 'Koha::Schema::Result::MatchpointComponent',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'matchpoint_component_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single'
                    },
                    'source' => 'Koha::Schema::Result::MatchpointComponent',
                    'cond' => {
                      'foreign.matchpoint_component_id' => 'self.matchpoint_component_id'
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'matchpoint_component_id',
                  'sequence',
                  'norm_routine'
                ],
                'name' => 'matchpoint_component_norms',
                'source_name' => 'MatchpointComponentNorm',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'Discharge' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Discharge',
                '_relationships' => {
                  'borrower' => {
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrower'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  }
                },
                '_ordered_columns' => [
                  'discharge_id',
                  'borrower',
                  'needed',
                  'validated'
                ],
                'name' => 'discharges',
                'source_name' => 'Discharge',
                '_primaries' => [
                  'discharge_id'
                ],
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Discharge'}{'_primaries'}
                },
                '_columns' => {
                  'discharge_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'borrower' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'validated' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'needed' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'timestamp'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Virtualshelve' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'shelfnumber'
                ],
                'source_name' => 'Virtualshelve',
                'name' => 'virtualshelves',
                '_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'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Virtualshelve',
                '_relationships' => {
                  'owner' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.owner'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'SET NULL',
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'filter',
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1
                    }
                  },
                  'virtualshelfcontents' => {
                    'class' => 'Koha::Schema::Result::Virtualshelfcontent',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.shelfnumber' => 'self.shelfnumber'
                    },
                    'source' => 'Koha::Schema::Result::Virtualshelfcontent'
                  },
                  'virtualshelfshares' => {
                    'class' => 'Koha::Schema::Result::Virtualshelfshare',
                    'cond' => {
                      'foreign.shelfnumber' => 'self.shelfnumber'
                    },
                    'source' => 'Koha::Schema::Result::Virtualshelfshare',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    }
                  }
                },
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'sortfield' => {
                    'default_value' => 'title',
                    'size' => 16,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'allow_change_from_owner' => {
                    'is_boolean' => 1,
                    'default_value' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'allow_change_from_others' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'owner' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'allow_change_from_permitted_staff' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  },
                  'shelfname' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'public' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'lastmodified' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'shelfnumber' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'allow_change_from_staff' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 1,
                    'is_boolean' => 1
                  },
                  'created_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'datetime',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Virtualshelve'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'MessageQueue' => bless( {
                'name' => 'message_queue',
                '_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'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::MessageQueue',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'letter' => {
                    'class' => 'Koha::Schema::Result::Letter',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'letter_id' => 1
                      },
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'single'
                    },
                    'cond' => {
                      'foreign.id' => 'self.letter_id'
                    },
                    'source' => 'Koha::Schema::Result::Letter'
                  },
                  'message_transport_type' => {
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'RESTRICT',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.message_transport_type' => 'self.message_transport_type'
                    },
                    'source' => 'Koha::Schema::Result::MessageTransportType',
                    'class' => 'Koha::Schema::Result::MessageTransportType'
                  },
                  'borrowernumber' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'filter'
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'resultset_attributes' => {},
                '_columns_info_loaded' => 0,
                'source_name' => 'MessageQueue',
                '_primaries' => [
                  'message_id'
                ],
                '_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
                  },
                  'status' => {
                    'default_value' => 'pending',
                    'extra' => {
                      'list' => [
                        'sent',
                        'pending',
                        'failed',
                        'deleted'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 0
                  },
                  'letter_code' => {
                    'size' => 64,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'letter_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'metadata' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'content' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'time_queued' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'subject' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  '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' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    'size' => 20
                  },
                  'failure_code' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'message_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'updated_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Rating' => bless( {
                '_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" }
                    },
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'biblionumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'borrowernumber',
                    'biblionumber'
                  ]
                },
                'name' => 'ratings',
                '_ordered_columns' => [
                  'borrowernumber',
                  'biblionumber',
                  'rating_value',
                  'timestamp'
                ],
                '_relationships' => {
                  'borrowernumber' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    '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
                    }
                  },
                  'biblionumber' => {
                    '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::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Rating',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Rating'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Rating'
              }, 'DBIx::Class::ResultSource::Table' ),
              'ClassSortRule' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'ClassSortRule',
                '_columns_info_loaded' => 0,
                '_columns' => {
                  'description' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'class_sort_rule' => {
                    'default_value' => '',
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'sort_routine' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 30,
                    'default_value' => ''
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'class_sort_rule'
                  ]
                },
                'result_class' => 'Koha::Schema::Result::ClassSortRule',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'class_sources' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::ClassSource',
                    'cond' => {
                      'foreign.class_sort_rule' => 'self.class_sort_rule'
                    },
                    'class' => 'Koha::Schema::Result::ClassSource'
                  }
                },
                '_ordered_columns' => [
                  'class_sort_rule',
                  'description',
                  'sort_routine'
                ],
                'name' => 'class_sort_rules',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClassSortRule'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'MatchpointComponent' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'matchpoint' => {
                    'class' => 'Koha::Schema::Result::Matchpoint',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'matchpoint_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.matchpoint_id' => 'self.matchpoint_id'
                    },
                    'source' => 'Koha::Schema::Result::Matchpoint'
                  },
                  'matchpoint_component_norms' => {
                    'class' => 'Koha::Schema::Result::MatchpointComponentNorm',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.matchpoint_component_id' => 'self.matchpoint_component_id'
                    },
                    'source' => 'Koha::Schema::Result::MatchpointComponentNorm'
                  }
                },
                'result_class' => 'Koha::Schema::Result::MatchpointComponent',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'name' => 'matchpoint_components',
                '_ordered_columns' => [
                  'matchpoint_id',
                  'matchpoint_component_id',
                  'sequence',
                  'tag',
                  'subfields',
                  'offset',
                  'length'
                ],
                'source_name' => 'MatchpointComponent',
                '_primaries' => [
                  'matchpoint_component_id'
                ],
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MatchpointComponent'}{'_primaries'}
                },
                '_columns' => {
                  'matchpoint_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'tag' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 3
                  },
                  'subfields' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 40,
                    'default_value' => ''
                  },
                  'sequence' => {
                    'default_value' => 0,
                    'accessor' => undef,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'length' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'matchpoint_component_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'offset' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'default_value' => 0
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmUserRole' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'user_role_id'
                  ]
                },
                '_columns' => {
                  'role' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'user_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'user_role_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'license_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'agreement_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'ErmUserRole',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUserRole'}{'_unique_constraints'}{'primary'},
                '_ordered_columns' => [
                  'user_role_id',
                  'agreement_id',
                  'license_id',
                  'user_id',
                  'role'
                ],
                'name' => 'erm_user_roles',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::ErmUserRole',
                '_relationships' => {
                  'user' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.user_id'
                    },
                    'source' => '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' => {
                        'user_id' => 1
                      }
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'agreement' => {
                    'class' => 'Koha::Schema::Result::ErmAgreement',
                    'cond' => {
                      'foreign.agreement_id' => 'self.agreement_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmAgreement',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'agreement_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    }
                  },
                  'license' => {
                    '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
                      }
                    },
                    'source' => 'Koha::Schema::Result::ErmLicense',
                    'cond' => {
                      'foreign.license_id' => 'self.license_id'
                    },
                    'class' => 'Koha::Schema::Result::ErmLicense'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet'
              }, 'DBIx::Class::ResultSource::Table' ),
              'SpecialHoliday' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'SpecialHoliday',
                '_ordered_columns' => [
                  'id',
                  'branchcode',
                  'day',
                  'month',
                  'year',
                  'isexception',
                  'title',
                  'description'
                ],
                'name' => 'special_holidays',
                'result_class' => 'Koha::Schema::Result::SpecialHoliday',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  '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
                    }
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'day' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'smallint'
                  },
                  'year' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'smallint'
                  },
                  'description' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 0
                  },
                  'title' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 50,
                    'default_value' => ''
                  },
                  'month' => {
                    'is_nullable' => 0,
                    'data_type' => 'smallint',
                    'default_value' => 0
                  },
                  'branchcode' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'isexception' => {
                    'default_value' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'smallint'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SpecialHoliday'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmAgreementPeriod' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'agreement_period_id'
                  ]
                },
                '_columns' => {
                  'notes' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'ended_on' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'agreement_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'cancellation_deadline' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'agreement_period_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'started_on' => {
                    'data_type' => 'date',
                    'is_nullable' => 0,
                    'datetime_undef_if_invalid' => 1
                  }
                },
                'source_name' => 'ErmAgreementPeriod',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmAgreementPeriod'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'agreement' => {
                    'cond' => {
                      'foreign.agreement_id' => 'self.agreement_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmAgreement',
                    'attrs' => {
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'agreement_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::ErmAgreement'
                  }
                },
                'result_class' => 'Koha::Schema::Result::ErmAgreementPeriod',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_ordered_columns' => [
                  'agreement_period_id',
                  'agreement_id',
                  'started_on',
                  'ended_on',
                  'cancellation_deadline',
                  'notes'
                ],
                'name' => 'erm_agreement_periods'
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmUsageDataProvider' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'erm_usage_data_provider_id'
                ],
                'source_name' => 'ErmUsageDataProvider',
                '_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'
                ],
                'name' => 'erm_usage_data_providers',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::ErmUsageDataProvider',
                '_relationships' => {
                  'erm_usage_items' => {
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageItem',
                    'class' => 'Koha::Schema::Result::ErmUsageItem'
                  },
                  'erm_counter_files' => {
                    'cond' => {
                      'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmCounterFile',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::ErmCounterFile'
                  },
                  'erm_usage_platforms' => {
                    'source' => 'Koha::Schema::Result::ErmUsagePlatform',
                    'cond' => {
                      'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::ErmUsagePlatform'
                  },
                  'erm_usage_muses' => {
                    'class' => 'Koha::Schema::Result::ErmUsageMus',
                    'cond' => {
                      'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageMus',
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'erm_counter_logs' => {
                    'class' => 'Koha::Schema::Result::ErmCounterLog',
                    'source' => 'Koha::Schema::Result::ErmCounterLog',
                    'cond' => {
                      'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
                    },
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  '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_usage_databases' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageDatabase',
                    'class' => 'Koha::Schema::Result::ErmUsageDatabase'
                  },
                  'erm_usage_yuses' => {
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.usage_data_provider_id' => 'self.erm_usage_data_provider_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageYus',
                    'class' => 'Koha::Schema::Result::ErmUsageYus'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'aggregator' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'report_release' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'service_url' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'requestor_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 50
                  },
                  'requestor_name' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'name' => {
                    'size' => 80,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'service_type' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'service_platform' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'customer_id' => {
                    'size' => 50,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'method' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'api_key' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'erm_usage_data_provider_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'description' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'requestor_email' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'report_types' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'active' => {
                    'default_value' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsageDataProvider'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'PatronList' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'PatronList',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_unique_constraints' => {
                  'primary' => [
                    'patron_list_id'
                  ]
                },
                '_columns' => {
                  'shared' => {
                    'default_value' => 0,
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'name' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'patron_list_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'owner' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PatronList'}{'_unique_constraints'}{'primary'},
                'name' => 'patron_lists',
                '_ordered_columns' => [
                  'patron_list_id',
                  'name',
                  'owner',
                  'shared'
                ],
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'patron_list_patrons' => {
                    'class' => 'Koha::Schema::Result::PatronListPatron',
                    'source' => 'Koha::Schema::Result::PatronListPatron',
                    'cond' => {
                      'foreign.patron_list_id' => 'self.patron_list_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  },
                  'owner' => {
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.owner'
                    },
                    '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::Borrower'
                  }
                },
                'result_class' => 'Koha::Schema::Result::PatronList'
              }, 'DBIx::Class::ResultSource::Table' ),
              'BorrowerMessageTransportPreference' => bless( {
                'source_name' => 'BorrowerMessageTransportPreference',
                '_primaries' => [
                  'borrower_message_preference_id',
                  'message_transport_type'
                ],
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::BorrowerMessageTransportPreference',
                '_relationships' => {
                  'message_transport_type' => {
                    'class' => 'Koha::Schema::Result::MessageTransportType',
                    'source' => 'Koha::Schema::Result::MessageTransportType',
                    'cond' => {
                      'foreign.message_transport_type' => 'self.message_transport_type'
                    },
                    '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'
                    }
                  },
                  'borrower_message_preference' => {
                    'source' => 'Koha::Schema::Result::BorrowerMessagePreference',
                    'cond' => {
                      'foreign.borrower_message_preference_id' => 'self.borrower_message_preference_id'
                    },
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'borrower_message_preference_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::BorrowerMessagePreference'
                  }
                },
                'resultset_attributes' => {},
                'name' => 'borrower_message_transport_preferences',
                '_ordered_columns' => [
                  'borrower_message_preference_id',
                  'message_transport_type'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerMessageTransportPreference'}{'_primaries'}
                },
                '_columns' => {
                  'message_transport_type' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 20,
                    'default_value' => 0,
                    'is_foreign_key' => 1
                  },
                  'borrower_message_preference_id' => {
                    'is_foreign_key' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Accountline' => bless( {
                '_columns' => {
                  'accountlines_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'amount' => {
                    'size' => [
                      28,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'old_issue_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'date' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 1
                  },
                  'branchcode' => {
                    'is_foreign_key' => 1,
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'manager_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'issue_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'itemnumber' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'status' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 16
                  },
                  'credit_type_code' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'register_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'timestamp' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp'
                  },
                  'amountoutstanding' => {
                    'size' => [
                      28,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'borrowernumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'interface' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 16
                  },
                  'note' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'debit_type_code' => {
                    'size' => 80,
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'payment_type' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'description' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'credit_number' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 20
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'accountlines_id'
                  ]
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Accountline'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Accountline',
                '_columns_info_loaded' => 0,
                '_relationships' => {
                  'library' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'branchcode' => 1
                      }
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branch'
                  },
                  'old_issue' => {
                    'class' => 'Koha::Schema::Result::OldIssue',
                    'source' => 'Koha::Schema::Result::OldIssue',
                    'cond' => {
                      'foreign.issue_id' => 'self.old_issue_id'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'old_issue_id' => 1
                      },
                      'on_delete' => 'SET NULL',
                      'accessor' => 'single',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1
                    }
                  },
                  'account_offsets_debits' => {
                    'class' => 'Koha::Schema::Result::AccountOffset',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.debit_id' => 'self.accountlines_id'
                    },
                    'source' => 'Koha::Schema::Result::AccountOffset'
                  },
                  'article_requests' => {
                    'class' => 'Koha::Schema::Result::ArticleRequest',
                    'source' => 'Koha::Schema::Result::ArticleRequest',
                    'cond' => {
                      'foreign.debit_id' => 'self.accountlines_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    }
                  },
                  'account_offsets_credits' => {
                    'class' => 'Koha::Schema::Result::AccountOffset',
                    'source' => 'Koha::Schema::Result::AccountOffset',
                    'cond' => {
                      'foreign.credit_id' => 'self.accountlines_id'
                    },
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'register' => {
                    'cond' => {
                      'foreign.id' => 'self.register_id'
                    },
                    'source' => 'Koha::Schema::Result::CashRegister',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'register_id' => 1
                      },
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'class' => 'Koha::Schema::Result::CashRegister'
                  },
                  'debit_type_code' => {
                    'cond' => {
                      'foreign.code' => 'self.debit_type_code'
                    },
                    'source' => 'Koha::Schema::Result::AccountDebitType',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'on_delete' => 'RESTRICT',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'class' => 'Koha::Schema::Result::AccountDebitType'
                  },
                  'additional_field_values' => {
                    'class' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => sub { "DUMMY" },
                    'source' => 'Koha::Schema::Result::AdditionalFieldValue'
                  },
                  'borrowernumber' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'filter'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'credit_type_code' => {
                    'class' => 'Koha::Schema::Result::AccountCreditType',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'RESTRICT',
                      'is_depends_on' => 1,
                      'accessor' => 'filter'
                    },
                    'source' => 'Koha::Schema::Result::AccountCreditType',
                    'cond' => {
                      'foreign.code' => 'self.credit_type_code'
                    }
                  },
                  'manager' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.manager_id'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'manager_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'itemnumber' => {
                    'class' => 'Koha::Schema::Result::Item',
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    '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
                    }
                  },
                  'branchcode' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    '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'
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branch'
                  },
                  'issue' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'issue_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.issue_id' => 'self.issue_id'
                    },
                    'source' => 'Koha::Schema::Result::Issue',
                    'class' => 'Koha::Schema::Result::Issue'
                  },
                  'patron' => {
                    'attrs' => {
                      'fk_columns' => {
                        'borrowernumber' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'single',
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      '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',
                    'class' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'result_class' => 'Koha::Schema::Result::Accountline',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'accountlines',
                '_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'
                ]
              }, 'DBIx::Class::ResultSource::Table' ),
              'Deleteditem' => bless( {
                '_columns' => {
                  'reserves' => {
                    'is_nullable' => 1,
                    'data_type' => 'smallint'
                  },
                  'stocknumber' => {
                    'size' => 32,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'renewals' => {
                    'is_nullable' => 1,
                    'data_type' => 'smallint'
                  },
                  'onloan' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'datelastseen' => {
                    'data_type' => 'datetime',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'cn_sort' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'itype' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'damaged' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'homebranch' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'new_status' => {
                    'size' => 32,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'itemnumber' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'default_value' => 0
                  },
                  'issues' => {
                    'default_value' => 0,
                    'data_type' => 'smallint',
                    'is_nullable' => 1
                  },
                  'itemnotes_nonpublic' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'location' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'itemlost_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'deleted_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'uri' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'timestamp' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'price' => {
                    'data_type' => 'decimal',
                    'is_nullable' => 1,
                    'size' => [
                      8,
                      2
                    ]
                  },
                  'booksellerid' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'cn_source' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'copynumber' => {
                    'size' => 32,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'dateaccessioned' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'itemnotes' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'datelastborrowed' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'restricted' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'stack' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  },
                  'materials' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'enumchron' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'withdrawn_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'replacementprice' => {
                    'size' => [
                      8,
                      2
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'exclude_from_local_holds_priority' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  },
                  'permanent_location' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'bookable' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1,
                    'is_boolean' => 1
                  },
                  'replacementpricedate' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'biblionumber' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'damaged_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'ccode' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'notforloan' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'localuse' => {
                    'data_type' => 'smallint',
                    'is_nullable' => 1
                  },
                  'holdingbranch' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'more_subfields_xml' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'itemcallnumber' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'itemlost' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'barcode' => {
                    'size' => 20,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'coded_location_qualifier' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'biblioitemnumber' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'withdrawn' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'itemnumber'
                  ]
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {},
                'result_class' => 'Koha::Schema::Result::Deleteditem',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_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' => 'deleteditems',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Deleteditem'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Deleteditem',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'CollectionsTracking' => bless( {
                '_columns' => {
                  'collections_tracking_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'colId' => {
                    'default_value' => 0,
                    'is_foreign_key' => 1,
                    'accessor' => 'col_id',
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'itemnumber' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'default_value' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'collections_tracking_id'
                  ]
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CollectionsTracking'}{'_unique_constraints'}{'primary'},
                'source_name' => 'CollectionsTracking',
                '_columns_info_loaded' => 0,
                'result_class' => 'Koha::Schema::Result::CollectionsTracking',
                '_relationships' => {
                  'col' => {
                    'class' => 'Koha::Schema::Result::Collection',
                    'cond' => {
                      'foreign.colId' => 'self.colId'
                    },
                    'source' => 'Koha::Schema::Result::Collection',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'colId' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single'
                    }
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'collections_tracking_id',
                  'colId',
                  'itemnumber'
                ],
                'name' => 'collections_tracking'
              }, 'DBIx::Class::ResultSource::Table' ),
              'Browser' => bless( {
                'name' => 'browser',
                '_ordered_columns' => [
                  'level',
                  'classification',
                  'description',
                  'number',
                  'endnode'
                ],
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Browser',
                'resultset_attributes' => {},
                '_relationships' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'Browser',
                '_columns' => {
                  'number' => {
                    'is_nullable' => 0,
                    'data_type' => 'bigint'
                  },
                  'classification' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 20
                  },
                  'level' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'endnode' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'description' => {
                    'size' => 255,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'PatronListPatron' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::PatronListPatron',
                '_relationships' => {
                  'borrowernumber' => {
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'is_foreign_key_constraint' => 1
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'patron_list' => {
                    'class' => 'Koha::Schema::Result::PatronList',
                    '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
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_ordered_columns' => [
                  'patron_list_patron_id',
                  'patron_list_id',
                  'borrowernumber'
                ],
                'name' => 'patron_list_patrons',
                'source_name' => 'PatronListPatron',
                '_primaries' => [
                  'patron_list_patron_id'
                ],
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PatronListPatron'}{'_primaries'}
                },
                '_columns' => {
                  'patron_list_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'patron_list_patron_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Message' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'message_id'
                  ]
                },
                '_columns' => {
                  'branchcode' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'manager_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  '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_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'message_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'message_date' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  }
                },
                '_ordered_columns' => [
                  'message_id',
                  'borrowernumber',
                  'branchcode',
                  'message_type',
                  'message',
                  'message_date',
                  'manager_id',
                  'patron_read_date'
                ],
                'name' => 'messages',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::Message',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  'borrowernumber' => {
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'manager' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.manager_id'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'manager_id' => 1
                      },
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'single'
                    }
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'Message',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Message'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'PatronConsent' => bless( {
                '_columns' => {
                  'given_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'datetime',
                    'is_nullable' => 1
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'type' => {
                    'data_type' => 'tinytext',
                    'is_nullable' => 1
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'refused_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PatronConsent'}{'_unique_constraints'}{'primary'},
                'source_name' => 'PatronConsent',
                '_columns_info_loaded' => 0,
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::PatronConsent',
                '_relationships' => {
                  'borrowernumber' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    '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
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'id',
                  'borrowernumber',
                  'type',
                  'given_on',
                  'refused_on'
                ],
                'name' => 'patron_consent'
              }, 'DBIx::Class::ResultSource::Table' ),
              'OauthAccessToken' => bless( {
                '_columns' => {
                  'access_token' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 191
                  },
                  'client_id' => {
                    'size' => 191,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'expires' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'access_token'
                  ]
                },
                'name' => 'oauth_access_tokens',
                '_ordered_columns' => [
                  'access_token',
                  'client_id',
                  'expires'
                ],
                '_relationships' => {},
                'result_class' => 'Koha::Schema::Result::OauthAccessToken',
                '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'}{'OauthAccessToken'}{'_unique_constraints'}{'primary'},
                'source_name' => 'OauthAccessToken'
              }, 'DBIx::Class::ResultSource::Table' ),
              'MatcherMatchpoint' => bless( {
                'source_name' => 'MatcherMatchpoint',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::MatcherMatchpoint',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'matcher' => {
                    'class' => 'Koha::Schema::Result::MarcMatcher',
                    'source' => 'Koha::Schema::Result::MarcMatcher',
                    'cond' => {
                      'foreign.matcher_id' => 'self.matcher_id'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'matcher_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single'
                    }
                  },
                  'matchpoint' => {
                    'attrs' => {
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'matchpoint_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.matchpoint_id' => 'self.matchpoint_id'
                    },
                    'source' => 'Koha::Schema::Result::Matchpoint',
                    'class' => 'Koha::Schema::Result::Matchpoint'
                  }
                },
                '_ordered_columns' => [
                  'matcher_id',
                  'matchpoint_id'
                ],
                'name' => 'matcher_matchpoints',
                '_columns' => {
                  'matchpoint_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'matcher_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ClubEnrollment' => bless( {
                '_columns' => {
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'date_created' => {
                    'is_nullable' => 1,
                    'data_type' => 'timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'date_updated' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'club_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'date_canceled' => {
                    'is_nullable' => 1,
                    'data_type' => 'timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'branchcode' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'date_enrolled' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::ClubEnrollment',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'borrowernumber' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'filter'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'club_enrollment_fields' => {
                    'class' => 'Koha::Schema::Result::ClubEnrollmentField',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::ClubEnrollmentField',
                    'cond' => {
                      'foreign.club_enrollment_id' => 'self.id'
                    }
                  },
                  'branchcode' => {
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'club' => {
                    'class' => 'Koha::Schema::Result::Club',
                    'attrs' => {
                      'fk_columns' => {
                        'club_id' => 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.id' => 'self.club_id'
                    },
                    'source' => 'Koha::Schema::Result::Club'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'id',
                  'club_id',
                  'borrowernumber',
                  'date_enrolled',
                  'date_canceled',
                  'date_created',
                  'date_updated',
                  'branchcode'
                ],
                'name' => 'club_enrollments',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubEnrollment'}{'_unique_constraints'}{'primary'},
                'source_name' => 'ClubEnrollment',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'BorrowerFile' => bless( {
                '_ordered_columns' => [
                  'file_id',
                  'borrowernumber',
                  'file_name',
                  'file_type',
                  'file_description',
                  'file_content',
                  'date_uploaded'
                ],
                'name' => 'borrower_files',
                '_relationships' => {
                  'borrowernumber' => {
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::BorrowerFile',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'file_id'
                ],
                'source_name' => 'BorrowerFile',
                '_columns' => {
                  'file_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'date_uploaded' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  },
                  'file_name' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'borrowernumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'file_content' => {
                    'is_nullable' => 0,
                    'data_type' => 'longblob'
                  },
                  'file_type' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'file_description' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerFile'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Illrequest' => bless( {
                '_primaries' => [
                  'illrequest_id'
                ],
                'name' => 'illrequests',
                '_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'
                ],
                '_relationships' => {
                  'patron' => {
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'borrowernumber' => 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'
                  },
                  'batch' => {
                    'class' => 'Koha::Schema::Result::Illbatch',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'batch_id' => 1
                      },
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.ill_batch_id' => 'self.batch_id'
                    },
                    'source' => 'Koha::Schema::Result::Illbatch'
                  },
                  'biblio' => {
                    'class' => 'Koha::Schema::Result::Biblio',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'on_delete' => 'SET NULL',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'biblio_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblio_id'
                    },
                    'source' => 'Koha::Schema::Result::Biblio'
                  },
                  'branchcode' => {
                    '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.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'illrequestattributes' => {
                    'class' => 'Koha::Schema::Result::Illrequestattribute',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.illrequest_id' => 'self.illrequest_id'
                    },
                    'source' => 'Koha::Schema::Result::Illrequestattribute'
                  },
                  'status_alias' => {
                    'source' => 'Koha::Schema::Result::AuthorisedValue',
                    'cond' => {
                      'foreign.authorised_value' => 'self.status_alias'
                    },
                    'attrs' => {
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::AuthorisedValue'
                  },
                  'extended_attributes' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::Illrequestattribute',
                    'cond' => {
                      'foreign.illrequest_id' => 'self.illrequest_id'
                    },
                    'class' => 'Koha::Schema::Result::Illrequestattribute'
                  },
                  'borrowernumber' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      '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
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  },
                  'illcomments' => {
                    'class' => 'Koha::Schema::Result::Illcomment',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.illrequest_id' => 'self.illrequest_id'
                    },
                    'source' => 'Koha::Schema::Result::Illcomment'
                  },
                  'library' => {
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'branchcode' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'ill_batch' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'batch_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.ill_batch_id' => 'self.batch_id'
                    },
                    'source' => 'Koha::Schema::Result::Illbatch',
                    'class' => 'Koha::Schema::Result::Illbatch'
                  },
                  'comments' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::Illcomment',
                    'cond' => {
                      'foreign.illrequest_id' => 'self.illrequest_id'
                    },
                    'class' => 'Koha::Schema::Result::Illcomment'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Illrequest',
                'resultset_attributes' => {},
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Illrequest'}{'_primaries'}
                },
                '_columns' => {
                  'accessurl' => {
                    'size' => 500,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'cost' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 20
                  },
                  'due_date' => {
                    'data_type' => 'datetime',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'status_alias' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'is_foreign_key' => 1,
                    'size' => 80,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'completed' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'status' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 50
                  },
                  'replied' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'medium' => {
                    'size' => 30,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'batch_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'biblio_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'branchcode' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 50,
                    'is_foreign_key' => 1
                  },
                  'orderid' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 50
                  },
                  'updated' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'placed' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'price_paid' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 20
                  },
                  'notesopac' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'notesstaff' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'deleted_biblio_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'backend' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 20
                  },
                  'illrequest_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'bigint',
                    'is_auto_increment' => 1,
                    'extra' => {
                      'unsigned' => 1
                    }
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'Illrequest',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'LibraryHour' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'LibraryHour',
                '_unique_constraints' => {
                  'primary' => [
                    'library_id',
                    'day'
                  ]
                },
                '_columns' => {
                  'open_time' => {
                    'data_type' => 'time',
                    'is_nullable' => 1
                  },
                  'library_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'is_foreign_key' => 1
                  },
                  'close_time' => {
                    'is_nullable' => 1,
                    'data_type' => 'time'
                  },
                  'day' => {
                    'default_value' => 0,
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'extra' => {
                      'list' => [
                        0,
                        1,
                        2,
                        3,
                        4,
                        5,
                        6
                      ]
                    }
                  }
                },
                'name' => 'library_hours',
                '_ordered_columns' => [
                  'library_id',
                  'day',
                  'open_time',
                  'close_time'
                ],
                'result_class' => 'Koha::Schema::Result::LibraryHour',
                '_relationships' => {
                  'library' => {
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'library_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.library_id'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LibraryHour'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Aqbasketuser' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'basketno',
                    'borrowernumber'
                  ]
                },
                '_columns' => {
                  'basketno' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Aqbasketuser',
                'resultset_attributes' => {},
                '_relationships' => {
                  'basketno' => {
                    'class' => 'Koha::Schema::Result::Aqbasket',
                    '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.basketno' => 'self.basketno'
                    },
                    'source' => 'Koha::Schema::Result::Aqbasket'
                  },
                  '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,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'is_depends_on' => 1
                    }
                  }
                },
                'name' => 'aqbasketusers',
                '_ordered_columns' => [
                  'basketno',
                  'borrowernumber'
                ],
                'source_name' => 'Aqbasketuser',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqbasketuser'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'Statistic' => bless( {
                '_columns' => {
                  'type' => {
                    'size' => 16,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'interface' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 30
                  },
                  'borrowernumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'other' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'value' => {
                    'data_type' => 'double precision',
                    'is_nullable' => 1,
                    'size' => [
                      16,
                      4
                    ]
                  },
                  'categorycode' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'branch' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10
                  },
                  'location' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'ccode' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'itemtype' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'datetime' => {
                    'data_type' => 'datetime',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'itemnumber' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'Statistic',
                '_ordered_columns' => [
                  'datetime',
                  'branch',
                  'value',
                  'type',
                  'other',
                  'itemnumber',
                  'itemtype',
                  'location',
                  'borrowernumber',
                  'ccode',
                  'categorycode',
                  'interface'
                ],
                'name' => 'statistics',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Statistic',
                '_relationships' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Course' => bless( {
                '_primaries' => [
                  'course_id'
                ],
                '_ordered_columns' => [
                  'course_id',
                  'department',
                  'course_number',
                  'section',
                  'course_name',
                  'term',
                  'staff_note',
                  'public_note',
                  'students_count',
                  'enabled',
                  'timestamp'
                ],
                'name' => 'courses',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Course',
                'resultset_attributes' => {},
                '_relationships' => {
                  'course_reserves' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.course_id' => 'self.course_id'
                    },
                    'source' => 'Koha::Schema::Result::CourseReserve',
                    'class' => 'Koha::Schema::Result::CourseReserve'
                  },
                  'course_instructors' => {
                    'source' => 'Koha::Schema::Result::CourseInstructor',
                    'cond' => {
                      'foreign.course_id' => 'self.course_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::CourseInstructor'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Course'}{'_primaries'}
                },
                '_columns' => {
                  'course_number' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'timestamp' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp'
                  },
                  'section' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'public_note' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'course_name' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'students_count' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 20
                  },
                  'course_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'staff_note' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'department' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'term' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'enabled' => {
                    'default_value' => 'yes',
                    'extra' => {
                      'list' => [
                        'yes',
                        'no'
                      ]
                    },
                    'is_nullable' => 0,
                    'data_type' => 'enum'
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'Course',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'AccountDebitTypesBranch' => bless( {
                '_ordered_columns' => [
                  'debit_type_code',
                  'branchcode'
                ],
                'name' => 'account_debit_types_branches',
                'resultset_attributes' => {},
                '_relationships' => {
                  'branchcode' => {
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'debit_type_code' => {
                    'class' => 'Koha::Schema::Result::AccountDebitType',
                    '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' => 'RESTRICT'
                    },
                    'cond' => {
                      'foreign.code' => 'self.debit_type_code'
                    },
                    'source' => 'Koha::Schema::Result::AccountDebitType'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::AccountDebitTypesBranch',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'AccountDebitTypesBranch',
                '_columns' => {
                  'debit_type_code' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'size' => 80,
                    'is_foreign_key' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'branchcode' => {
                    'is_foreign_key' => 1,
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'SearchMarcMap' => bless( {
                'name' => 'search_marc_map',
                '_ordered_columns' => [
                  'id',
                  'index_name',
                  'marc_type',
                  'marc_field'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::SearchMarcMap',
                'resultset_attributes' => {},
                '_relationships' => {
                  'search_marc_to_fields' => {
                    'class' => 'Koha::Schema::Result::SearchMarcToField',
                    'cond' => {
                      'foreign.search_marc_map_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::SearchMarcToField',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'SearchMarcMap',
                '_primaries' => [
                  'id'
                ],
                '_unique_constraints' => {
                  'index_name' => [
                    'index_name',
                    'marc_field',
                    'marc_type'
                  ],
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SearchMarcMap'}{'_primaries'}
                },
                '_columns' => {
                  'index_name' => {
                    'is_nullable' => 0,
                    'data_type' => 'enum',
                    'extra' => {
                      'list' => [
                        'biblios',
                        'authorities'
                      ]
                    }
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'marc_field' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'marc_type' => {
                    'extra' => {
                      'list' => [
                        'marc21',
                        'unimarc'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 0
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ClubTemplate' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'ClubTemplate',
                '_columns_info_loaded' => 0,
                'result_class' => 'Koha::Schema::Result::ClubTemplate',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'club_template_enrollment_fields' => {
                    'cond' => {
                      'foreign.club_template_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::ClubTemplateEnrollmentField',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::ClubTemplateEnrollmentField'
                  },
                  'clubs' => {
                    'class' => 'Koha::Schema::Result::Club',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::Club',
                    'cond' => {
                      'foreign.club_template_id' => 'self.id'
                    }
                  },
                  'club_template_fields' => {
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::ClubTemplateField',
                    'cond' => {
                      'foreign.club_template_id' => 'self.id'
                    },
                    'class' => 'Koha::Schema::Result::ClubTemplateField'
                  },
                  'branchcode' => {
                    'attrs' => {
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'class' => 'Koha::Schema::Result::Branch'
                  }
                },
                '_ordered_columns' => [
                  'id',
                  'name',
                  'description',
                  'is_enrollable_from_opac',
                  'is_email_required',
                  'branchcode',
                  'date_created',
                  'date_updated',
                  'is_deletable'
                ],
                'name' => 'club_templates',
                '_primaries' => [
                  'id'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubTemplate'}{'_primaries'}
                },
                '_columns' => {
                  'name' => {
                    'is_nullable' => 0,
                    'data_type' => 'text'
                  },
                  'description' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'is_deletable' => {
                    'default_value' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'branchcode' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'date_updated' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'is_email_required' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  '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
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ClubEnrollmentField' => bless( {
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ClubEnrollmentField',
                '_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' => {
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'club_template_enrollment_field_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    }
                  },
                  'club_enrollment' => {
                    'class' => 'Koha::Schema::Result::ClubEnrollment',
                    'source' => 'Koha::Schema::Result::ClubEnrollment',
                    'cond' => {
                      'foreign.id' => 'self.club_enrollment_id'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'club_enrollment_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single'
                    }
                  }
                },
                'name' => 'club_enrollment_fields',
                '_ordered_columns' => [
                  'id',
                  'club_enrollment_id',
                  'club_template_enrollment_field_id',
                  'value'
                ],
                '_primaries' => [
                  'id'
                ],
                '_columns' => {
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'club_enrollment_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'club_template_enrollment_field_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'value' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubEnrollmentField'}{'_primaries'}
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'ClubEnrollmentField',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'Matchpoint' => bless( {
                '_columns' => {
                  'score' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'matcher_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'search_index' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 30
                  },
                  'matchpoint_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'matchpoint_id'
                  ]
                },
                'name' => 'matchpoints',
                '_ordered_columns' => [
                  'matcher_id',
                  'matchpoint_id',
                  'search_index',
                  'score'
                ],
                '_relationships' => {
                  'matchchecks_target_matchpoints' => {
                    'source' => 'Koha::Schema::Result::Matchcheck',
                    'cond' => {
                      'foreign.target_matchpoint_id' => 'self.matchpoint_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::Matchcheck'
                  },
                  'matcher' => {
                    'class' => 'Koha::Schema::Result::MarcMatcher',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'matcher_id' => 1
                      },
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'cond' => {
                      'foreign.matcher_id' => 'self.matcher_id'
                    },
                    'source' => 'Koha::Schema::Result::MarcMatcher'
                  },
                  'matchchecks_source_matchpoints' => {
                    'source' => 'Koha::Schema::Result::Matchcheck',
                    'cond' => {
                      'foreign.source_matchpoint_id' => 'self.matchpoint_id'
                    },
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Matchcheck'
                  },
                  'matcher_matchpoints' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.matchpoint_id' => 'self.matchpoint_id'
                    },
                    'source' => 'Koha::Schema::Result::MatcherMatchpoint',
                    'class' => 'Koha::Schema::Result::MatcherMatchpoint'
                  },
                  'matchpoint_components' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::MatchpointComponent',
                    'cond' => {
                      'foreign.matchpoint_id' => 'self.matchpoint_id'
                    },
                    'class' => 'Koha::Schema::Result::MatchpointComponent'
                  }
                },
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::Matchpoint',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Matchpoint'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Matchpoint'
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmEholdingsPackagesAgreement' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'package_id',
                  'agreement_id'
                ],
                'source_name' => 'ErmEholdingsPackagesAgreement',
                '_ordered_columns' => [
                  'package_id',
                  'agreement_id'
                ],
                'name' => 'erm_eholdings_packages_agreements',
                'result_class' => 'Koha::Schema::Result::ErmEholdingsPackagesAgreement',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'package' => {
                    'cond' => {
                      'foreign.package_id' => 'self.package_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmEholdingsPackage',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'fk_columns' => {
                        'package_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::ErmEholdingsPackage'
                  },
                  'agreement' => {
                    'class' => 'Koha::Schema::Result::ErmAgreement',
                    'cond' => {
                      'foreign.agreement_id' => 'self.agreement_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmAgreement',
                    '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
                      }
                    }
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'agreement_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'package_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmEholdingsPackagesAgreement'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmAgreementLicense' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'ErmAgreementLicense',
                '_columns' => {
                  'uri' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  '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
                  },
                  'physical_location' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'notes' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'status' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'agreement_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'erm_agreement_licenses_uniq' => [
                    'agreement_id',
                    'license_id'
                  ],
                  'primary' => [
                    'agreement_license_id'
                  ]
                },
                '_ordered_columns' => [
                  'agreement_license_id',
                  'agreement_id',
                  'license_id',
                  'status',
                  'physical_location',
                  'notes',
                  'uri'
                ],
                'name' => 'erm_agreement_licenses',
                '_relationships' => {
                  'agreement' => {
                    '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
                    },
                    'cond' => {
                      'foreign.agreement_id' => 'self.agreement_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmAgreement',
                    'class' => 'Koha::Schema::Result::ErmAgreement'
                  },
                  'license' => {
                    'source' => 'Koha::Schema::Result::ErmLicense',
                    'cond' => {
                      'foreign.license_id' => 'self.license_id'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'license_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single'
                    },
                    'class' => 'Koha::Schema::Result::ErmLicense'
                  }
                },
                'result_class' => 'Koha::Schema::Result::ErmAgreementLicense',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmAgreementLicense'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ClubTemplateField' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns' => {
                  'id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'authorised_value_category' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 32
                  },
                  'name' => {
                    'data_type' => 'text',
                    'is_nullable' => 0
                  },
                  'club_template_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'description' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'club_fields' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::ClubField',
                    'cond' => {
                      'foreign.club_template_field_id' => 'self.id'
                    },
                    'class' => 'Koha::Schema::Result::ClubField'
                  },
                  'club_template' => {
                    'source' => 'Koha::Schema::Result::ClubTemplate',
                    'cond' => {
                      'foreign.id' => 'self.club_template_id'
                    },
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'club_template_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::ClubTemplate'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ClubTemplateField',
                '_ordered_columns' => [
                  'id',
                  'club_template_id',
                  'name',
                  'description',
                  'authorised_value_category'
                ],
                'name' => 'club_template_fields',
                'source_name' => 'ClubTemplateField',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubTemplateField'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'TagsIndex' => bless( {
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'TagsIndex',
                '_columns_info_loaded' => 0,
                '_unique_constraints' => {
                  'primary' => [
                    'term',
                    'biblionumber'
                  ]
                },
                '_columns' => {
                  'biblionumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'weight' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'default_value' => 1
                  },
                  'term' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'size' => 191,
                    'is_foreign_key' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  }
                },
                'resultset_attributes' => {},
                '_relationships' => {
                  'biblionumber' => {
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.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'
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  },
                  'term' => {
                    'class' => 'Koha::Schema::Result::TagsApproval',
                    '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
                    },
                    'cond' => {
                      'foreign.term' => 'self.term'
                    },
                    'source' => 'Koha::Schema::Result::TagsApproval'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::TagsIndex',
                'name' => 'tags_index',
                '_ordered_columns' => [
                  'term',
                  'biblionumber',
                  'weight'
                ],
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TagsIndex'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Branch' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'branchcode'
                ],
                'source_name' => 'Branch',
                '_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'
                ],
                'name' => 'branches',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::Branch',
                '_relationships' => {
                  'bookings' => {
                    'class' => 'Koha::Schema::Result::Booking',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.pickup_library_id' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Booking'
                  },
                  'account_debit_types_branches' => {
                    'class' => 'Koha::Schema::Result::AccountDebitTypesBranch',
                    'source' => 'Koha::Schema::Result::AccountDebitTypesBranch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    }
                  },
                  'additional_contents' => {
                    'class' => 'Koha::Schema::Result::AdditionalContent',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::AdditionalContent',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    }
                  },
                  'desks' => {
                    'class' => 'Koha::Schema::Result::Desk',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::Desk',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    }
                  },
                  'accountlines' => {
                    'source' => 'Koha::Schema::Result::Accountline',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Accountline'
                  },
                  'club_templates' => {
                    'class' => 'Koha::Schema::Result::ClubTemplate',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::ClubTemplate',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'branchtransfers_tobranches' => {
                    'class' => 'Koha::Schema::Result::Branchtransfer',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.tobranch' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branchtransfer'
                  },
                  'clubs' => {
                    'class' => 'Koha::Schema::Result::Club',
                    '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::Club'
                  },
                  'hold_fill_targets' => {
                    'class' => 'Koha::Schema::Result::HoldFillTarget',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::HoldFillTarget',
                    'cond' => {
                      'foreign.source_branchcode' => 'self.branchcode'
                    }
                  },
                  'borrower_attribute_types_branches' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.b_branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::BorrowerAttributeTypesBranch',
                    'class' => 'Koha::Schema::Result::BorrowerAttributeTypesBranch'
                  },
                  'suggestions' => {
                    'class' => 'Koha::Schema::Result::Suggestion',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Suggestion'
                  },
                  'collections' => {
                    'cond' => {
                      'foreign.colBranchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Collection',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::Collection'
                  },
                  'cash_registers' => {
                    'class' => 'Koha::Schema::Result::CashRegister',
                    'cond' => {
                      'foreign.branch' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::CashRegister',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  },
                  'authorised_values_branches' => {
                    '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::AuthorisedValuesBranch',
                    'class' => 'Koha::Schema::Result::AuthorisedValuesBranch'
                  },
                  'account_credit_types_branches' => {
                    'class' => 'Koha::Schema::Result::AccountCreditTypesBranch',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::AccountCreditTypesBranch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    }
                  },
                  'edifact_eans' => {
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::EdifactEan',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::EdifactEan'
                  },
                  'problem_reports' => {
                    'source' => 'Koha::Schema::Result::ProblemReport',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::ProblemReport'
                  },
                  'illbatches' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.library_id' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Illbatch',
                    'class' => 'Koha::Schema::Result::Illbatch'
                  },
                  'illrequests' => {
                    'class' => 'Koha::Schema::Result::Illrequest',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Illrequest',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'reserves' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Reserve',
                    'class' => 'Koha::Schema::Result::Reserve'
                  },
                  'special_holidays' => {
                    'class' => 'Koha::Schema::Result::SpecialHoliday',
                    '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::SpecialHoliday'
                  },
                  'curbside_pickup_policy' => {
                    'source' => 'Koha::Schema::Result::CurbsidePickupPolicy',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_update' => 1,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'accessor' => 'single'
                    },
                    'class' => 'Koha::Schema::Result::CurbsidePickupPolicy'
                  },
                  'branches_overdrive' => {
                    'class' => 'Koha::Schema::Result::BranchesOverdrive',
                    'source' => 'Koha::Schema::Result::BranchesOverdrive',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_update' => 1,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'accessor' => 'single',
                      'cascade_delete' => 0
                    }
                  },
                  'club_enrollments' => {
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::ClubEnrollment',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::ClubEnrollment'
                  },
                  'course_items_homebranch_storages' => {
                    'class' => 'Koha::Schema::Result::CourseItem',
                    'source' => 'Koha::Schema::Result::CourseItem',
                    'cond' => {
                      'foreign.homebranch_storage' => 'self.branchcode'
                    },
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'library_groups' => {
                    'class' => 'Koha::Schema::Result::LibraryGroup',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::LibraryGroup',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'categories_branches' => {
                    'class' => 'Koha::Schema::Result::CategoriesBranch',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::CategoriesBranch'
                  },
                  'circulation_rules' => {
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::CirculationRule',
                    'class' => 'Koha::Schema::Result::CirculationRule'
                  },
                  'course_items' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.holdingbranch' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::CourseItem',
                    'class' => 'Koha::Schema::Result::CourseItem'
                  },
                  'curbside_pickups' => {
                    'class' => 'Koha::Schema::Result::CurbsidePickup',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::CurbsidePickup',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    }
                  },
                  'old_reserves' => {
                    'source' => 'Koha::Schema::Result::OldReserve',
                    '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::OldReserve'
                  },
                  'branchtransfers_frombranches' => {
                    'cond' => {
                      'foreign.frombranch' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Branchtransfer',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::Branchtransfer'
                  },
                  'library_smtp_server' => {
                    'source' => 'Koha::Schema::Result::LibrarySmtpServer',
                    'cond' => {
                      'foreign.library_id' => 'self.branchcode'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_update' => 1,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'accessor' => 'single',
                      'cascade_delete' => 0
                    },
                    'class' => 'Koha::Schema::Result::LibrarySmtpServer'
                  },
                  'course_items_homebranches' => {
                    'class' => 'Koha::Schema::Result::CourseItem',
                    '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::CourseItem'
                  },
                  'itemtypes_branches' => {
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::ItemtypesBranch',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::ItemtypesBranch'
                  },
                  'aqbaskets' => {
                    'class' => 'Koha::Schema::Result::Aqbasket',
                    'cond' => {
                      'foreign.branch' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Aqbasket',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'stockrotationstages' => {
                    'cond' => {
                      'foreign.branchcode_id' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Stockrotationstage',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::Stockrotationstage'
                  },
                  'article_requests' => {
                    '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
                    },
                    'class' => 'Koha::Schema::Result::ArticleRequest'
                  },
                  'repeatable_holidays' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::RepeatableHoliday',
                    'class' => 'Koha::Schema::Result::RepeatableHoliday'
                  },
                  'transport_cost_tobranches' => {
                    'class' => 'Koha::Schema::Result::TransportCost',
                    'cond' => {
                      'foreign.tobranch' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::TransportCost',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'library_hours' => {
                    'class' => 'Koha::Schema::Result::LibraryHour',
                    'source' => 'Koha::Schema::Result::LibraryHour',
                    'cond' => {
                      'foreign.library_id' => 'self.branchcode'
                    },
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'items_homebranches' => {
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.homebranch' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    'class' => 'Koha::Schema::Result::Item'
                  },
                  'creator_batches' => {
                    'source' => 'Koha::Schema::Result::CreatorBatch',
                    'cond' => {
                      'foreign.branch_code' => 'self.branchcode'
                    },
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::CreatorBatch'
                  },
                  'items_holdingbranches' => {
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.holdingbranch' => 'self.branchcode'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::Item'
                  },
                  'identity_provider_domains' => {
                    'class' => 'Koha::Schema::Result::IdentityProviderDomain',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::IdentityProviderDomain',
                    'cond' => {
                      'foreign.default_library_id' => 'self.branchcode'
                    }
                  },
                  'transport_cost_frombranches' => {
                    'class' => 'Koha::Schema::Result::TransportCost',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.frombranch' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::TransportCost'
                  },
                  'borrowers' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    }
                  },
                  'recalls' => {
                    'class' => 'Koha::Schema::Result::Recall',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.pickup_library_id' => 'self.branchcode'
                    },
                    'source' => 'Koha::Schema::Result::Recall'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'opacuserjs' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'marcorgcode' => {
                    'size' => 16,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'branchreplyto' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'branchaddress1' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'branchillemail' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'branchcountry' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'branchemail' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'branchurl' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'branchfax' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'opacusercss' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'branchcity' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'branchcode' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 10
                  },
                  'public' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 1,
                    'is_boolean' => 1
                  },
                  'branchip' => {
                    'size' => 15,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'branchname' => {
                    'is_nullable' => 0,
                    'data_type' => 'longtext'
                  },
                  'geolocation' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'issuing' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'branchnotes' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'branchzip' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 25
                  },
                  'branchaddress2' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'branchreturnpath' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'pickup_location' => {
                    'is_boolean' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 1
                  },
                  'branchstate' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'branchphone' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'branchaddress3' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Branch'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Stockrotationrota' => bless( {
                '_unique_constraints' => {
                  'stockrotationrotas_title' => [
                    'title'
                  ],
                  'primary' => [
                    'rota_id'
                  ]
                },
                '_columns' => {
                  'description' => {
                    'is_nullable' => 0,
                    'data_type' => 'text'
                  },
                  'title' => {
                    'size' => 100,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'rota_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'active' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'cyclical' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'Stockrotationrota',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Stockrotationrota'}{'_unique_constraints'}{'primary'},
                '_ordered_columns' => [
                  'rota_id',
                  'title',
                  'description',
                  'cyclical',
                  'active'
                ],
                'name' => 'stockrotationrotas',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'stockrotationstages' => {
                    'class' => 'Koha::Schema::Result::Stockrotationstage',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Stockrotationstage',
                    'cond' => {
                      'foreign.rota_id' => 'self.rota_id'
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::Stockrotationrota',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet'
              }, 'DBIx::Class::ResultSource::Table' ),
              'ImportOaiBiblio' => bless( {
                '_columns' => {
                  'recordtype' => {
                    'default_value' => 'biblio',
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'extra' => {
                      'list' => [
                        'authority',
                        'biblio'
                      ]
                    }
                  },
                  'import_oai_biblio_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'repository' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'last_modified' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  },
                  'biblionumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'datestamp' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'identifier' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'import_oai_biblio_id'
                  ]
                },
                '_relationships' => {
                  'biblionumber' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'NO ACTION',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'filter',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    },
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::ImportOaiBiblio',
                '_ordered_columns' => [
                  'import_oai_biblio_id',
                  'biblionumber',
                  'identifier',
                  'repository',
                  'recordtype',
                  'datestamp',
                  'last_modified'
                ],
                'name' => 'import_oai_biblios',
                '_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( {
                'name' => 'cover_images',
                '_ordered_columns' => [
                  'imagenumber',
                  'biblionumber',
                  'itemnumber',
                  'mimetype',
                  'imagefile',
                  'thumbnail',
                  'timestamp'
                ],
                'result_class' => 'Koha::Schema::Result::CoverImage',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'itemnumber' => {
                    'class' => 'Koha::Schema::Result::Item',
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.itemnumber'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1
                    }
                  },
                  'biblionumber' => {
                    '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
                    },
                    'source' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  }
                },
                'resultset_attributes' => {},
                '_primaries' => [
                  'imagenumber'
                ],
                '_columns' => {
                  'biblionumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'thumbnail' => {
                    'data_type' => 'mediumblob',
                    'is_nullable' => 0
                  },
                  'timestamp' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp'
                  },
                  'imagenumber' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'itemnumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'imagefile' => {
                    'data_type' => 'mediumblob',
                    'is_nullable' => 0
                  },
                  'mimetype' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 15
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CoverImage'}{'_primaries'}
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'CoverImage'
              }, 'DBIx::Class::ResultSource::Table' ),
              'RepeatableHoliday' => bless( {
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'RepeatableHoliday',
                '_ordered_columns' => [
                  'id',
                  'branchcode',
                  'weekday',
                  'day',
                  'month',
                  'title',
                  'description'
                ],
                'name' => 'repeatable_holidays',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::RepeatableHoliday',
                '_relationships' => {
                  'branchcode' => {
                    'attrs' => {
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'is_foreign_key_constraint' => 1
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  }
                },
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns' => {
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'day' => {
                    'data_type' => 'smallint',
                    'is_nullable' => 1
                  },
                  'weekday' => {
                    'data_type' => 'smallint',
                    'is_nullable' => 1
                  },
                  'title' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 50,
                    'default_value' => ''
                  },
                  'description' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 0
                  },
                  'month' => {
                    'is_nullable' => 1,
                    'data_type' => 'smallint'
                  },
                  'branchcode' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'RepeatableHoliday'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'CurbsidePickup' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'CurbsidePickup',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_primaries' => [
                  'id'
                ],
                '_ordered_columns' => [
                  'id',
                  'borrowernumber',
                  'branchcode',
                  'scheduled_pickup_datetime',
                  'staged_datetime',
                  'staged_by',
                  'arrival_datetime',
                  'delivered_datetime',
                  'delivered_by',
                  'notes'
                ],
                'name' => 'curbside_pickups',
                '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' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'borrowernumber' => {
                    '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
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'branchcode' => {
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'on_update' => 'CASCADE'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'staged_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,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.staged_by'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'result_class' => 'Koha::Schema::Result::CurbsidePickup',
                'resultset_attributes' => {},
                '_columns' => {
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'delivered_datetime' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'staged_by' => {
                    '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
                  },
                  'staged_datetime' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'datetime',
                    'is_nullable' => 1
                  },
                  'delivered_by' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'branchcode' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 10,
                    'is_foreign_key' => 1
                  },
                  'arrival_datetime' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'scheduled_pickup_datetime' => {
                    'is_nullable' => 0,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'notes' => {
                    'is_nullable' => 1,
                    'data_type' => 'text'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CurbsidePickup'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'CreatorLayout' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'CreatorLayout',
                '_primaries' => [
                  'layout_id'
                ],
                '_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'
                ],
                'name' => 'creator_layouts',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::CreatorLayout',
                '_relationships' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CreatorLayout'}{'_primaries'}
                },
                '_columns' => {
                  'layout_xml' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 0
                  },
                  'scale_height' => {
                    'is_nullable' => 0,
                    'data_type' => 'decimal',
                    'size' => [
                      28,
                      6
                    ],
                    'default_value' => '0.010000'
                  },
                  'scale_width' => {
                    'default_value' => '0.800000',
                    'size' => [
                      28,
                      6
                    ],
                    'is_nullable' => 0,
                    'data_type' => 'decimal'
                  },
                  'barcode_type' => {
                    'default_value' => 'CODE39',
                    'size' => 100,
                    'data_type' => 'char',
                    'is_nullable' => 0
                  },
                  'layout_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'font' => {
                    'default_value' => 'TR',
                    'size' => 10,
                    'is_nullable' => 0,
                    'data_type' => 'char'
                  },
                  'oblique_title' => {
                    'default_value' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'format_string' => {
                    'size' => 210,
                    'default_value' => 'barcode',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'font_size' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'default_value' => 10
                  },
                  'text_justify' => {
                    'default_value' => 'L',
                    'size' => 1,
                    'data_type' => 'char',
                    'is_nullable' => 0
                  },
                  'start_label' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'default_value' => 1
                  },
                  'printing_type' => {
                    'size' => 32,
                    'default_value' => 'BAR',
                    'is_nullable' => 0,
                    'data_type' => 'char'
                  },
                  'units' => {
                    'size' => 20,
                    'default_value' => 'POINT',
                    'data_type' => 'char',
                    'is_nullable' => 0
                  },
                  'layout_name' => {
                    'is_nullable' => 0,
                    'data_type' => 'char',
                    'default_value' => 'DEFAULT',
                    'size' => 25
                  },
                  'creator' => {
                    'is_nullable' => 0,
                    'data_type' => 'char',
                    'default_value' => 'Labels',
                    'size' => 15
                  },
                  'guidebox' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'callnum_split' => {
                    'default_value' => 0,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'MiscFile' => bless( {
                'name' => 'misc_files',
                '_ordered_columns' => [
                  'file_id',
                  'table_tag',
                  'record_id',
                  'file_name',
                  'file_type',
                  'file_description',
                  'file_content',
                  'date_uploaded'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::MiscFile',
                '_relationships' => {},
                '_columns_info_loaded' => 0,
                'source_name' => 'MiscFile',
                '_primaries' => [
                  'file_id'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MiscFile'}{'_primaries'}
                },
                '_columns' => {
                  'file_description' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'file_type' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255
                  },
                  'record_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'file_content' => {
                    'is_nullable' => 0,
                    'data_type' => 'longblob'
                  },
                  'file_name' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'date_uploaded' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'file_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'table_tag' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'CashRegisterAction' => bless( {
                '_columns' => {
                  'code' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 24
                  },
                  'register_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'manager_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'timestamp' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'amount' => {
                    'size' => [
                      28,
                      6
                    ],
                    'is_nullable' => 1,
                    'data_type' => 'decimal'
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CashRegisterAction'}{'_unique_constraints'}{'primary'},
                'source_name' => 'CashRegisterAction',
                'name' => 'cash_register_actions',
                '_ordered_columns' => [
                  'id',
                  'code',
                  'register_id',
                  'manager_id',
                  'amount',
                  'timestamp'
                ],
                'result_class' => 'Koha::Schema::Result::CashRegisterAction',
                '_relationships' => {
                  'register' => {
                    'cond' => {
                      'foreign.id' => 'self.register_id'
                    },
                    'source' => 'Koha::Schema::Result::CashRegister',
                    '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' => {
                        'register_id' => 1
                      }
                    },
                    'class' => 'Koha::Schema::Result::CashRegister'
                  },
                  'manager' => {
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'manager_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.manager_id'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmUsageYus' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'ErmUsageYus',
                '_primaries' => [
                  'yearly_usage_summary_id'
                ],
                '_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',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::ErmUsageYus',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'title' => {
                    'cond' => {
                      'foreign.title_id' => 'self.title_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageTitle',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'title_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'class' => 'Koha::Schema::Result::ErmUsageTitle'
                  },
                  'platform' => {
                    'cond' => {
                      'foreign.platform_id' => 'self.platform_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsagePlatform',
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      '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
                    },
                    'class' => 'Koha::Schema::Result::ErmUsagePlatform'
                  },
                  'item' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'item_id' => 1
                      },
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.item_id' => 'self.item_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageItem',
                    'class' => 'Koha::Schema::Result::ErmUsageItem'
                  },
                  '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,
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageDataProvider',
                    'cond' => {
                      'foreign.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
                    }
                  },
                  'database' => {
                    'class' => 'Koha::Schema::Result::ErmUsageDatabase',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'database_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
                    },
                    'cond' => {
                      'foreign.database_id' => 'self.database_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageDatabase'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsageYus'}{'_primaries'}
                },
                '_columns' => {
                  'item_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'year' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'yearly_usage_summary_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'title_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'report_type' => {
                    'size' => 50,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'access_type' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 50
                  },
                  'platform_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'metric_type' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 50
                  },
                  'database_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'yop' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'usage_data_provider_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'totalcount' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'SearchMarcToField' => bless( {
                '_ordered_columns' => [
                  'search',
                  'filter',
                  'search_marc_map_id',
                  'search_field_id',
                  'facet',
                  'suggestible',
                  'sort'
                ],
                'name' => 'search_marc_to_field',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  'search_field' => {
                    'class' => 'Koha::Schema::Result::SearchField',
                    'source' => 'Koha::Schema::Result::SearchField',
                    'cond' => {
                      'foreign.id' => 'self.search_field_id'
                    },
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'search_field_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    }
                  },
                  'search_marc_map' => {
                    'class' => 'Koha::Schema::Result::SearchMarcMap',
                    'source' => 'Koha::Schema::Result::SearchMarcMap',
                    'cond' => {
                      'foreign.id' => 'self.search_marc_map_id'
                    },
                    'attrs' => {
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'search_marc_map_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::SearchMarcToField',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'search_marc_map_id',
                  'search_field_id',
                  'filter'
                ],
                'source_name' => 'SearchMarcToField',
                '_columns' => {
                  'search' => {
                    'default_value' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'facet' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'sort' => {
                    'is_boolean' => 1,
                    'default_value' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'search_marc_map_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  },
                  'suggestible' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  },
                  'filter' => {
                    'size' => 100,
                    'default_value' => '',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'search_field_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SearchMarcToField'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Aqcontact' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'Aqcontact',
                '_primaries' => [
                  'id'
                ],
                'name' => 'aqcontacts',
                '_ordered_columns' => [
                  'id',
                  'name',
                  'position',
                  'phone',
                  'altphone',
                  'fax',
                  'email',
                  'notes',
                  'orderacquisition',
                  'claimacquisition',
                  'claimissues',
                  'acqprimary',
                  'serialsprimary',
                  'booksellerid'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::Aqcontact',
                '_relationships' => {
                  'booksellerid' => {
                    'source' => 'Koha::Schema::Result::Aqbookseller',
                    'cond' => {
                      'foreign.id' => 'self.booksellerid'
                    },
                    '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
                    },
                    'class' => 'Koha::Schema::Result::Aqbookseller'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqcontact'}{'_primaries'}
                },
                '_columns' => {
                  'orderacquisition' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'claimacquisition' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  },
                  'altphone' => {
                    'size' => 100,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'position' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 100
                  },
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'acqprimary' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  },
                  'serialsprimary' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'is_boolean' => 1
                  },
                  'notes' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'name' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 100
                  },
                  'email' => {
                    'size' => 100,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'phone' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 100
                  },
                  'booksellerid' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'claimissues' => {
                    'is_boolean' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'fax' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 100
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Borrower' => bless( {
                '_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',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Borrower',
                'resultset_attributes' => {},
                '_relationships' => {
                  'course_instructors' => {
                    'class' => 'Koha::Schema::Result::CourseInstructor',
                    '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::CourseInstructor'
                  },
                  'item_editor_templates' => {
                    'class' => 'Koha::Schema::Result::ItemEditorTemplate',
                    '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::ItemEditorTemplate'
                  },
                  'borrower_message_preferences' => {
                    'class' => 'Koha::Schema::Result::BorrowerMessagePreference',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::BorrowerMessagePreference',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'patron_lists' => {
                    'source' => 'Koha::Schema::Result::PatronList',
                    'cond' => {
                      'foreign.owner' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::PatronList'
                  },
                  'categorycode' => {
                    'class' => 'Koha::Schema::Result::Category',
                    'cond' => {
                      'foreign.categorycode' => 'self.categorycode'
                    },
                    'source' => 'Koha::Schema::Result::Category',
                    'attrs' => {
                      'on_delete' => 'RESTRICT',
                      'accessor' => 'filter',
                      'is_depends_on' => 1,
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'undef_on_null_fk' => 1
                    }
                  },
                  'linktrackers' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Linktracker',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Linktracker'
                  },
                  'article_requests' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::ArticleRequest',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::ArticleRequest'
                  },
                  'housebound_visit_chooser_brwnumbers' => {
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::HouseboundVisit',
                    'cond' => {
                      'foreign.chooser_brwnumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::HouseboundVisit'
                  },
                  'housebound_role' => {
                    'attrs' => {
                      'cascade_update' => 1,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'single',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::HouseboundRole',
                    'cond' => {
                      'foreign.borrowernumber_id' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::HouseboundRole'
                  },
                  'tags_all' => {
                    'source' => 'Koha::Schema::Result::TagAll',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::TagAll'
                  },
                  'creator_batches' => {
                    'class' => 'Koha::Schema::Result::CreatorBatch',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::CreatorBatch',
                    'cond' => {
                      'foreign.borrower_number' => 'self.borrowernumber'
                    }
                  },
                  'erm_counter_logs' => {
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::ErmCounterLog',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::ErmCounterLog'
                  },
                  'suggestions_lastmodificationbies' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::Suggestion',
                    'cond' => {
                      'foreign.lastmodificationby' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::Suggestion'
                  },
                  'items_last_borrowers' => {
                    'class' => 'Koha::Schema::Result::ItemsLastBorrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::ItemsLastBorrower',
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'old_issues_issuers' => {
                    'class' => 'Koha::Schema::Result::OldIssue',
                    'source' => 'Koha::Schema::Result::OldIssue',
                    'cond' => {
                      'foreign.issuer_id' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'tags_approvals' => {
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.approved_by' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::TagsApproval',
                    'class' => 'Koha::Schema::Result::TagsApproval'
                  },
                  'recalls' => {
                    'source' => 'Koha::Schema::Result::Recall',
                    'cond' => {
                      'foreign.patron_id' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::Recall'
                  },
                  'erm_user_roles' => {
                    'class' => 'Koha::Schema::Result::ErmUserRole',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::ErmUserRole',
                    'cond' => {
                      'foreign.user_id' => 'self.borrowernumber'
                    }
                  },
                  'branchcode' => {
                    'class' => 'Koha::Schema::Result::Branch',
                    'attrs' => {
                      'is_depends_on' => 1,
                      'on_delete' => 'RESTRICT',
                      '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'
                  },
                  'patron_list_patrons' => {
                    'class' => 'Koha::Schema::Result::PatronListPatron',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::PatronListPatron',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'virtualshelfcontents' => {
                    'class' => 'Koha::Schema::Result::Virtualshelfcontent',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Virtualshelfcontent',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    }
                  },
                  'return_claims_updated_by' => {
                    'class' => 'Koha::Schema::Result::ReturnClaim',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::ReturnClaim',
                    'cond' => {
                      'foreign.updated_by' => 'self.borrowernumber'
                    }
                  },
                  'curbside_pickups_staged_by' => {
                    'class' => 'Koha::Schema::Result::CurbsidePickup',
                    'cond' => {
                      'foreign.staged_by' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::CurbsidePickup',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'old_reserves' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::OldReserve',
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::OldReserve'
                  },
                  'virtualshelfshares' => {
                    'class' => 'Koha::Schema::Result::Virtualshelfshare',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Virtualshelfshare',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    }
                  },
                  'ratings' => {
                    'source' => 'Koha::Schema::Result::Rating',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::Rating'
                  },
                  'api_keys' => {
                    'source' => 'Koha::Schema::Result::ApiKey',
                    'cond' => {
                      'foreign.patron_id' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::ApiKey'
                  },
                  'borrower_files' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::BorrowerFile',
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::BorrowerFile'
                  },
                  'borrower_relationships_guarantors' => {
                    'source' => 'Koha::Schema::Result::BorrowerRelationship',
                    'cond' => {
                      'foreign.guarantor_id' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::BorrowerRelationship'
                  },
                  'tickets_assignees' => {
                    'class' => 'Koha::Schema::Result::Ticket',
                    'cond' => {
                      'foreign.assignee_id' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Ticket',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'issues_issuers' => {
                    'cond' => {
                      'foreign.issuer_id' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Issue',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::Issue'
                  },
                  'tickets_resolvers' => {
                    'cond' => {
                      'foreign.resolver_id' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Ticket',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::Ticket'
                  },
                  'library' => {
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.branchcode'
                    },
                    'attrs' => {
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'RESTRICT',
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'branchcode' => 1
                      }
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'aqorder_users' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::AqorderUser',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::AqorderUser'
                  },
                  'housebound_profile' => {
                    'class' => 'Koha::Schema::Result::HouseboundProfile',
                    'source' => 'Koha::Schema::Result::HouseboundProfile',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'accessor' => 'single',
                      'cascade_delete' => 0,
                      'cascade_update' => 1,
                      'cascade_copy' => 0
                    }
                  },
                  'cash_register_actions' => {
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.manager_id' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::CashRegisterAction',
                    'class' => 'Koha::Schema::Result::CashRegisterAction'
                  },
                  'suggestions_rejectedbies' => {
                    'class' => 'Koha::Schema::Result::Suggestion',
                    'cond' => {
                      'foreign.rejectedby' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Suggestion',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'alerts' => {
                    'class' => 'Koha::Schema::Result::Alert',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Alert'
                  },
                  'aqorders' => {
                    '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',
                    'class' => 'Koha::Schema::Result::Aqorder'
                  },
                  'aqbudgetborrowers' => {
                    'class' => 'Koha::Schema::Result::Aqbudgetborrower',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::Aqbudgetborrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    }
                  },
                  'messages' => {
                    'class' => 'Koha::Schema::Result::Message',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.manager_id' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Message'
                  },
                  'old_issues' => {
                    'source' => 'Koha::Schema::Result::OldIssue',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::OldIssue'
                  },
                  'issues' => {
                    'class' => 'Koha::Schema::Result::Issue',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Issue',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'problem_reports' => {
                    'class' => 'Koha::Schema::Result::ProblemReport',
                    '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
                    }
                  },
                  'patronimage' => {
                    'class' => 'Koha::Schema::Result::Patronimage',
                    'source' => 'Koha::Schema::Result::Patronimage',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'single',
                      'cascade_update' => 1,
                      'cascade_copy' => 0
                    }
                  },
                  'illbatches' => {
                    'source' => 'Koha::Schema::Result::Illbatch',
                    'cond' => {
                      'foreign.patron_id' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    '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_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'illrequests' => {
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Illrequest',
                    'class' => 'Koha::Schema::Result::Illrequest'
                  },
                  'reserves' => {
                    'source' => 'Koha::Schema::Result::Reserve',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::Reserve'
                  },
                  'tickets_reporters' => {
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.reporter_id' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Ticket',
                    'class' => 'Koha::Schema::Result::Ticket'
                  },
                  'ticket_updates' => {
                    'class' => 'Koha::Schema::Result::TicketUpdate',
                    'cond' => {
                      'foreign.user_id' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::TicketUpdate',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'message_queues' => {
                    'class' => 'Koha::Schema::Result::MessageQueue',
                    'source' => 'Koha::Schema::Result::MessageQueue',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'illcomments' => {
                    'class' => 'Koha::Schema::Result::Illcomment',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::Illcomment',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    }
                  },
                  'reviews' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Review',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Review'
                  },
                  'extended_attributes' => {
                    'class' => 'Koha::Schema::Result::BorrowerAttribute',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::BorrowerAttribute',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    }
                  },
                  'club_enrollments' => {
                    'class' => 'Koha::Schema::Result::ClubEnrollment',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::ClubEnrollment',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'suggestions_managedbies' => {
                    'class' => 'Koha::Schema::Result::Suggestion',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Suggestion',
                    'cond' => {
                      'foreign.managedby' => 'self.borrowernumber'
                    }
                  },
                  'suggestions_acceptedbies' => {
                    'class' => 'Koha::Schema::Result::Suggestion',
                    'source' => 'Koha::Schema::Result::Suggestion',
                    'cond' => {
                      'foreign.acceptedby' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'return_claims_resolved_by' => {
                    'class' => 'Koha::Schema::Result::ReturnClaim',
                    'source' => 'Koha::Schema::Result::ReturnClaim',
                    'cond' => {
                      'foreign.resolved_by' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'checkout_renewals' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.renewer_id' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::CheckoutRenewal',
                    'class' => 'Koha::Schema::Result::CheckoutRenewal'
                  },
                  'ticket_updates_assignees' => {
                    'source' => 'Koha::Schema::Result::TicketUpdate',
                    'cond' => {
                      'foreign.assignee_id' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::TicketUpdate'
                  },
                  'borrower_debarments' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::BorrowerDebarment',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::BorrowerDebarment'
                  },
                  'advanced_editor_macros' => {
                    'class' => 'Koha::Schema::Result::AdvancedEditorMacro',
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::AdvancedEditorMacro'
                  },
                  'club_holds_to_patron_holds' => {
                    'class' => 'Koha::Schema::Result::ClubHoldsToPatronHold',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.patron_id' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::ClubHoldsToPatronHold'
                  },
                  'bookings' => {
                    'class' => 'Koha::Schema::Result::Booking',
                    'cond' => {
                      'foreign.patron_id' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Booking',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'additional_contents' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::AdditionalContent',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::AdditionalContent'
                  },
                  'accountlines' => {
                    'class' => 'Koha::Schema::Result::Accountline',
                    'source' => 'Koha::Schema::Result::Accountline',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'return_claims_borrowernumbers' => {
                    'class' => 'Koha::Schema::Result::ReturnClaim',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::ReturnClaim',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    }
                  },
                  'subscriptionroutinglists' => {
                    'class' => 'Koha::Schema::Result::Subscriptionroutinglist',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::Subscriptionroutinglist',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    }
                  },
                  'patron_consents' => {
                    'class' => 'Koha::Schema::Result::PatronConsent',
                    'source' => 'Koha::Schema::Result::PatronConsent',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    }
                  },
                  'sms_provider' => {
                    'source' => 'Koha::Schema::Result::SmsProvider',
                    'cond' => {
                      'foreign.id' => 'self.sms_provider_id'
                    },
                    'attrs' => {
                      'fk_columns' => {
                        'sms_provider_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'SET NULL',
                      'accessor' => 'single',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    },
                    'class' => 'Koha::Schema::Result::SmsProvider'
                  },
                  'virtualshelves' => {
                    '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',
                    'class' => 'Koha::Schema::Result::Virtualshelve'
                  },
                  'accountlines_managers' => {
                    'source' => 'Koha::Schema::Result::Accountline',
                    'cond' => {
                      'foreign.manager_id' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Accountline'
                  },
                  'tmp_holdsqueues' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::TmpHoldsqueue',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::TmpHoldsqueue'
                  },
                  'hold_fill_targets' => {
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::HoldFillTarget',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::HoldFillTarget'
                  },
                  'restrictions' => {
                    'class' => 'Koha::Schema::Result::BorrowerDebarment',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::BorrowerDebarment'
                  },
                  '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.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::UserPermission'
                  },
                  'return_claims_created_by' => {
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.created_by' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::ReturnClaim',
                    'class' => 'Koha::Schema::Result::ReturnClaim'
                  },
                  'discharges' => {
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.borrower' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Discharge',
                    'class' => 'Koha::Schema::Result::Discharge'
                  },
                  'messages_borrowernumbers' => {
                    'class' => 'Koha::Schema::Result::Message',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::Message',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    }
                  },
                  'suggestions_suggestedbies' => {
                    'class' => 'Koha::Schema::Result::Suggestion',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Suggestion',
                    'cond' => {
                      'foreign.suggestedby' => 'self.borrowernumber'
                    }
                  },
                  'borrower_attributes' => {
                    'class' => 'Koha::Schema::Result::BorrowerAttribute',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::BorrowerAttribute'
                  },
                  'borrower_relationships_guarantees' => {
                    'source' => 'Koha::Schema::Result::BorrowerRelationship',
                    'cond' => {
                      'foreign.guarantee_id' => 'self.borrowernumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::BorrowerRelationship'
                  },
                  'curbside_pickups_borrowernumbers' => {
                    'source' => 'Koha::Schema::Result::CurbsidePickup',
                    '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::CurbsidePickup'
                  },
                  'aqbasketusers' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Aqbasketuser',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Aqbasketuser'
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'Borrower',
                '_primaries' => [
                  'borrowernumber'
                ],
                '_unique_constraints' => {
                  'cardnumber' => [
                    'cardnumber'
                  ],
                  'userid' => [
                    'userid'
                  ],
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Borrower'}{'_primaries'}
                },
                '_columns' => {
                  'streettype' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinytext'
                  },
                  'password' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 60
                  },
                  'auth_method' => {
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'extra' => {
                      'list' => [
                        'password',
                        'two-factor'
                      ]
                    },
                    'default_value' => 'password'
                  },
                  'address' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'phonepro' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'zipcode' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinytext'
                  },
                  '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,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'contactfirstname' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'B_zipcode' => {
                    'accessor' => 'b_zipcode',
                    'is_nullable' => 1,
                    'data_type' => 'tinytext'
                  },
                  'dateofbirth' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'B_phone' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1,
                    'accessor' => 'b_phone'
                  },
                  'email' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'B_address2' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext',
                    'accessor' => 'b_address2'
                  },
                  'mobile' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinytext'
                  },
                  'overdrive_auth_token' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'opacnote' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'B_address' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1,
                    'accessor' => 'b_address'
                  },
                  'city' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'altcontactstate' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'altcontactaddress2' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  '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' => {
                    'data_type' => 'bigint',
                    'is_nullable' => 1
                  },
                  'privacy' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'default_value' => 1
                  },
                  'B_city' => {
                    'accessor' => 'b_city',
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'relationship' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 100
                  },
                  'login_attempts' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'middle_name' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'altcontactcountry' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'debarredcomment' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'dateenrolled' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'autorenew_checkouts' => {
                    'is_boolean' => 1,
                    'default_value' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'title' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'gonenoaddress' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  },
                  'sort2' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'altcontactaddress1' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'sms_provider_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'password_expiration_date' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'B_country' => {
                    'accessor' => 'b_country',
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'altcontactfirstname' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'altcontactzipcode' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'preferred_name' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'protected' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'address2' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'state' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'country' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'altcontactaddress3' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'sort1' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'privacy_guarantor_fines' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'contacttitle' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'pronouns' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'B_email' => {
                    'accessor' => 'b_email',
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'primary_contact_method' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 45
                  },
                  'streetnumber' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinytext'
                  },
                  'firstname' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'categorycode' => {
                    'size' => 10,
                    'default_value' => '',
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'debarred' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'secret' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'B_state' => {
                    'accessor' => 'b_state',
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'B_streettype' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinytext',
                    'accessor' => 'b_streettype'
                  },
                  'lang' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'default_value' => 'default',
                    'size' => 25
                  },
                  'cardnumber' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 32
                  },
                  'anonymized' => {
                    'is_boolean' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'altcontactsurname' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'privacy_guarantor_checkouts' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'updated_on' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'smsalertnumber' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 50
                  },
                  'borrowernumber' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'contactname' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'emailpro' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'lost' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  },
                  'initials' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'altcontactphone' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'dateexpiry' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'lastseen' => {
                    'data_type' => 'datetime',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'fax' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'checkprevcheckout' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'default_value' => 'inherit',
                    'size' => 7
                  },
                  'sex' => {
                    'size' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'branchcode' => {
                    'is_foreign_key' => 1,
                    'default_value' => '',
                    'size' => 10,
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'phone' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'PreservationProcessingAttributesItem' => bless( {
                '_primaries' => [
                  'processing_attribute_item_id'
                ],
                'source_name' => 'PreservationProcessingAttributesItem',
                '_columns_info_loaded' => 0,
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'train_item' => {
                    'class' => 'Koha::Schema::Result::PreservationTrainsItem',
                    'cond' => {
                      'foreign.train_item_id' => 'self.train_item_id'
                    },
                    'source' => 'Koha::Schema::Result::PreservationTrainsItem',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'train_item_id' => 1
                      },
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    }
                  },
                  'processing_attribute' => {
                    'class' => 'Koha::Schema::Result::PreservationProcessingAttribute',
                    'source' => 'Koha::Schema::Result::PreservationProcessingAttribute',
                    'cond' => {
                      'foreign.processing_attribute_id' => 'self.processing_attribute_id'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'processing_attribute_id' => 1
                      },
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::PreservationProcessingAttributesItem',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'processing_attribute_item_id',
                  'processing_attribute_id',
                  'train_item_id',
                  'value'
                ],
                'name' => 'preservation_processing_attributes_items',
                '_columns' => {
                  'train_item_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'processing_attribute_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'processing_attribute_item_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'value' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PreservationProcessingAttributesItem'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Z3950server' => bless( {
                '_columns' => {
                  'db' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'servertype' => {
                    'extra' => {
                      'list' => [
                        'zed',
                        'sru'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'default_value' => 'zed'
                  },
                  'add_xslt' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'rank' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'servername' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 0
                  },
                  'host' => {
                    'size' => 255,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'sru_fields' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'encoding' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 0
                  },
                  'checked' => {
                    'data_type' => 'smallint',
                    'is_nullable' => 1
                  },
                  'syntax' => {
                    'size' => 80,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'attributes' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'timeout' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'default_value' => 0
                  },
                  'password' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'recordtype' => {
                    'extra' => {
                      'list' => [
                        'authority',
                        'biblio'
                      ]
                    },
                    'is_nullable' => 0,
                    'data_type' => 'enum',
                    'default_value' => 'biblio'
                  },
                  'userid' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'sru_options' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'port' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                'resultset_attributes' => {},
                '_relationships' => {},
                'result_class' => 'Koha::Schema::Result::Z3950server',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'id',
                  'host',
                  'port',
                  'db',
                  'userid',
                  'password',
                  'servername',
                  'checked',
                  'rank',
                  'syntax',
                  'timeout',
                  'servertype',
                  'encoding',
                  'recordtype',
                  'sru_options',
                  'sru_fields',
                  'add_xslt',
                  'attributes'
                ],
                'name' => 'z3950servers',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Z3950server'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Z3950server',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'AqorderUser' => bless( {
                'name' => 'aqorder_users',
                '_ordered_columns' => [
                  'ordernumber',
                  'borrowernumber'
                ],
                'result_class' => 'Koha::Schema::Result::AqorderUser',
                'resultset_attributes' => {},
                '_relationships' => {
                  'borrowernumber' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    '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
                    },
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower'
                  },
                  'ordernumber' => {
                    'source' => 'Koha::Schema::Result::Aqorder',
                    'cond' => {
                      'foreign.ordernumber' => 'self.ordernumber'
                    },
                    '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::Aqorder'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_primaries' => [
                  'ordernumber',
                  'borrowernumber'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'AqorderUser'}{'_primaries'}
                },
                '_columns' => {
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'ordernumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'AqorderUser'
              }, 'DBIx::Class::ResultSource::Table' ),
              'Subscription' => bless( {
                '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'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'result_class' => 'Koha::Schema::Result::Subscription',
                '_relationships' => {
                  'serials' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.subscriptionid' => 'self.subscriptionid'
                    },
                    'source' => 'Koha::Schema::Result::Serial',
                    'class' => 'Koha::Schema::Result::Serial'
                  },
                  'subscriptionroutinglists' => {
                    'cond' => {
                      'foreign.subscriptionid' => 'self.subscriptionid'
                    },
                    'source' => 'Koha::Schema::Result::Subscriptionroutinglist',
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::Subscriptionroutinglist'
                  },
                  'periodicity' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'accessor' => 'filter'
                    },
                    'cond' => {
                      'foreign.id' => 'self.periodicity'
                    },
                    'source' => 'Koha::Schema::Result::SubscriptionFrequency',
                    'class' => 'Koha::Schema::Result::SubscriptionFrequency'
                  },
                  'aqorders' => {
                    'class' => 'Koha::Schema::Result::Aqorder',
                    'cond' => {
                      'foreign.subscriptionid' => 'self.subscriptionid'
                    },
                    'source' => 'Koha::Schema::Result::Aqorder',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'biblionumber' => {
                    'class' => 'Koha::Schema::Result::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'source' => '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'
                    }
                  },
                  'aqbooksellerid' => {
                    'source' => 'Koha::Schema::Result::Aqbookseller',
                    'cond' => {
                      'foreign.id' => 'self.aqbooksellerid'
                    },
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'accessor' => 'filter'
                    },
                    'class' => 'Koha::Schema::Result::Aqbookseller'
                  },
                  'additional_field_values' => {
                    'cond' => sub { "DUMMY" },
                    'source' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::AdditionalFieldValue'
                  },
                  'subscriptionhistory' => {
                    'class' => 'Koha::Schema::Result::Subscriptionhistory',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_update' => 1,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'single'
                    },
                    'source' => 'Koha::Schema::Result::Subscriptionhistory',
                    'cond' => {
                      'foreign.subscriptionid' => 'self.subscriptionid'
                    }
                  },
                  'numberpattern' => {
                    'class' => 'Koha::Schema::Result::SubscriptionNumberpattern',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'filter',
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1
                    },
                    'source' => 'Koha::Schema::Result::SubscriptionNumberpattern',
                    'cond' => {
                      'foreign.id' => 'self.numberpattern'
                    }
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_columns_info_loaded' => 0,
                'source_name' => 'Subscription',
                '_primaries' => [
                  'subscriptionid'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Subscription'}{'_primaries'}
                },
                '_columns' => {
                  'librarian' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 100
                  },
                  'innerloop2' => {
                    'default_value' => 0,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'lastvalue1' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'letter' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 20
                  },
                  'reneweddate' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'location' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'default_value' => '',
                    'size' => 80
                  },
                  'numberlength' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'default_value' => 0
                  },
                  'periodicity' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'lastvalue3' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'serialsadditems' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'enddate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'innerloop3' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'default_value' => 0
                  },
                  'firstacquidate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'closed' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'previousitemtype' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 10
                  },
                  'startdate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'countissuesperunit' => {
                    'default_value' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'subscriptionid' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'cost' => {
                    'default_value' => 0,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'innerloop1' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'default_value' => 0
                  },
                  'published_on_template' => {
                    'data_type' => 'text',
                    'is_nullable' => 1
                  },
                  'lastvalue2' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'distributedto' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'monthlength' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'manualhistory' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'biblionumber' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'locale' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'callnumber' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'internalnotes' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'opacdisplaycount' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'status' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 100
                  },
                  'ccode' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'notes' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'itemtype' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'graceperiod' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'aqbooksellerid' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'staffdisplaycount' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'mana_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'aqbudgetid' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'skip_serialseq' => {
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  },
                  'irregularity' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'numberpattern' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'lastbranch' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'weeklength' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'default_value' => 0
                  },
                  'branchcode' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'default_value' => '',
                    'size' => 10
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Category' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'categorycode'
                  ]
                },
                '_columns' => {
                  'category_type' => {
                    'default_value' => 'A',
                    'size' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'dateofbirthrequired' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'min_password_length' => {
                    'is_nullable' => 1,
                    'data_type' => 'smallint'
                  },
                  'BlockExpiredPatronOpacActions' => {
                    'size' => 128,
                    'default_value' => 'follow_syspref_BlockExpiredPatronOpacActions',
                    'accessor' => 'block_expired_patron_opac_actions',
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'upperagelimit' => {
                    'is_nullable' => 1,
                    'data_type' => 'smallint'
                  },
                  'enrolmentperiod' => {
                    'data_type' => 'smallint',
                    'is_nullable' => 1
                  },
                  'can_place_ill_in_opac' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 1
                  },
                  'noissuescharge' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'checkprevcheckout' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 7,
                    'default_value' => 'inherit'
                  },
                  'reservefee' => {
                    'size' => [
                      28,
                      6
                    ],
                    'is_nullable' => 1,
                    'data_type' => 'decimal'
                  },
                  'password_expiry_days' => {
                    'data_type' => 'smallint',
                    'is_nullable' => 1
                  },
                  'description' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'change_password' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  },
                  'enrolmentperioddate' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'reset_password' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'noissueschargeguarantorswithguarantees' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'default_privacy' => {
                    'extra' => {
                      'list' => [
                        'default',
                        'never',
                        'forever'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'default_value' => 'default'
                  },
                  'enrolmentfee' => {
                    'size' => [
                      28,
                      6
                    ],
                    'is_nullable' => 1,
                    'data_type' => 'decimal'
                  },
                  'exclude_from_local_holds_priority' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1,
                    'is_boolean' => 1
                  },
                  'noissueschargeguarantees' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'overduenoticerequired' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint'
                  },
                  'can_be_guarantee' => {
                    'is_boolean' => 1,
                    'default_value' => 0,
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'force_password_reset_when_set_by_staff' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 1
                  },
                  'categorycode' => {
                    'default_value' => '',
                    'size' => 10,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'require_strong_password' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  },
                  'hidelostitems' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  }
                },
                'source_name' => 'Category',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Category'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                '_relationships' => {
                  'borrower_attribute_types' => {
                    'source' => 'Koha::Schema::Result::BorrowerAttributeType',
                    'cond' => {
                      'foreign.category_code' => 'self.categorycode'
                    },
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    '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_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'circulation_rules' => {
                    'source' => 'Koha::Schema::Result::CirculationRule',
                    'cond' => {
                      'foreign.categorycode' => 'self.categorycode'
                    },
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::CirculationRule'
                  },
                  'categories_branches' => {
                    'class' => 'Koha::Schema::Result::CategoriesBranch',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'cond' => {
                      'foreign.categorycode' => 'self.categorycode'
                    },
                    'source' => 'Koha::Schema::Result::CategoriesBranch'
                  },
                  'borrower_message_preferences' => {
                    'class' => 'Koha::Schema::Result::BorrowerMessagePreference',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.categorycode' => 'self.categorycode'
                    },
                    'source' => 'Koha::Schema::Result::BorrowerMessagePreference'
                  },
                  'borrowers' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.categorycode' => 'self.categorycode'
                    },
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::Category',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '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'
                ]
              }, 'DBIx::Class::ResultSource::Table' ),
              'Letter' => bless( {
                '_unique_constraints' => {
                  'letter_uniq_1' => [
                    'module',
                    'code',
                    'branchcode',
                    'message_transport_type',
                    'lang'
                  ],
                  'primary' => [
                    'id'
                  ]
                },
                '_columns' => {
                  'message_transport_type' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'is_foreign_key' => 1,
                    'size' => 20,
                    'default_value' => 'email'
                  },
                  'updated_on' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'code' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 20
                  },
                  'is_html' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1,
                    'default_value' => 0
                  },
                  'content' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'module' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 20,
                    'default_value' => ''
                  },
                  'style' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'branchcode' => {
                    'size' => 10,
                    'default_value' => '',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'lang' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'default_value' => 'default',
                    'size' => 25
                  },
                  'title' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => '',
                    'size' => 200
                  },
                  'name' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 100,
                    'default_value' => ''
                  }
                },
                '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'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Letter',
                'resultset_attributes' => {},
                '_relationships' => {
                  'message_transport_type' => {
                    '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::MessageTransportType',
                    'cond' => {
                      'foreign.message_transport_type' => 'self.message_transport_type'
                    },
                    'class' => 'Koha::Schema::Result::MessageTransportType'
                  },
                  'message_queues' => {
                    'class' => 'Koha::Schema::Result::MessageQueue',
                    'cond' => {
                      'foreign.letter_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::MessageQueue',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'Letter',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Letter'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'LanguageDescription' => bless( {
                '_columns' => {
                  'lang' => {
                    'size' => 25,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'type' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 25
                  },
                  'subtag' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 25
                  },
                  'description' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  }
                },
                '_unique_constraints' => {
                  'uniq_desc' => [
                    'subtag',
                    'type',
                    'lang'
                  ],
                  'primary' => [
                    'id'
                  ]
                },
                'name' => 'language_descriptions',
                '_ordered_columns' => [
                  'subtag',
                  'type',
                  'lang',
                  'description',
                  'id'
                ],
                '_relationships' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::LanguageDescription',
                'resultset_attributes' => {},
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'LanguageDescription'}{'_unique_constraints'}{'primary'},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                'source_name' => 'LanguageDescription'
              }, 'DBIx::Class::ResultSource::Table' ),
              'OverduerulesTransportType' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns' => {
                  'overduerules_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'letternumber' => {
                    'default_value' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'message_transport_type' => {
                    'is_foreign_key' => 1,
                    'size' => 20,
                    'default_value' => 'email',
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  }
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'OverduerulesTransportType'}{'_unique_constraints'}{'primary'},
                '_relationships' => {
                  'overduerule' => {
                    'class' => 'Koha::Schema::Result::Overduerule',
                    'source' => 'Koha::Schema::Result::Overduerule',
                    'cond' => {
                      'foreign.overduerules_id' => 'self.overduerules_id'
                    },
                    'attrs' => {
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'overduerules_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    }
                  },
                  'message_transport_type' => {
                    'class' => 'Koha::Schema::Result::MessageTransportType',
                    'source' => 'Koha::Schema::Result::MessageTransportType',
                    'cond' => {
                      'foreign.message_transport_type' => 'self.message_transport_type'
                    },
                    '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'
                    }
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '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' ),
              'MarcOrderAccount' => bless( {
                '_columns' => {
                  'vendor_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'match_field' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'budget_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'encoding' => {
                    'size' => 50,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'download_directory' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'matcher_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'nomatch_action' => {
                    'size' => 50,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'parse_items' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 1,
                    'is_boolean' => 1
                  },
                  'overlay_action' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 50
                  },
                  'item_action' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 50
                  },
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'match_value' => {
                    'size' => 50,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'description' => {
                    'size' => 250,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'record_type' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 50
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                'name' => 'marc_order_accounts',
                '_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'
                ],
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::MarcOrderAccount',
                '_relationships' => {
                  'vendor' => {
                    'source' => 'Koha::Schema::Result::Aqbookseller',
                    'cond' => {
                      'foreign.id' => 'self.vendor_id'
                    },
                    'attrs' => {
                      'fk_columns' => {
                        'vendor_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::Aqbookseller'
                  },
                  'budget' => {
                    'attrs' => {
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      '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',
                    'class' => 'Koha::Schema::Result::Aqbudget'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcOrderAccount'}{'_unique_constraints'}{'primary'},
                'source_name' => 'MarcOrderAccount'
              }, 'DBIx::Class::ResultSource::Table' ),
              'CreatorImage' => bless( {
                '_columns' => {
                  'image_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'imagefile' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumblob'
                  },
                  'image_name' => {
                    'size' => 20,
                    'default_value' => 'DEFAULT',
                    'is_nullable' => 0,
                    'data_type' => 'char'
                  }
                },
                '_unique_constraints' => {
                  'image_name_index' => [
                    'image_name'
                  ],
                  'primary' => [
                    'image_id'
                  ]
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CreatorImage'}{'_unique_constraints'}{'primary'},
                'source_name' => 'CreatorImage',
                '_columns_info_loaded' => 0,
                'result_class' => 'Koha::Schema::Result::CreatorImage',
                'resultset_attributes' => {},
                '_relationships' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'creator_images',
                '_ordered_columns' => [
                  'image_id',
                  'imagefile',
                  'image_name'
                ]
              }, 'DBIx::Class::ResultSource::Table' ),
              'CurbsidePickupOpeningSlot' => bless( {
                'name' => 'curbside_pickup_opening_slots',
                '_ordered_columns' => [
                  'id',
                  'curbside_pickup_policy_id',
                  'day',
                  'start_hour',
                  'start_minute',
                  'end_hour',
                  'end_minute'
                ],
                'resultset_attributes' => {},
                '_relationships' => {
                  'curbside_pickup_policy' => {
                    'class' => 'Koha::Schema::Result::CurbsidePickupPolicy',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'curbside_pickup_policy_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::CurbsidePickupPolicy',
                    'cond' => {
                      'foreign.id' => 'self.curbside_pickup_policy_id'
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::CurbsidePickupOpeningSlot',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'CurbsidePickupOpeningSlot',
                '_columns' => {
                  'start_minute' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'start_hour' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'curbside_pickup_policy_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'end_hour' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'end_minute' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'day' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint'
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CurbsidePickupOpeningSlot'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Virtualshelfshare' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns' => {
                  'sharedate' => {
                    'data_type' => 'datetime',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'invitekey' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'shelfnumber' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                'name' => 'virtualshelfshares',
                '_ordered_columns' => [
                  'id',
                  'shelfnumber',
                  'borrowernumber',
                  'invitekey',
                  'sharedate'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::Virtualshelfshare',
                '_relationships' => {
                  'shelfnumber' => {
                    '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.shelfnumber' => 'self.shelfnumber'
                    },
                    'source' => 'Koha::Schema::Result::Virtualshelve',
                    'class' => 'Koha::Schema::Result::Virtualshelve'
                  },
                  'borrowernumber' => {
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'SET NULL',
                      '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_attributes' => {},
                '_columns_info_loaded' => 0,
                'source_name' => 'Virtualshelfshare',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Virtualshelfshare'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'CourseReserve' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'cr_id'
                  ],
                  'pseudo_key' => [
                    'course_id',
                    'ci_id'
                  ]
                },
                '_columns' => {
                  'timestamp' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'cr_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'public_note' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'ci_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'course_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'staff_note' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  }
                },
                '_ordered_columns' => [
                  'cr_id',
                  'course_id',
                  'ci_id',
                  'staff_note',
                  'public_note',
                  'timestamp'
                ],
                'name' => 'course_reserves',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::CourseReserve',
                'resultset_attributes' => {},
                '_relationships' => {
                  'course' => {
                    'class' => 'Koha::Schema::Result::Course',
                    'cond' => {
                      'foreign.course_id' => 'self.course_id'
                    },
                    'source' => 'Koha::Schema::Result::Course',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'RESTRICT',
                      'undef_on_null_fk' => 1,
                      'accessor' => 'single',
                      'on_delete' => 'RESTRICT',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'course_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    }
                  },
                  'ci' => {
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'fk_columns' => {
                        'ci_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.ci_id' => 'self.ci_id'
                    },
                    'source' => 'Koha::Schema::Result::CourseItem',
                    'class' => 'Koha::Schema::Result::CourseItem'
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'CourseReserve',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'CourseReserve'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'PreservationTrain' => bless( {
                '_columns' => {
                  'closed_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'name' => {
                    'size' => 80,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'description' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'train_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'received_on' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'sent_on' => {
                    'is_nullable' => 1,
                    'data_type' => 'datetime',
                    'datetime_undef_if_invalid' => 1
                  },
                  'created_on' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp'
                  },
                  'not_for_loan' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => 0,
                    'size' => 80
                  },
                  'default_processing_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'train_id'
                  ]
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::PreservationTrain',
                '_relationships' => {
                  'default_processing' => {
                    'class' => 'Koha::Schema::Result::PreservationProcessing',
                    'attrs' => {
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'default_processing_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.processing_id' => 'self.default_processing_id'
                    },
                    'source' => 'Koha::Schema::Result::PreservationProcessing'
                  },
                  'preservation_trains_items' => {
                    'class' => 'Koha::Schema::Result::PreservationTrainsItem',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.train_id' => 'self.train_id'
                    },
                    'source' => 'Koha::Schema::Result::PreservationTrainsItem'
                  }
                },
                '_ordered_columns' => [
                  'train_id',
                  'name',
                  'description',
                  'default_processing_id',
                  'not_for_loan',
                  'created_on',
                  'closed_on',
                  'sent_on',
                  'received_on'
                ],
                'name' => 'preservation_trains',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'PreservationTrain'}{'_unique_constraints'}{'primary'},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'PreservationTrain',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'OaiSet' => bless( {
                '_ordered_columns' => [
                  'id',
                  'spec',
                  'name'
                ],
                'name' => 'oai_sets',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  '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,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    }
                  },
                  'oai_sets_mappings' => {
                    'cond' => {
                      'foreign.set_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::OaiSetsMapping',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::OaiSetsMapping'
                  },
                  'oai_sets_descriptions' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::OaiSetsDescription',
                    'cond' => {
                      'foreign.set_id' => 'self.id'
                    },
                    'class' => 'Koha::Schema::Result::OaiSetsDescription'
                  }
                },
                'result_class' => 'Koha::Schema::Result::OaiSet',
                '_columns_info_loaded' => 0,
                'source_name' => 'OaiSet',
                '_primaries' => [
                  'id'
                ],
                '_unique_constraints' => {
                  'spec' => [
                    'spec'
                  ],
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'OaiSet'}{'_primaries'}
                },
                '_columns' => {
                  'spec' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'name' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 80
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'MarcMatcher' => bless( {
                '_columns' => {
                  'matcher_id' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'code' => {
                    'default_value' => '',
                    'size' => 10,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'description' => {
                    'size' => 255,
                    'default_value' => '',
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'record_type' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'default_value' => 'biblio',
                    'size' => 10
                  },
                  'threshold' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'default_value' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'matcher_id'
                  ]
                },
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcMatcher'}{'_unique_constraints'}{'primary'},
                'source_name' => 'MarcMatcher',
                '_columns_info_loaded' => 0,
                'resultset_attributes' => {},
                '_relationships' => {
                  'matcher_matchpoints' => {
                    'class' => 'Koha::Schema::Result::MatcherMatchpoint',
                    'source' => 'Koha::Schema::Result::MatcherMatchpoint',
                    'cond' => {
                      'foreign.matcher_id' => 'self.matcher_id'
                    },
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  },
                  'matchchecks' => {
                    'class' => 'Koha::Schema::Result::Matchcheck',
                    'source' => 'Koha::Schema::Result::Matchcheck',
                    'cond' => {
                      'foreign.matcher_id' => 'self.matcher_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  },
                  'matchpoints' => {
                    'class' => 'Koha::Schema::Result::Matchpoint',
                    'cond' => {
                      'foreign.matcher_id' => 'self.matcher_id'
                    },
                    'source' => 'Koha::Schema::Result::Matchpoint',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::MarcMatcher',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'matcher_id',
                  'code',
                  'description',
                  'record_type',
                  'threshold'
                ],
                'name' => 'marc_matchers'
              }, 'DBIx::Class::ResultSource::Table' ),
              'ImportBatch' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'import_batch_id'
                  ]
                },
                '_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' => {
                    'extra' => {
                      'list' => [
                        'replace',
                        'create_new',
                        'use_template',
                        'ignore'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'default_value' => 'create_new'
                  },
                  'file_name' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 100
                  },
                  'num_records' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'num_items' => {
                    'default_value' => 0,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'import_status' => {
                    'default_value' => 'staging',
                    'extra' => {
                      'list' => [
                        'staging',
                        'staged',
                        'importing',
                        'imported',
                        'reverting',
                        'reverted',
                        'cleaned'
                      ]
                    },
                    'data_type' => 'enum',
                    'is_nullable' => 0
                  },
                  'profile_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'comments' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'record_type' => {
                    'default_value' => 'biblio',
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'extra' => {
                      'list' => [
                        'biblio',
                        'auth',
                        'holdings'
                      ]
                    }
                  },
                  'import_batch_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'upload_timestamp' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'template_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'nomatch_action' => {
                    'default_value' => 'create_new',
                    'is_nullable' => 0,
                    'data_type' => 'enum',
                    'extra' => {
                      'list' => [
                        'create_new',
                        'ignore'
                      ]
                    }
                  },
                  'branchcode' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'matcher_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'batch_type' => {
                    'default_value' => 'batch',
                    'is_nullable' => 0,
                    'data_type' => 'enum',
                    'extra' => {
                      'list' => [
                        'batch',
                        'z3950',
                        'webservice'
                      ]
                    }
                  }
                },
                '_relationships' => {
                  'import_records' => {
                    'class' => 'Koha::Schema::Result::ImportRecord',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.import_batch_id' => 'self.import_batch_id'
                    },
                    'source' => 'Koha::Schema::Result::ImportRecord'
                  },
                  'profile' => {
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'profile_id' => 1
                      },
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'SET NULL',
                      'is_deferrable' => 1
                    },
                    'cond' => {
                      'foreign.id' => 'self.profile_id'
                    },
                    'source' => 'Koha::Schema::Result::ImportBatchProfile',
                    'class' => 'Koha::Schema::Result::ImportBatchProfile'
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::ImportBatch',
                'name' => 'import_batches',
                '_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'
                ],
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportBatch'}{'_unique_constraints'}{'primary'},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'source_name' => 'ImportBatch',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'BorrowerMessagePreference' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'BorrowerMessagePreference',
                '_primaries' => [
                  'borrower_message_preference_id'
                ],
                '_ordered_columns' => [
                  'borrower_message_preference_id',
                  'borrowernumber',
                  'categorycode',
                  'message_attribute_id',
                  'days_in_advance',
                  'wants_digest'
                ],
                'name' => 'borrower_message_preferences',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'categorycode' => {
                    '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.categorycode' => 'self.categorycode'
                    },
                    'source' => 'Koha::Schema::Result::Category',
                    'class' => 'Koha::Schema::Result::Category'
                  },
                  'borrowernumber' => {
                    'attrs' => {
                      'on_update' => 'CASCADE',
                      '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
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.borrowernumber'
                    },
                    'class' => 'Koha::Schema::Result::Borrower'
                  },
                  'message_attribute' => {
                    'class' => 'Koha::Schema::Result::MessageAttribute',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'message_attribute_id' => 1
                      },
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'cond' => {
                      'foreign.message_attribute_id' => 'self.message_attribute_id'
                    },
                    'source' => 'Koha::Schema::Result::MessageAttribute'
                  },
                  'borrower_message_transport_preferences' => {
                    'class' => 'Koha::Schema::Result::BorrowerMessageTransportPreference',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::BorrowerMessageTransportPreference',
                    'cond' => {
                      'foreign.borrower_message_preference_id' => 'self.borrower_message_preference_id'
                    }
                  }
                },
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::BorrowerMessagePreference',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BorrowerMessagePreference'}{'_primaries'}
                },
                '_columns' => {
                  'categorycode' => {
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    }
                  },
                  'days_in_advance' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'wants_digest' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'borrowernumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'message_attribute_id' => {
                    'is_foreign_key' => 1,
                    'default_value' => 0,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'borrower_message_preference_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ItemGroup' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'item_group_id'
                  ]
                },
                '_columns' => {
                  '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'
                  },
                  'description' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'display_order' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'default_value' => 0
                  },
                  'created_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'timestamp'
                  },
                  'updated_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  }
                },
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {
                  'old_reserves' => {
                    'cond' => {
                      'foreign.item_group_id' => 'self.item_group_id'
                    },
                    'source' => 'Koha::Schema::Result::OldReserve',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::OldReserve'
                  },
                  'item_group_items' => {
                    'class' => 'Koha::Schema::Result::ItemGroupItem',
                    'source' => 'Koha::Schema::Result::ItemGroupItem',
                    'cond' => {
                      'foreign.item_group_id' => 'self.item_group_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    }
                  },
                  'biblio' => {
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblio_id'
                    },
                    'source' => 'Koha::Schema::Result::Biblio',
                    'attrs' => {
                      'accessor' => 'single',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'biblio_id' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  },
                  'reserves' => {
                    'cond' => {
                      'foreign.item_group_id' => 'self.item_group_id'
                    },
                    'source' => 'Koha::Schema::Result::Reserve',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::Reserve'
                  }
                },
                'result_class' => 'Koha::Schema::Result::ItemGroup',
                'name' => 'item_groups',
                '_ordered_columns' => [
                  'item_group_id',
                  'biblio_id',
                  'display_order',
                  'description',
                  'created_on',
                  'updated_on'
                ],
                'source_name' => 'ItemGroup',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemGroup'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'ErmUsageTitle' => bless( {
                '_primaries' => [
                  'title_id'
                ],
                '_ordered_columns' => [
                  'title_id',
                  'title',
                  'usage_data_provider_id',
                  'title_doi',
                  'proprietary_id',
                  'platform',
                  'print_issn',
                  'online_issn',
                  'title_uri',
                  'publisher',
                  'publisher_id',
                  'isbn'
                ],
                'name' => 'erm_usage_titles',
                'result_class' => 'Koha::Schema::Result::ErmUsageTitle',
                '_relationships' => {
                  'erm_usage_muses' => {
                    'class' => 'Koha::Schema::Result::ErmUsageMus',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.title_id' => 'self.title_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageMus'
                  },
                  'erm_usage_yuses' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageYus',
                    'cond' => {
                      'foreign.title_id' => 'self.title_id'
                    },
                    'class' => 'Koha::Schema::Result::ErmUsageYus'
                  },
                  'usage_data_provider' => {
                    'class' => 'Koha::Schema::Result::ErmUsageDataProvider',
                    'attrs' => {
                      'fk_columns' => {
                        'usage_data_provider_id' => 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.erm_usage_data_provider_id' => 'self.usage_data_provider_id'
                    },
                    'source' => 'Koha::Schema::Result::ErmUsageDataProvider'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_columns' => {
                  'title_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'platform' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'publisher_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  },
                  'title_doi' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'isbn' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'online_issn' => {
                    'size' => 255,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'title_uri' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'proprietary_id' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'usage_data_provider_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'title' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'print_issn' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 255
                  },
                  'publisher' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 255
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ErmUsageTitle'}{'_primaries'}
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'ErmUsageTitle',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'Aqorder' => bless( {
                '_columns' => {
                  'timestamp' => {
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'timestamp'
                  },
                  'tax_value_on_ordering' => {
                    'is_nullable' => 1,
                    'data_type' => 'decimal',
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'parent_ordernumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'ecost_tax_excluded' => {
                    'is_nullable' => 1,
                    'data_type' => 'decimal',
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'subscriptionid' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'orderstatus' => {
                    'default_value' => 'new',
                    'size' => 16,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'invoiceid' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'unitprice' => {
                    'size' => [
                      28,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'replacementprice' => {
                    'size' => [
                      28,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'budgetdate' => {
                    'data_type' => 'date',
                    'is_nullable' => 1,
                    'datetime_undef_if_invalid' => 1
                  },
                  'created_by' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    }
                  },
                  'datecancellationprinted' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'line_item_id' => {
                    'size' => 35,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'freight' => {
                    'size' => [
                      28,
                      6
                    ],
                    'is_nullable' => 1,
                    'data_type' => 'decimal'
                  },
                  'sort2' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'tax_rate_on_receiving' => {
                    'size' => [
                      6,
                      4
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'cancellationreason' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'datereceived' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'discount' => {
                    'is_nullable' => 1,
                    'data_type' => 'float',
                    'size' => [
                      6,
                      4
                    ]
                  },
                  'entrydate' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'date',
                    'is_nullable' => 1
                  },
                  'ecost' => {
                    'size' => [
                      13,
                      2
                    ],
                    'is_nullable' => 1,
                    'data_type' => 'decimal'
                  },
                  'sort2_authcat' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 10
                  },
                  'tax_value_on_receiving' => {
                    'is_nullable' => 1,
                    'data_type' => 'decimal',
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'unitprice_tax_included' => {
                    'is_nullable' => 1,
                    'data_type' => 'decimal',
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'currency' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'quantityreceived' => {
                    'is_nullable' => 0,
                    'data_type' => 'smallint',
                    'default_value' => 0
                  },
                  'tax_value_bak' => {
                    'size' => [
                      28,
                      6
                    ],
                    'is_nullable' => 1,
                    'data_type' => 'decimal'
                  },
                  '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' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'sort1_authcat' => {
                    'size' => 10,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'ecost_tax_included' => {
                    'size' => [
                      28,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'suppliers_reference_number' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 35
                  },
                  'estimated_delivery_date' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'basketno' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'rrp_tax_excluded' => {
                    'size' => [
                      28,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'deleted_biblionumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'suppliers_report' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'sort1' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'biblionumber' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  },
                  'ordernumber' => {
                    'is_auto_increment' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'uncertainprice' => {
                    'is_nullable' => 1,
                    'data_type' => 'tinyint',
                    'is_boolean' => 1
                  },
                  'invoice_unitprice' => {
                    'data_type' => 'decimal',
                    'is_nullable' => 1,
                    'size' => [
                      28,
                      6
                    ]
                  },
                  'order_vendornote' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'rrp_tax_included' => {
                    'size' => [
                      28,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'suppliers_reference_qualifier' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 3
                  },
                  'unitprice_tax_excluded' => {
                    'size' => [
                      28,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'order_internalnote' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'rrp' => {
                    'is_nullable' => 1,
                    'data_type' => 'decimal',
                    'size' => [
                      13,
                      2
                    ]
                  },
                  'budget_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  },
                  'quantity' => {
                    'is_nullable' => 1,
                    'data_type' => 'smallint'
                  },
                  'tax_rate_bak' => {
                    'data_type' => 'decimal',
                    'is_nullable' => 1,
                    'size' => [
                      6,
                      4
                    ]
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'ordernumber'
                  ]
                },
                '_columns_info_loaded' => 0,
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqorder'}{'_unique_constraints'}{'primary'},
                'source_name' => 'Aqorder',
                '_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'
                ],
                'name' => 'aqorders',
                'result_class' => 'Koha::Schema::Result::Aqorder',
                'resultset_attributes' => {},
                '_relationships' => {
                  'biblionumber' => {
                    'attrs' => {
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      '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::Biblio',
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblionumber'
                    },
                    'class' => 'Koha::Schema::Result::Biblio'
                  },
                  'additional_field_values' => {
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => sub { "DUMMY" },
                    'source' => 'Koha::Schema::Result::AdditionalFieldValue',
                    'class' => 'Koha::Schema::Result::AdditionalFieldValue'
                  },
                  'basket' => {
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'basketno' => 1
                      },
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::Aqbasket',
                    'cond' => {
                      'foreign.basketno' => 'self.basketno'
                    },
                    'class' => 'Koha::Schema::Result::Aqbasket'
                  },
                  '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,
                      'on_delete' => 'CASCADE',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'single'
                    },
                    'class' => 'Koha::Schema::Result::Subscription'
                  },
                  'aqorder_users' => {
                    'class' => 'Koha::Schema::Result::AqorderUser',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::AqorderUser',
                    'cond' => {
                      'foreign.ordernumber' => 'self.ordernumber'
                    }
                  },
                  'invoice_currency' => {
                    'class' => 'Koha::Schema::Result::Currency',
                    'cond' => {
                      'foreign.currency' => 'self.invoice_currency'
                    },
                    'source' => 'Koha::Schema::Result::Currency',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'SET NULL',
                      'is_deferrable' => 1
                    }
                  },
                  'creator' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'created_by' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.created_by'
                    }
                  },
                  'aqorders_transfers_ordernumber_from' => {
                    'class' => 'Koha::Schema::Result::AqordersTransfer',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_update' => 1,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'single',
                      'cascade_delete' => 0
                    },
                    'cond' => {
                      'foreign.ordernumber_from' => 'self.ordernumber'
                    },
                    'source' => 'Koha::Schema::Result::AqordersTransfer'
                  },
                  'subscriptionid' => {
                    'class' => 'Koha::Schema::Result::Subscription',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1
                    },
                    'cond' => {
                      'foreign.subscriptionid' => 'self.subscriptionid'
                    },
                    'source' => 'Koha::Schema::Result::Subscription'
                  },
                  'fund' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'budget_id' => 1
                      },
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single'
                    },
                    'cond' => {
                      'foreign.budget_id' => 'self.budget_id'
                    },
                    'source' => 'Koha::Schema::Result::Aqbudget',
                    'class' => 'Koha::Schema::Result::Aqbudget'
                  },
                  'budget' => {
                    'class' => 'Koha::Schema::Result::Aqbudget',
                    'cond' => {
                      'foreign.budget_id' => 'self.budget_id'
                    },
                    'source' => 'Koha::Schema::Result::Aqbudget',
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'fk_columns' => {
                        'budget_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single'
                    }
                  },
                  'invoice' => {
                    'source' => 'Koha::Schema::Result::Aqinvoice',
                    'cond' => {
                      'foreign.invoiceid' => 'self.invoiceid'
                    },
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      '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_update' => 1,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'accessor' => 'single'
                    }
                  },
                  'invoiceid' => {
                    'attrs' => {
                      'undef_on_null_fk' => 1,
                      'on_update' => 'CASCADE',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'is_depends_on' => 1
                    },
                    'cond' => {
                      'foreign.invoiceid' => 'self.invoiceid'
                    },
                    'source' => 'Koha::Schema::Result::Aqinvoice',
                    'class' => 'Koha::Schema::Result::Aqinvoice'
                  },
                  'aqorders_items' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'source' => 'Koha::Schema::Result::AqordersItem',
                    'cond' => {
                      'foreign.ordernumber' => 'self.ordernumber'
                    },
                    'class' => 'Koha::Schema::Result::AqordersItem'
                  },
                  'currency' => {
                    'class' => 'Koha::Schema::Result::Currency',
                    'source' => 'Koha::Schema::Result::Currency',
                    'cond' => {
                      'foreign.currency' => 'self.currency'
                    },
                    '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' => 'SET NULL',
                      'is_deferrable' => 1
                    }
                  },
                  'basketno' => {
                    'source' => 'Koha::Schema::Result::Aqbasket',
                    'cond' => {
                      'foreign.basketno' => 'self.basketno'
                    },
                    'attrs' => {
                      'join_type' => 'LEFT',
                      '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
                    },
                    'class' => 'Koha::Schema::Result::Aqbasket'
                  },
                  'aqorders_claims' => {
                    'cond' => {
                      'foreign.ordernumber' => 'self.ordernumber'
                    },
                    'source' => 'Koha::Schema::Result::AqordersClaim',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::AqordersClaim'
                  },
                  'created_by' => {
                    'class' => 'Koha::Schema::Result::Borrower',
                    'cond' => {
                      'foreign.borrowernumber' => 'self.created_by'
                    },
                    'source' => 'Koha::Schema::Result::Borrower',
                    'attrs' => {
                      'is_foreign_key_constraint' => 1,
                      'on_delete' => 'SET NULL',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'undef_on_null_fk' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE'
                    }
                  },
                  '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
                      },
                      'is_depends_on' => 1,
                      'join_type' => 'LEFT',
                      'on_delete' => 'SET NULL',
                      'accessor' => 'single'
                    }
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'ClubHold' => bless( {
                'source_name' => 'ClubHold',
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_primaries' => [
                  'id'
                ],
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'item' => {
                    'class' => 'Koha::Schema::Result::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',
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1
                    },
                    'source' => 'Koha::Schema::Result::Item',
                    'cond' => {
                      'foreign.itemnumber' => 'self.item_id'
                    }
                  },
                  'club_holds_to_patron_holds' => {
                    'cond' => {
                      'foreign.club_hold_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::ClubHoldsToPatronHold',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::ClubHoldsToPatronHold'
                  },
                  'biblio' => {
                    'attrs' => {
                      'on_delete' => 'CASCADE',
                      'accessor' => 'single',
                      'is_depends_on' => 1,
                      'fk_columns' => {
                        'biblio_id' => 1
                      },
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.biblionumber' => 'self.biblio_id'
                    },
                    'source' => 'Koha::Schema::Result::Biblio',
                    'class' => 'Koha::Schema::Result::Biblio'
                  },
                  'club' => {
                    'class' => 'Koha::Schema::Result::Club',
                    '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_id' => 1
                      }
                    },
                    'cond' => {
                      'foreign.id' => 'self.club_id'
                    },
                    'source' => 'Koha::Schema::Result::Club'
                  }
                },
                'result_class' => 'Koha::Schema::Result::ClubHold',
                '_ordered_columns' => [
                  'id',
                  'club_id',
                  'biblio_id',
                  'item_id',
                  'date_created'
                ],
                'name' => 'club_holds',
                '_columns' => {
                  'item_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'date_created' => {
                    'is_nullable' => 0,
                    'data_type' => 'timestamp',
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp'
                  },
                  'biblio_id' => {
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'club_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'integer'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ClubHold'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ItemGroupItem' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'ItemGroupItem',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_primaries' => [
                  'item_group_items_id'
                ],
                'name' => 'item_group_items',
                '_ordered_columns' => [
                  'item_group_items_id',
                  'item_group_id',
                  'item_id'
                ],
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'item_group' => {
                    'class' => 'Koha::Schema::Result::ItemGroup',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'fk_columns' => {
                        'item_group_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.item_group_id' => 'self.item_group_id'
                    },
                    'source' => 'Koha::Schema::Result::ItemGroup'
                  },
                  'item' => {
                    'class' => 'Koha::Schema::Result::Item',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'undef_on_null_fk' => 1,
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'fk_columns' => {
                        'item_id' => 1
                      },
                      'is_foreign_key_constraint' => 1
                    },
                    'cond' => {
                      'foreign.itemnumber' => 'self.item_id'
                    },
                    'source' => 'Koha::Schema::Result::Item'
                  }
                },
                'result_class' => 'Koha::Schema::Result::ItemGroupItem',
                '_unique_constraints' => {
                  'item_id' => [
                    'item_id'
                  ],
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ItemGroupItem'}{'_primaries'}
                },
                '_columns' => {
                  'item_group_items_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'item_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_foreign_key' => 1,
                    'default_value' => 0
                  },
                  'item_group_id' => {
                    'default_value' => 0,
                    'is_foreign_key' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'ImportOaiAuthority' => bless( {
                '_primaries' => [
                  'import_oai_authority_id'
                ],
                'source_name' => 'ImportOaiAuthority',
                '_columns_info_loaded' => 0,
                'result_class' => 'Koha::Schema::Result::ImportOaiAuthority',
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'authid' => {
                    'cond' => {
                      'foreign.authid' => 'self.authid'
                    },
                    'source' => 'Koha::Schema::Result::AuthHeader',
                    'attrs' => {
                      'accessor' => 'filter',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'on_update' => 'NO ACTION',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::AuthHeader'
                  }
                },
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'name' => 'import_oai_authorities',
                '_ordered_columns' => [
                  'import_oai_authority_id',
                  'authid',
                  'identifier',
                  'repository',
                  'recordtype',
                  'datestamp',
                  'last_modified'
                ],
                '_columns' => {
                  'recordtype' => {
                    'extra' => {
                      'list' => [
                        'authority',
                        'biblio'
                      ]
                    },
                    'is_nullable' => 0,
                    'data_type' => 'enum',
                    'default_value' => 'biblio'
                  },
                  'import_oai_authority_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'authid' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_foreign_key' => 1,
                    'extra' => {
                      'unsigned' => 1
                    },
                    'data_type' => 'bigint',
                    'is_nullable' => 0
                  },
                  'repository' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 255
                  },
                  'last_modified' => {
                    'data_type' => 'timestamp',
                    'is_nullable' => 0,
                    'default_value' => \'current_timestamp',
                    'datetime_undef_if_invalid' => 1
                  },
                  'identifier' => {
                    'size' => 255,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'datestamp' => {
                    'size' => 255,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'ImportOaiAuthority'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'SmtpServer' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'id'
                  ]
                },
                '_columns' => {
                  'port' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'default_value' => 25
                  },
                  'is_default' => {
                    'is_boolean' => 1,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'name' => {
                    'is_nullable' => 0,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'password' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'timeout' => {
                    'default_value' => 120,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'user_name' => {
                    'size' => 80,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'ssl_mode' => {
                    'data_type' => 'enum',
                    'is_nullable' => 0,
                    'extra' => {
                      'list' => [
                        'disabled',
                        'ssl',
                        'starttls'
                      ]
                    }
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'host' => {
                    'default_value' => 'localhost',
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'debug' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0,
                    'is_boolean' => 1
                  }
                },
                'source_name' => 'SmtpServer',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'SmtpServer'}{'_unique_constraints'}{'primary'},
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'library_smtp_servers' => {
                    'attrs' => {
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.smtp_server_id' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::LibrarySmtpServer',
                    'class' => 'Koha::Schema::Result::LibrarySmtpServer'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                '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'
                ]
              }, 'DBIx::Class::ResultSource::Table' ),
              'Aqcontract' => bless( {
                'name' => 'aqcontract',
                '_ordered_columns' => [
                  'contractnumber',
                  'contractstartdate',
                  'contractenddate',
                  'contractname',
                  'contractdescription',
                  'booksellerid'
                ],
                'result_class' => 'Koha::Schema::Result::Aqcontract',
                '_relationships' => {
                  'aqbaskets' => {
                    'source' => 'Koha::Schema::Result::Aqbasket',
                    'cond' => {
                      'foreign.contractnumber' => 'self.contractnumber'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'class' => 'Koha::Schema::Result::Aqbasket'
                  },
                  'booksellerid' => {
                    'cond' => {
                      'foreign.id' => 'self.booksellerid'
                    },
                    'source' => 'Koha::Schema::Result::Aqbookseller',
                    'attrs' => {
                      'is_deferrable' => 1,
                      'on_update' => 'CASCADE',
                      'is_depends_on' => 1,
                      'on_delete' => 'CASCADE',
                      'accessor' => 'filter',
                      'is_foreign_key_constraint' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::Aqbookseller'
                  }
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'contractnumber'
                ],
                'source_name' => 'Aqcontract',
                '_columns' => {
                  'contractenddate' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'contractnumber' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  },
                  'contractname' => {
                    'size' => 50,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'contractdescription' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'contractstartdate' => {
                    'is_nullable' => 1,
                    'data_type' => 'date',
                    'datetime_undef_if_invalid' => 1
                  },
                  'booksellerid' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqcontract'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'BackgroundJob' => bless( {
                'name' => 'background_jobs',
                '_ordered_columns' => [
                  'id',
                  'status',
                  'progress',
                  'size',
                  'borrowernumber',
                  'type',
                  'queue',
                  'data',
                  'context',
                  'enqueued_on',
                  'started_on',
                  'ended_on'
                ],
                'result_class' => 'Koha::Schema::Result::BackgroundJob',
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                '_relationships' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_columns_info_loaded' => 0,
                '_primaries' => [
                  'id'
                ],
                'source_name' => 'BackgroundJob',
                '_columns' => {
                  'data' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'borrowernumber' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'type' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 64
                  },
                  'id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 0,
                    'is_auto_increment' => 1
                  },
                  'size' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'context' => {
                    'is_nullable' => 1,
                    'data_type' => 'longtext'
                  },
                  'ended_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'datetime',
                    'is_nullable' => 1
                  },
                  'progress' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'started_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'data_type' => 'datetime',
                    'is_nullable' => 1
                  },
                  'queue' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 0,
                    'size' => 191,
                    'default_value' => 'default'
                  },
                  'enqueued_on' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'datetime'
                  },
                  'status' => {
                    'size' => 32,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'BackgroundJob'}{'_primaries'}
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'TransportCost' => bless( {
                '_unique_constraints' => {
                  'primary' => [
                    'frombranch',
                    'tobranch'
                  ]
                },
                '_columns' => {
                  'frombranch' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'data_type' => 'varchar',
                    'is_nullable' => 0
                  },
                  'cost' => {
                    'is_nullable' => 0,
                    'data_type' => 'decimal',
                    'size' => [
                      6,
                      2
                    ]
                  },
                  'disable_transfer' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'tobranch' => {
                    '_inflate_info' => {
                      'deflate' => sub { "DUMMY" },
                      'inflate' => sub { "DUMMY" }
                    },
                    'size' => 10,
                    'is_foreign_key' => 1,
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  }
                },
                'name' => 'transport_cost',
                '_ordered_columns' => [
                  'frombranch',
                  'tobranch',
                  'cost',
                  'disable_transfer'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'resultset_attributes' => {},
                'result_class' => 'Koha::Schema::Result::TransportCost',
                '_relationships' => {
                  'frombranch' => {
                    'attrs' => {
                      'on_update' => 'CASCADE',
                      'on_delete' => 'CASCADE',
                      'is_depends_on' => 1,
                      'accessor' => 'filter',
                      'is_deferrable' => 1,
                      'is_foreign_key_constraint' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    'cond' => {
                      'foreign.branchcode' => 'self.frombranch'
                    },
                    'class' => 'Koha::Schema::Result::Branch'
                  },
                  'tobranch' => {
                    'cond' => {
                      'foreign.branchcode' => 'self.tobranch'
                    },
                    'source' => 'Koha::Schema::Result::Branch',
                    '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::Branch'
                  }
                },
                '_columns_info_loaded' => 0,
                'source_name' => 'TransportCost',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'TransportCost'}{'_unique_constraints'}{'primary'}
              }, 'DBIx::Class::ResultSource::Table' ),
              'RecordSource' => bless( {
                '_columns_info_loaded' => 0,
                'source_name' => 'RecordSource',
                '_primaries' => [
                  'record_source_id'
                ],
                'name' => 'record_sources',
                '_ordered_columns' => [
                  'record_source_id',
                  'name',
                  'can_be_edited'
                ],
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::RecordSource',
                '_relationships' => {
                  'biblio_metadatas' => {
                    'class' => 'Koha::Schema::Result::BiblioMetadata',
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::BiblioMetadata',
                    'cond' => {
                      'foreign.record_source_id' => 'self.record_source_id'
                    }
                  },
                  'deletedbiblio_metadatas' => {
                    'source' => 'Koha::Schema::Result::DeletedbiblioMetadata',
                    'cond' => {
                      'foreign.record_source_id' => 'self.record_source_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    },
                    'class' => 'Koha::Schema::Result::DeletedbiblioMetadata'
                  }
                },
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'RecordSource'}{'_primaries'}
                },
                '_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
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'Aqbudget' => bless( {
                '_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'
                ],
                'name' => 'aqbudgets',
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_relationships' => {
                  'aqbudgetborrowers' => {
                    'class' => 'Koha::Schema::Result::Aqbudgetborrower',
                    'cond' => {
                      'foreign.budget_id' => 'self.budget_id'
                    },
                    'source' => 'Koha::Schema::Result::Aqbudgetborrower',
                    'attrs' => {
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    }
                  },
                  'vendor_edi_accounts' => {
                    'source' => 'Koha::Schema::Result::VendorEdiAccount',
                    'cond' => {
                      'foreign.shipment_budget' => 'self.budget_id'
                    },
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi',
                      'cascade_copy' => 0
                    },
                    'class' => 'Koha::Schema::Result::VendorEdiAccount'
                  },
                  'marc_order_accounts' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.budget_id' => 'self.budget_id'
                    },
                    'source' => 'Koha::Schema::Result::MarcOrderAccount',
                    'class' => 'Koha::Schema::Result::MarcOrderAccount'
                  },
                  'budget_period' => {
                    'class' => 'Koha::Schema::Result::Aqbudgetperiod',
                    'source' => 'Koha::Schema::Result::Aqbudgetperiod',
                    'cond' => {
                      'foreign.budget_period_id' => 'self.budget_period_id'
                    },
                    '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' => {
                        'budget_period_id' => 1
                      }
                    }
                  },
                  'aqorders' => {
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'join_type' => 'LEFT',
                      'accessor' => 'multi'
                    },
                    'cond' => {
                      'foreign.budget_id' => 'self.budget_id'
                    },
                    'source' => 'Koha::Schema::Result::Aqorder',
                    'class' => 'Koha::Schema::Result::Aqorder'
                  },
                  'aqinvoice_adjustments' => {
                    'class' => 'Koha::Schema::Result::AqinvoiceAdjustment',
                    'source' => 'Koha::Schema::Result::AqinvoiceAdjustment',
                    'cond' => {
                      'foreign.budget_id' => 'self.budget_id'
                    },
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  },
                  'budget' => {
                    'class' => 'Koha::Schema::Result::Aqbudgetperiod',
                    'cond' => {
                      'foreign.budget_period_id' => 'self.budget_period_id'
                    },
                    'source' => '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
                    }
                  },
                  'aqinvoices' => {
                    'class' => 'Koha::Schema::Result::Aqinvoice',
                    'cond' => {
                      'foreign.shipmentcost_budgetid' => 'self.budget_id'
                    },
                    'source' => 'Koha::Schema::Result::Aqinvoice',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT'
                    }
                  },
                  'suggestions' => {
                    'class' => 'Koha::Schema::Result::Suggestion',
                    'attrs' => {
                      'cascade_delete' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'source' => 'Koha::Schema::Result::Suggestion',
                    'cond' => {
                      'foreign.budgetid' => 'self.budget_id'
                    }
                  },
                  'aqbudgets_plannings' => {
                    'class' => 'Koha::Schema::Result::AqbudgetsPlanning',
                    'cond' => {
                      'foreign.budget_id' => 'self.budget_id'
                    },
                    'source' => 'Koha::Schema::Result::AqbudgetsPlanning',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'is_depends_on' => 0,
                      'accessor' => 'multi',
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT'
                    }
                  }
                },
                'result_class' => 'Koha::Schema::Result::Aqbudget',
                '_columns_info_loaded' => 0,
                'source_name' => 'Aqbudget',
                '_primaries' => [
                  'budget_id'
                ],
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'Aqbudget'}{'_primaries'}
                },
                '_columns' => {
                  'budget_encumb' => {
                    'data_type' => 'decimal',
                    'is_nullable' => 1,
                    'size' => [
                      28,
                      6
                    ],
                    'default_value' => '0.000000'
                  },
                  'budget_expend' => {
                    'default_value' => '0.000000',
                    'size' => [
                      28,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'budget_amount' => {
                    'default_value' => '0.000000',
                    'size' => [
                      28,
                      6
                    ],
                    'data_type' => 'decimal',
                    'is_nullable' => 1
                  },
                  'sort2_authcat' => {
                    'is_nullable' => 1,
                    'data_type' => 'varchar',
                    'size' => 80
                  },
                  'budget_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_auto_increment' => 1
                  },
                  'budget_code' => {
                    'size' => 30,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'budget_name' => {
                    'size' => 80,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'budget_permission' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer',
                    'default_value' => 0
                  },
                  'timestamp' => {
                    'datetime_undef_if_invalid' => 1,
                    'default_value' => \'current_timestamp',
                    'data_type' => 'timestamp',
                    'is_nullable' => 0
                  },
                  'budget_parent_id' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'budget_branchcode' => {
                    'size' => 10,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'budget_owner_id' => {
                    'data_type' => 'integer',
                    'is_nullable' => 1
                  },
                  'budget_notes' => {
                    'data_type' => 'longtext',
                    'is_nullable' => 1
                  },
                  'sort1_authcat' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'size' => 80
                  },
                  'budget_period_id' => {
                    'is_nullable' => 0,
                    'data_type' => 'integer',
                    'is_foreign_key' => 1
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' ),
              'MarcModificationTemplate' => bless( {
                '_columns' => {
                  'name' => {
                    'is_nullable' => 0,
                    'data_type' => 'mediumtext'
                  },
                  'template_id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                },
                '_unique_constraints' => {
                  'primary' => [
                    'template_id'
                  ]
                },
                'resultset_class' => 'DBIx::Class::ResultSet',
                'result_class' => 'Koha::Schema::Result::MarcModificationTemplate',
                '_relationships' => {
                  'marc_modification_template_actions' => {
                    'class' => 'Koha::Schema::Result::MarcModificationTemplateAction',
                    'attrs' => {
                      'cascade_copy' => 0,
                      'join_type' => 'LEFT',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'accessor' => 'multi'
                    },
                    'source' => 'Koha::Schema::Result::MarcModificationTemplateAction',
                    'cond' => {
                      'foreign.template_id' => 'self.template_id'
                    }
                  }
                },
                'resultset_attributes' => {},
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_ordered_columns' => [
                  'template_id',
                  'name'
                ],
                'name' => 'marc_modification_templates',
                '_primaries' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'MarcModificationTemplate'}{'_unique_constraints'}{'primary'},
                'source_name' => 'MarcModificationTemplate',
                '_columns_info_loaded' => 0
              }, 'DBIx::Class::ResultSource::Table' ),
              'VendorEdiAccount' => bless( {
                'source_name' => 'VendorEdiAccount',
                '_primaries' => [
                  'id'
                ],
                '_columns_info_loaded' => 0,
                'schema' => $VAR1->{'_resultset'}{'result_source'}{'schema'},
                '_relationships' => {
                  'vendor' => {
                    'attrs' => {
                      'on_delete' => 'RESTRICT',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'accessor' => 'single',
                      'is_foreign_key_constraint' => 1,
                      'fk_columns' => {
                        'vendor_id' => 1
                      },
                      'on_update' => 'RESTRICT',
                      'is_deferrable' => 1,
                      'undef_on_null_fk' => 1
                    },
                    'cond' => {
                      'foreign.id' => 'self.vendor_id'
                    },
                    'source' => 'Koha::Schema::Result::Aqbookseller',
                    'class' => 'Koha::Schema::Result::Aqbookseller'
                  },
                  'edifact_messages' => {
                    'attrs' => {
                      'accessor' => 'multi',
                      'is_depends_on' => 0,
                      'cascade_delete' => 0,
                      'join_type' => 'LEFT',
                      'cascade_copy' => 0
                    },
                    'cond' => {
                      'foreign.edi_acct' => 'self.id'
                    },
                    'source' => 'Koha::Schema::Result::EdifactMessage',
                    'class' => 'Koha::Schema::Result::EdifactMessage'
                  },
                  'shipment_budget' => {
                    'source' => 'Koha::Schema::Result::Aqbudget',
                    'cond' => {
                      'foreign.budget_id' => 'self.shipment_budget'
                    },
                    'attrs' => {
                      'on_delete' => 'RESTRICT',
                      'accessor' => 'filter',
                      'join_type' => 'LEFT',
                      'is_depends_on' => 1,
                      'is_foreign_key_constraint' => 1,
                      'is_deferrable' => 1,
                      'on_update' => 'RESTRICT',
                      'undef_on_null_fk' => 1
                    },
                    'class' => 'Koha::Schema::Result::Aqbudget'
                  }
                },
                'result_class' => 'Koha::Schema::Result::VendorEdiAccount',
                'resultset_attributes' => {},
                'resultset_class' => 'DBIx::Class::ResultSet',
                '_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',
                '_unique_constraints' => {
                  'primary' => $VAR1->{'_resultset'}{'result_source'}{'schema'}{'source_registrations'}{'VendorEdiAccount'}{'_primaries'}
                },
                '_columns' => {
                  'upload_directory' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'san' => {
                    'size' => 20,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'id_code_qualifier' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'default_value' => 14,
                    'size' => 3
                  },
                  'last_activity' => {
                    'datetime_undef_if_invalid' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'date'
                  },
                  'download_port' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'username' => {
                    'size' => 40,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'transport' => {
                    'default_value' => 'FTP',
                    'size' => 6,
                    'data_type' => 'varchar',
                    'is_nullable' => 1
                  },
                  'plugin' => {
                    'size' => 256,
                    'default_value' => '',
                    'is_nullable' => 0,
                    'data_type' => 'varchar'
                  },
                  'standard' => {
                    'data_type' => 'varchar',
                    'is_nullable' => 1,
                    'default_value' => 'EUR',
                    'size' => 3
                  },
                  'invoices_enabled' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'responses_enabled' => {
                    'is_nullable' => 0,
                    'data_type' => 'tinyint',
                    'default_value' => 0
                  },
                  'orders_enabled' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'download_directory' => {
                    'data_type' => 'mediumtext',
                    'is_nullable' => 1
                  },
                  'host' => {
                    'size' => 40,
                    'is_nullable' => 1,
                    'data_type' => 'varchar'
                  },
                  'quotes_enabled' => {
                    'data_type' => 'tinyint',
                    'is_nullable' => 0,
                    'default_value' => 0
                  },
                  'vendor_id' => {
                    'is_foreign_key' => 1,
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'upload_port' => {
                    'is_nullable' => 1,
                    'data_type' => 'integer'
                  },
                  'shipment_budget' => {
                    '_inflate_info' => {
                      'inflate' => sub { "DUMMY" },
                      'deflate' => sub { "DUMMY" }
                    },
                    'data_type' => 'integer',
                    'is_nullable' => 1,
                    'is_foreign_key' => 1
                  },
                  'description' => {
                    'is_nullable' => 0,
                    'data_type' => 'mediumtext'
                  },
                  'auto_orders' => {
                    'default_value' => 0,
                    'data_type' => 'tinyint',
                    'is_nullable' => 0
                  },
                  'password' => {
                    'is_nullable' => 1,
                    'data_type' => 'mediumtext'
                  },
                  'id' => {
                    'is_auto_increment' => 1,
                    'data_type' => 'integer',
                    'is_nullable' => 0
                  }
                }
              }, 'DBIx::Class::ResultSource::Table' )
            }
          }, 'Koha::Schema' ),
          'resultset_class' => 'DBIx::Class::ResultSet',
          'result_class' => 'Koha::Schema::Result::Item',
          '_relationships' => {
            'course_item' => {
              'class' => 'Koha::Schema::Result::CourseItem',
              '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::CourseItem'
            },
            'club_holds' => {
              'source' => 'Koha::Schema::Result::ClubHold',
              'cond' => {
                'foreign.item_id' => 'self.itemnumber'
              },
              'attrs' => {
                'cascade_delete' => 0,
                'is_depends_on' => 0,
                'join_type' => 'LEFT',
                'accessor' => 'multi',
                'cascade_copy' => 0
              },
              'class' => 'Koha::Schema::Result::ClubHold'
            },
            'home_library' => {
              'cond' => {
                'foreign.branchcode' => 'self.homebranch'
              },
              'source' => 'Koha::Schema::Result::Branch',
              'attrs' => {
                'is_depends_on' => 1,
                'join_type' => 'LEFT',
                'on_delete' => 'RESTRICT',
                'accessor' => 'single',
                'is_foreign_key_constraint' => 1,
                'fk_columns' => {
                  'homebranch' => 1
                },
                'on_update' => 'CASCADE',
                'is_deferrable' => 1,
                'undef_on_null_fk' => 1
              },
              'class' => 'Koha::Schema::Result::Branch'
            },
            'current_branchtransfers' => {
              'source' => 'Koha::Schema::Result::Branchtransfer',
              'cond' => sub { "DUMMY" },
              'attrs' => {
                'join_type' => 'LEFT',
                'is_depends_on' => 0,
                'cascade_delete' => 0,
                'accessor' => 'multi',
                'cascade_copy' => 0
              },
              'class' => 'Koha::Schema::Result::Branchtransfer'
            },
            'hold_fill_target' => {
              'class' => 'Koha::Schema::Result::HoldFillTarget',
              'attrs' => {
                'cascade_update' => 1,
                'cascade_delete' => 0,
                'join_type' => 'LEFT',
                'is_depends_on' => 0,
                'accessor' => 'single',
                'cascade_copy' => 0
              },
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'source' => 'Koha::Schema::Result::HoldFillTarget'
            },
            'item_group_item' => {
              'attrs' => {
                'cascade_update' => 1,
                'join_type' => 'LEFT',
                'is_depends_on' => 0,
                'cascade_delete' => 0,
                'accessor' => 'single',
                'cascade_copy' => 0
              },
              'source' => 'Koha::Schema::Result::ItemGroupItem',
              'cond' => {
                'foreign.item_id' => 'self.itemnumber'
              },
              'class' => 'Koha::Schema::Result::ItemGroupItem'
            },
            'preservation_trains_items' => {
              'class' => 'Koha::Schema::Result::PreservationTrainsItem',
              'source' => 'Koha::Schema::Result::PreservationTrainsItem',
              'cond' => {
                'foreign.item_id' => 'self.itemnumber'
              },
              'attrs' => {
                'cascade_copy' => 0,
                'cascade_delete' => 0,
                'is_depends_on' => 0,
                'join_type' => 'LEFT',
                'accessor' => 'multi'
              }
            },
            'items_last_borrower' => {
              'attrs' => {
                'cascade_copy' => 0,
                'cascade_update' => 1,
                'join_type' => 'LEFT',
                'accessor' => 'single',
                'is_depends_on' => 0,
                'cascade_delete' => 0
              },
              'source' => 'Koha::Schema::Result::ItemsLastBorrower',
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'class' => 'Koha::Schema::Result::ItemsLastBorrower'
            },
            'biblioitem' => {
              'class' => 'Koha::Schema::Result::Biblioitem',
              'cond' => {
                'foreign.biblioitemnumber' => 'self.biblioitemnumber'
              },
              'source' => 'Koha::Schema::Result::Biblioitem',
              'attrs' => {
                'is_foreign_key_constraint' => 1,
                'undef_on_null_fk' => 1,
                'fk_columns' => {
                  'biblioitemnumber' => 1
                },
                'accessor' => 'single',
                'is_depends_on' => 1
              }
            },
            'biblioitemnumber' => {
              'class' => 'Koha::Schema::Result::Biblioitem',
              '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::Biblioitem',
              'cond' => {
                'foreign.biblioitemnumber' => 'self.biblioitemnumber'
              }
            },
            'issue' => {
              'source' => 'Koha::Schema::Result::Issue',
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'attrs' => {
                'cascade_update' => 1,
                'join_type' => 'LEFT',
                'cascade_delete' => 0,
                'is_depends_on' => 0,
                'accessor' => 'single',
                'cascade_copy' => 0
              },
              'class' => 'Koha::Schema::Result::Issue'
            },
            'old_reserves' => {
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'source' => 'Koha::Schema::Result::OldReserve',
              'attrs' => {
                'cascade_copy' => 0,
                'join_type' => 'LEFT',
                'is_depends_on' => 0,
                'cascade_delete' => 0,
                'accessor' => 'multi'
              },
              'class' => 'Koha::Schema::Result::OldReserve'
            },
            'stockrotationitem' => {
              'class' => 'Koha::Schema::Result::Stockrotationitem',
              'cond' => {
                'foreign.itemnumber_id' => 'self.itemnumber'
              },
              'source' => 'Koha::Schema::Result::Stockrotationitem',
              'attrs' => {
                'accessor' => 'single',
                'join_type' => 'LEFT',
                'is_depends_on' => 0,
                'cascade_delete' => 0,
                'cascade_update' => 1,
                'cascade_copy' => 0
              }
            },
            'bookings' => {
              'class' => 'Koha::Schema::Result::Booking',
              'attrs' => {
                'cascade_delete' => 0,
                'is_depends_on' => 0,
                'accessor' => 'multi',
                'join_type' => 'LEFT',
                'cascade_copy' => 0
              },
              'cond' => {
                'foreign.item_id' => 'self.itemnumber'
              },
              'source' => 'Koha::Schema::Result::Booking'
            },
            'serialitem' => {
              'attrs' => {
                'cascade_copy' => 0,
                'join_type' => 'LEFT',
                'accessor' => 'single',
                'is_depends_on' => 0,
                'cascade_delete' => 0,
                'cascade_update' => 1
              },
              'source' => 'Koha::Schema::Result::Serialitem',
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'class' => 'Koha::Schema::Result::Serialitem'
            },
            'return_claims' => {
              'class' => 'Koha::Schema::Result::ReturnClaim',
              'attrs' => {
                'is_depends_on' => 0,
                'cascade_delete' => 0,
                'accessor' => 'multi',
                'join_type' => 'LEFT',
                'cascade_copy' => 0
              },
              'source' => 'Koha::Schema::Result::ReturnClaim',
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              }
            },
            'biblio' => {
              'class' => 'Koha::Schema::Result::Biblio',
              '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' => {
                  'biblionumber' => 1
                }
              },
              'cond' => {
                'foreign.biblionumber' => 'self.biblionumber'
              },
              'source' => 'Koha::Schema::Result::Biblio'
            },
            'item_bundles_item' => {
              'class' => 'Koha::Schema::Result::ItemBundle',
              'attrs' => {
                'join_type' => 'LEFT',
                'is_depends_on' => 0,
                'cascade_delete' => 0,
                'accessor' => 'single',
                'cascade_update' => 1,
                'cascade_copy' => 0
              },
              'cond' => {
                'foreign.item' => 'self.itemnumber'
              },
              'source' => 'Koha::Schema::Result::ItemBundle'
            },
            'accountlines' => {
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'source' => 'Koha::Schema::Result::Accountline',
              'attrs' => {
                'cascade_copy' => 0,
                'is_depends_on' => 0,
                'accessor' => 'multi',
                'cascade_delete' => 0,
                'join_type' => 'LEFT'
              },
              'class' => 'Koha::Schema::Result::Accountline'
            },
            'last_returned_by' => {
              'attrs' => {
                'cascade_copy' => 0,
                'accessor' => 'single',
                'join_type' => 'LEFT',
                'is_depends_on' => 0,
                'cascade_delete' => 0,
                'cascade_update' => 1
              },
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'source' => 'Koha::Schema::Result::ItemsLastBorrower',
              'class' => 'Koha::Schema::Result::ItemsLastBorrower'
            },
            'cover_images' => {
              'class' => 'Koha::Schema::Result::CoverImage',
              'source' => 'Koha::Schema::Result::CoverImage',
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'attrs' => {
                'cascade_delete' => 0,
                'is_depends_on' => 0,
                'join_type' => 'LEFT',
                'accessor' => 'multi',
                'cascade_copy' => 0
              }
            },
            'recalls' => {
              'class' => 'Koha::Schema::Result::Recall',
              'attrs' => {
                'cascade_copy' => 0,
                'cascade_delete' => 0,
                'is_depends_on' => 0,
                'join_type' => 'LEFT',
                'accessor' => 'multi'
              },
              'source' => 'Koha::Schema::Result::Recall',
              'cond' => {
                'foreign.item_id' => 'self.itemnumber'
              }
            },
            'biblionumber' => {
              'attrs' => {
                'undef_on_null_fk' => 1,
                'is_foreign_key_constraint' => 1,
                'is_depends_on' => 1,
                'on_delete' => 'CASCADE',
                'accessor' => 'filter',
                'on_update' => 'CASCADE',
                'is_deferrable' => 1
              },
              'source' => 'Koha::Schema::Result::Biblio',
              'cond' => {
                'foreign.biblionumber' => 'self.biblionumber'
              },
              'class' => 'Koha::Schema::Result::Biblio'
            },
            'tmp_holdsqueue' => {
              'class' => 'Koha::Schema::Result::TmpHoldsqueue',
              'source' => 'Koha::Schema::Result::TmpHoldsqueue',
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'attrs' => {
                'join_type' => 'LEFT',
                'is_depends_on' => 0,
                'cascade_delete' => 0,
                'accessor' => 'single',
                'cascade_update' => 1,
                'cascade_copy' => 0
              }
            },
            'reserves' => {
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'source' => 'Koha::Schema::Result::Reserve',
              'attrs' => {
                'is_depends_on' => 0,
                'join_type' => 'LEFT',
                'cascade_delete' => 0,
                'accessor' => 'multi',
                'cascade_copy' => 0
              },
              'class' => 'Koha::Schema::Result::Reserve'
            },
            'item_bundles_hosts' => {
              'attrs' => {
                'cascade_copy' => 0,
                'join_type' => 'LEFT',
                'is_depends_on' => 0,
                'cascade_delete' => 0,
                'accessor' => 'multi'
              },
              'source' => 'Koha::Schema::Result::ItemBundle',
              'cond' => {
                'foreign.host' => 'self.itemnumber'
              },
              'class' => 'Koha::Schema::Result::ItemBundle'
            },
            'article_requests' => {
              'attrs' => {
                'cascade_copy' => 0,
                'accessor' => 'multi',
                'is_depends_on' => 0,
                'cascade_delete' => 0,
                'join_type' => 'LEFT'
              },
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'source' => 'Koha::Schema::Result::ArticleRequest',
              'class' => 'Koha::Schema::Result::ArticleRequest'
            },
            'holding_library' => {
              'attrs' => {
                'join_type' => 'LEFT',
                'on_delete' => 'RESTRICT',
                'accessor' => 'single',
                'is_depends_on' => 1,
                'is_foreign_key_constraint' => 1,
                'fk_columns' => {
                  'holdingbranch' => 1
                },
                'on_update' => 'CASCADE',
                'is_deferrable' => 1,
                'undef_on_null_fk' => 1
              },
              'cond' => {
                'foreign.branchcode' => 'self.holdingbranch'
              },
              'source' => 'Koha::Schema::Result::Branch',
              'class' => 'Koha::Schema::Result::Branch'
            },
            'serial_item' => {
              '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
              }
            },
            'creator_batches' => {
              'class' => 'Koha::Schema::Result::CreatorBatch',
              'attrs' => {
                'cascade_copy' => 0,
                'cascade_delete' => 0,
                'is_depends_on' => 0,
                'join_type' => 'LEFT',
                'accessor' => 'multi'
              },
              'cond' => {
                'foreign.item_number' => 'self.itemnumber'
              },
              'source' => 'Koha::Schema::Result::CreatorBatch'
            },
            'branchtransfers' => {
              'source' => 'Koha::Schema::Result::Branchtransfer',
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'attrs' => {
                'cascade_copy' => 0,
                'cascade_delete' => 0,
                'is_depends_on' => 0,
                'join_type' => 'LEFT',
                'accessor' => 'multi'
              },
              'class' => 'Koha::Schema::Result::Branchtransfer'
            },
            'linktrackers' => {
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'source' => 'Koha::Schema::Result::Linktracker',
              'attrs' => {
                'cascade_copy' => 0,
                'cascade_delete' => 0,
                'is_depends_on' => 0,
                'join_type' => 'LEFT',
                'accessor' => 'multi'
              },
              'class' => 'Koha::Schema::Result::Linktracker'
            },
            'holdingbranch' => {
              'class' => 'Koha::Schema::Result::Branch',
              'source' => 'Koha::Schema::Result::Branch',
              'cond' => {
                'foreign.branchcode' => 'self.holdingbranch'
              },
              'attrs' => {
                'join_type' => 'LEFT',
                'on_delete' => 'RESTRICT',
                'accessor' => 'filter',
                'is_depends_on' => 1,
                'is_foreign_key_constraint' => 1,
                'is_deferrable' => 1,
                'on_update' => 'CASCADE',
                'undef_on_null_fk' => 1
              }
            },
            'aqorders_item' => {
              'cond' => {
                'foreign.itemnumber' => 'self.itemnumber'
              },
              'source' => 'Koha::Schema::Result::AqordersItem',
              'attrs' => {
                'cascade_copy' => 0,
                'is_depends_on' => 0,
                'cascade_delete' => 0,
                'join_type' => 'LEFT',
                'accessor' => 'multi'
              },
              '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',
              'source' => 'Koha::Schema::Result::Branch',
              'cond' => {
                'foreign.branchcode' => 'self.homebranch'
              },
              'attrs' => {
                'on_delete' => 'RESTRICT',
                'accessor' => 'filter',
                'join_type' => 'LEFT',
                'is_depends_on' => 1,
                'is_foreign_key_constraint' => 1,
                'is_deferrable' => 1,
                'on_update' => 'CASCADE',
                'undef_on_null_fk' => 1
              }
            }
          },
          'resultset_attributes' => {},
          '_columns_info_loaded' => 0,
          'source_name' => 'Item',
          '_primaries' => [
            'itemnumber'
          ],
          '_unique_constraints' => {
            'itembarcodeidx' => [
              'barcode'
            ],
            'primary' => $VAR1->{'_resultset'}{'result_source'}{'_primaries'}
          },
          '_columns' => {
            'replacementprice' => {
              'is_nullable' => 1,
              'data_type' => 'decimal',
              'size' => [
                8,
                2
              ]
            },
            'withdrawn_on' => {
              'is_nullable' => 1,
              'data_type' => 'datetime',
              'datetime_undef_if_invalid' => 1
            },
            'enumchron' => {
              'data_type' => 'mediumtext',
              'is_nullable' => 1
            },
            'stack' => {
              'is_nullable' => 1,
              'data_type' => 'tinyint'
            },
            'restricted' => {
              'data_type' => 'tinyint',
              'is_nullable' => 1
            },
            'materials' => {
              'is_nullable' => 1,
              'data_type' => 'mediumtext'
            },
            'withdrawn' => {
              'default_value' => 0,
              'data_type' => 'tinyint',
              'is_nullable' => 0
            },
            'datelastborrowed' => {
              'datetime_undef_if_invalid' => 1,
              'is_nullable' => 1,
              'data_type' => 'date'
            },
            'biblioitemnumber' => {
              'is_foreign_key' => 1,
              'default_value' => 0,
              'is_nullable' => 0,
              'data_type' => 'integer',
              '_inflate_info' => {
                'deflate' => sub { "DUMMY" },
                'inflate' => sub { "DUMMY" }
              }
            },
            'itemnotes' => {
              'data_type' => 'longtext',
              'is_nullable' => 1
            },
            'dateaccessioned' => {
              'datetime_undef_if_invalid' => 1,
              'is_nullable' => 1,
              'data_type' => 'date'
            },
            'coded_location_qualifier' => {
              'size' => 10,
              'data_type' => 'varchar',
              'is_nullable' => 1
            },
            'copynumber' => {
              'data_type' => 'varchar',
              'is_nullable' => 1,
              'size' => 32
            },
            'cn_source' => {
              'is_nullable' => 1,
              'data_type' => 'varchar',
              'size' => 10
            },
            'booksellerid' => {
              'is_nullable' => 1,
              'data_type' => 'longtext'
            },
            'price' => {
              'data_type' => 'decimal',
              'is_nullable' => 1,
              'size' => [
                8,
                2
              ]
            },
            'timestamp' => {
              'default_value' => \'current_timestamp',
              'datetime_undef_if_invalid' => 1,
              'data_type' => 'timestamp',
              'is_nullable' => 0
            },
            'barcode' => {
              'size' => 20,
              'is_nullable' => 1,
              'data_type' => 'varchar'
            },
            'uri' => {
              'data_type' => 'mediumtext',
              'is_nullable' => 1
            },
            'itemlost' => {
              'data_type' => 'tinyint',
              'is_nullable' => 0,
              'default_value' => 0
            },
            'itemcallnumber' => {
              'data_type' => 'varchar',
              'is_nullable' => 1,
              'size' => 255
            },
            'deleted_on' => {
              'datetime_undef_if_invalid' => 1,
              'is_nullable' => 1,
              'data_type' => 'datetime'
            },
            'more_subfields_xml' => {
              'is_nullable' => 1,
              'data_type' => 'longtext'
            },
            'holdingbranch' => {
              'size' => 10,
              'is_foreign_key' => 1,
              'data_type' => 'varchar',
              'is_nullable' => 1,
              '_inflate_info' => {
                'inflate' => sub { "DUMMY" },
                'deflate' => sub { "DUMMY" }
              }
            },
            'localuse' => {
              'is_nullable' => 1,
              'data_type' => 'smallint'
            },
            'itemlost_on' => {
              'is_nullable' => 1,
              'data_type' => 'datetime',
              'datetime_undef_if_invalid' => 1
            },
            'location' => {
              'is_nullable' => 1,
              'data_type' => 'varchar',
              'size' => 80
            },
            'itemnotes_nonpublic' => {
              'data_type' => 'longtext',
              'is_nullable' => 1
            },
            'issues' => {
              'is_nullable' => 1,
              'data_type' => 'smallint',
              'default_value' => 0
            },
            'itemnumber' => {
              'is_nullable' => 0,
              'data_type' => 'integer',
              'is_auto_increment' => 1
            },
            'new_status' => {
              'is_nullable' => 1,
              'data_type' => 'varchar',
              'size' => 32
            },
            'damaged' => {
              'is_nullable' => 0,
              'data_type' => 'tinyint',
              'default_value' => 0
            },
            'homebranch' => {
              'is_nullable' => 1,
              'data_type' => 'varchar',
              'size' => 10,
              'is_foreign_key' => 1,
              '_inflate_info' => {
                'inflate' => sub { "DUMMY" },
                'deflate' => sub { "DUMMY" }
              }
            },
            'notforloan' => {
              'default_value' => 0,
              'is_nullable' => 0,
              'data_type' => 'tinyint'
            },
            'ccode' => {
              'size' => 80,
              'data_type' => 'varchar',
              'is_nullable' => 1
            },
            'itype' => {
              'size' => 10,
              'data_type' => 'varchar',
              'is_nullable' => 1
            },
            'cn_sort' => {
              'data_type' => 'varchar',
              'is_nullable' => 1,
              'size' => 255
            },
            'datelastseen' => {
              'datetime_undef_if_invalid' => 1,
              'data_type' => 'datetime',
              'is_nullable' => 1
            },
            'damaged_on' => {
              'data_type' => 'datetime',
              'is_nullable' => 1,
              'datetime_undef_if_invalid' => 1
            },
            'replacementpricedate' => {
              'datetime_undef_if_invalid' => 1,
              'data_type' => 'date',
              'is_nullable' => 1
            },
            'biblionumber' => {
              '_inflate_info' => {
                'inflate' => sub { "DUMMY" },
                'deflate' => sub { "DUMMY" }
              },
              'is_nullable' => 0,
              'data_type' => 'integer',
              'is_foreign_key' => 1,
              'default_value' => 0
            },
            'onloan' => {
              'datetime_undef_if_invalid' => 1,
              'data_type' => 'date',
              'is_nullable' => 1
            },
            'bookable' => {
              'is_nullable' => 1,
              'data_type' => 'tinyint',
              'is_boolean' => 1
            },
            'permanent_location' => {
              'data_type' => 'varchar',
              'is_nullable' => 1,
              'size' => 80
            },
            'renewals' => {
              'is_nullable' => 1,
              'data_type' => 'smallint'
            },
            'exclude_from_local_holds_priority' => {
              'data_type' => 'tinyint',
              'is_nullable' => 1,
              'is_boolean' => 1
            },
            'stocknumber' => {
              'size' => 32,
              'is_nullable' => 1,
              'data_type' => 'varchar'
            },
            'reserves' => {
              'data_type' => 'smallint',
              'is_nullable' => 1
            }
          }
        }, 'DBIx::Class::ResultSource::Table' ),
        'attrs' => {
          'alias' => 'me',
          'bind' => [],
          'accessor' => 'multi',
          'is_depends_on' => 0,
          'join_type' => 'LEFT',
          'cascade_copy' => 0,
          'where' => {
            'me.biblionumber' => 164611
          },
          'cascade_delete' => 0
        },
        '_result_class' => 'Koha::Schema::Result::Item',
        'cond' => $VAR1->{'_resultset'}{'attrs'}{'where'},
        'pager' => undef
      }, 'DBIx::Class::ResultSet' )
    }, 'Koha::Items' );
    
    

2024 © Universidad Pedagógica de El Salvador | Todos los derechos reservados