<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<database name="koha_25_11" schema="koha_25_11" type="MySQL - 10.11.17-MariaDB-ubu2204">
   <tables>
      <table catalog="koha_25_11" name="account_credit_types" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="code" nullable="false" remarks="" size="80" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="credit_type_code" foreignKey="account_credit_types_branches_ibfk_1" implied="false" onDeleteCascade="true" table="account_credit_types_branches"/>
            <child catalog="koha_25_11" column="credit_type_code" foreignKey="accountlines_ibfk_credit_type" implied="false" onDeleteCascade="false" table="accountlines"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="description" nullable="true" remarks="" size="200" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="2" name="can_be_added_manually" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="credit_number_enabled" nullable="false" remarks="Is autogeneration of credit number enabled for this credit type" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="is_system" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="archived" nullable="false" remarks="boolean flag to denote if this till is archived or not" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="code" sequenceNumberInPK="1"/>
         <index name="account_credit_types_s_pk" unique="true">
            <column ascending="true" name="code"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="code"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="account_credit_types_branches" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="0" name="credit_type_code" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="code" foreignKey="account_credit_types_branches_ibfk_1" implied="false" onDeleteCascade="true" table="account_credit_types"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="account_credit_types_branches_ibfk_2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="credit_type_code" unique="false">
            <column ascending="true" name="credit_type_code"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="account_debit_types" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="code" nullable="false" remarks="" size="80" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="debit_type_code" foreignKey="account_debit_types_branches_ibfk_1" implied="false" onDeleteCascade="true" table="account_debit_types_branches"/>
            <child catalog="koha_25_11" column="debit_type_code" foreignKey="accountlines_ibfk_debit_type" implied="false" onDeleteCascade="false" table="accountlines"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="description" nullable="true" remarks="" size="200" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="2" name="can_be_invoiced" nullable="false" remarks="boolean flag to denote if this debit type is available for manual invoicing" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="can_be_sold" nullable="false" remarks="boolean flag to denote if this debit type is available at point of sale" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="4" name="default_amount" nullable="true" remarks="" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="is_system" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="archived" nullable="false" remarks="boolean flag to denote if this till is archived or not" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="7" name="restricts_checkouts" nullable="false" remarks="boolean flag to denote if the noissuescharge syspref for this debit type is active" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="code" sequenceNumberInPK="1"/>
         <index name="account_debit_types_s_pk" unique="true">
            <column ascending="true" name="code"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="code"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="account_debit_types_branches" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="0" name="debit_type_code" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="code" foreignKey="account_debit_types_branches_ibfk_1" implied="false" onDeleteCascade="true" table="account_debit_types"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="account_debit_types_branches_ibfk_2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="debit_type_code" unique="false">
            <column ascending="true" name="debit_type_code"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="account_offsets" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique identifier for each offset" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="credit_id" nullable="true" remarks="The id of the accountline the increased the patron's balance" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="accountlines_id" foreignKey="account_offsets_ibfk_p" implied="false" onDeleteCascade="true" table="accountlines"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="debit_id" nullable="true" remarks="The id of the accountline that decreased the patron's balance" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="accountlines_id" foreignKey="account_offsets_ibfk_f" implied="false" onDeleteCascade="true" table="accountlines"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="type" nullable="false" remarks="The type of offset this is" size="16" type="enum('CREATE', 'APPLY', 'VOID', 'OVERDUE_INCREASE', 'OVERDUE_DECREASE')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="4" name="amount" nullable="false" remarks="The amount of the change" size="26" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="created_on" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="account_offsets_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="account_offsets_ibfk_f" unique="false">
            <column ascending="true" name="debit_id"/>
         </index>
         <index name="account_offsets_ibfk_p" unique="false">
            <column ascending="true" name="credit_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="accountlines" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="accountlines_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="credit_id" foreignKey="account_offsets_ibfk_p" implied="false" onDeleteCascade="true" table="account_offsets"/>
            <child catalog="koha_25_11" column="debit_id" foreignKey="account_offsets_ibfk_f" implied="false" onDeleteCascade="true" table="account_offsets"/>
            <child catalog="koha_25_11" column="debit_id" foreignKey="article_requests_ibfk_5" implied="false" onDeleteCascade="false" table="article_requests"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="issue_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="issue_id" foreignKey="accountlines_ibfk_issues" implied="false" onDeleteCascade="false" table="issues"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="old_issue_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="issue_id" foreignKey="accountlines_ibfk_old_issues" implied="false" onDeleteCascade="false" table="old_issues"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="borrowernumber" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="accountlines_ibfk_borrowers" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="itemnumber" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="accountlines_ibfk_items" implied="false" onDeleteCascade="false" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="date" nullable="true" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="amount" nullable="true" remarks="" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="description" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="credit_type_code" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="code" foreignKey="accountlines_ibfk_credit_type" implied="false" onDeleteCascade="false" table="account_credit_types"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="debit_type_code" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="code" foreignKey="accountlines_ibfk_debit_type" implied="false" onDeleteCascade="false" table="account_debit_types"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="credit_number" nullable="true" remarks="autogenerated number for credits" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="status" nullable="true" remarks="" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="payment_type" nullable="true" remarks="optional authorised value PAYMENT_TYPE" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="13" name="amountoutstanding" nullable="true" remarks="" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="14" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="note" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="manager_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="accountlines_ibfk_borrowers_2" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="register_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="accountlines_ibfk_registers" implied="false" onDeleteCascade="false" table="cash_registers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="interface" nullable="false" remarks="" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="branchcode" nullable="true" remarks="the branchcode of the library where a payment was made, a manual invoice created, etc." size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="accountlines_ibfk_branches" implied="false" onDeleteCascade="false" table="branches"/>
         </column>
         <primaryKey column="accountlines_id" sequenceNumberInPK="1"/>
         <index name="accountlines_s_pk" unique="true">
            <column ascending="true" name="accountlines_id"/>
         </index>
         <index name="accountlines_ibfk_issues" unique="false">
            <column ascending="true" name="issue_id"/>
         </index>
         <index name="accountlines_ibfk_old_issues" unique="false">
            <column ascending="true" name="old_issue_id"/>
         </index>
         <index name="accountlines_ibfk_registers" unique="false">
            <column ascending="true" name="register_id"/>
         </index>
         <index name="acctsborridx" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="credit_type_code" unique="false">
            <column ascending="true" name="credit_type_code"/>
         </index>
         <index name="debit_type_code" unique="false">
            <column ascending="true" name="debit_type_code"/>
         </index>
         <index name="itemnumber" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="manager_id" unique="false">
            <column ascending="true" name="manager_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="accountlines_id"/>
         </index>
         <index name="timeidx" unique="false">
            <column ascending="true" name="timestamp"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="action_logs" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="action_id" nullable="false" remarks="unique identifier for each action" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="1" name="timestamp" nullable="false" remarks="the date and time the action took place" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="user" nullable="false" remarks="the staff member who performed the action (borrowers.borrowernumber)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="module" nullable="true" remarks="the module this action was taken against" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="action" nullable="true" remarks="the action (includes things like DELETED, ADDED, MODIFY, etc)" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="object" nullable="true" remarks="the object that the action was taken against (could be a borrowernumber, itemnumber, etc)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="info" nullable="true" remarks="information about the action (usually includes SQL statement)" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="interface" nullable="true" remarks="the context this action was taken in" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="script" nullable="true" remarks="the name of the cron script that caused this change" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="trace" nullable="true" remarks="An optional stack trace enabled by ActionLogsTraceDepth" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="diff" nullable="true" remarks="Stores a diff of the changed object" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="action_id" sequenceNumberInPK="1"/>
         <index name="action_logs_s_pk" unique="true">
            <column ascending="true" name="action_id"/>
         </index>
         <index name="action_idx" unique="false">
            <column ascending="true" name="action"/>
         </index>
         <index name="info_idx" unique="false">
            <column ascending="true" name="info"/>
         </index>
         <index name="interface" unique="false">
            <column ascending="true" name="interface"/>
         </index>
         <index name="module_idx" unique="false">
            <column ascending="true" name="module"/>
         </index>
         <index name="object_idx" unique="false">
            <column ascending="true" name="object"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="action_id"/>
         </index>
         <index name="timestamp_idx" unique="false">
            <column ascending="true" name="timestamp"/>
         </index>
         <index name="user_idx" unique="false">
            <column ascending="true" name="user"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="additional_contents" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique identifier for the additional content category" size="10" type="INT UNSIGNED" typeCode="4">
            <child catalog="koha_25_11" column="additional_content_id" foreignKey="additional_contents_localizations_ibfk1" implied="false" onDeleteCascade="true" table="additional_contents_localizations"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="category" nullable="false" remarks="category for the additional content" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="code" nullable="false" remarks="code to group content per lang" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="location" nullable="false" remarks="location of the additional content" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="branchcode" nullable="true" remarks="branch code users to create branch specific additional content, NULL is every branch." size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="additional_contents_branchcode_ibfk" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="published_on" nullable="true" remarks="publication date" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="6" name="updated_on" nullable="false" remarks="last modification" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="expirationdate" nullable="true" remarks="date the additional content is set to expire or no longer be visible" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="number" nullable="true" remarks="the order in which this additional content appears in that specific location" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="borrowernumber" nullable="true" remarks="The user who created the additional content" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="borrowernumber_fk" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="additional_contents_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="additional_contents_borrowernumber_fk" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="additional_contents_branchcode_ibfk" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="additional_contents_uniq" unique="true">
            <column ascending="true" name="category"/>
            <column ascending="true" name="code"/>
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="additional_contents_localizations" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique identifier for the additional content" size="10" type="INT UNSIGNED" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="additional_content_id" nullable="false" remarks="link to the additional content" size="10" type="INT UNSIGNED" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="additional_contents_localizations_ibfk1" implied="false" onDeleteCascade="true" table="additional_contents"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="title" nullable="false" remarks="title of the additional content" size="250" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="content" nullable="false" remarks="the body of your additional content" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="4" name="lang" nullable="false" remarks="lang" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="updated_on" nullable="false" remarks="last modification" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="additional_contents_localizations_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="additional_contents_localizations_uniq" unique="true">
            <column ascending="true" name="additional_content_id"/>
            <column ascending="true" name="lang"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="additional_field_values" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="primary key identifier" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="field_id" nullable="false" remarks="foreign key references additional_fields(id)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="afv_fk" implied="false" onDeleteCascade="true" table="additional_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="record_table" nullable="false" remarks="tablename of the related record" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="3" name="record_id" nullable="false" remarks="record_id" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="4" name="value" nullable="false" remarks="value for this field" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="additional_field_values_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="afv_fk" unique="false">
            <column ascending="true" name="field_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="record_table" unique="false">
            <column ascending="true" name="record_table"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="additional_fields" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="primary key identifier" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="field_id" foreignKey="afv_fk" implied="false" onDeleteCascade="true" table="additional_field_values"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="tablename" nullable="false" remarks="tablename of the new field" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="name" nullable="false" remarks="name of the field" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="authorised_value_category" nullable="true" remarks="is an authorised value category" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="4" name="marcfield" nullable="false" remarks="contains the marc field to copied into the record" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'get'" digits="0" id="5" name="marcfield_mode" nullable="false" remarks="mode of operation (get or set) for marcfield" size="3" type="enum('get', 'set')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="searchable" nullable="false" remarks="is the field searchable?" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="repeatable" nullable="false" remarks="is the field repeatable?" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="additional_fields_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="fields_uniq" unique="true">
            <column ascending="true" name="tablename"/>
            <column ascending="true" name="name"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="advanced_editor_macros" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="Unique ID of the macro" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="Name of the macro" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="macro" nullable="true" remarks="The macro code itself" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="borrowernumber" nullable="true" remarks="ID of the borrower who created this macro" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="borrower_macro_fk" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="shared" nullable="true" remarks="Bit to define if shared or private macro" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="advanced_editor_macros_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="borrower_macro_fk" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="alert" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="alertid" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="borrowernumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="alert_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="type" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="3" name="externalid" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
         <primaryKey column="alertid" sequenceNumberInPK="1"/>
         <index name="alert_s_pk" unique="true">
            <column ascending="true" name="alertid"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="alertid"/>
         </index>
         <index name="type" unique="false">
            <column ascending="true" name="type"/>
            <column ascending="true" name="externalid"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="api_keys" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="client_id" nullable="false" remarks="API client ID" size="191" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="client_id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="oauth_access_tokens"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="secret" nullable="false" remarks="API client secret used for API authentication" size="191" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="description" nullable="false" remarks="API client description" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="patron_id" nullable="false" remarks="Foreign key to the borrowers table" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="api_keys_fk_patron_id" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="1" digits="0" id="4" name="active" nullable="false" remarks="0 means this API key is revoked" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="client_id" sequenceNumberInPK="1"/>
         <index name="api_keys_s_pk" unique="true">
            <column ascending="true" name="client_id"/>
         </index>
         <index name="patron_id" unique="false">
            <column ascending="true" name="patron_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="client_id"/>
         </index>
         <index name="secret" unique="true">
            <column ascending="true" name="secret"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqbasket" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="basketno" nullable="false" remarks="primary key, Koha defined number" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="basketno" foreignKey="aqbasketusers_ibfk_1" implied="false" onDeleteCascade="true" table="aqbasketusers"/>
            <child catalog="koha_25_11" column="basketno" foreignKey="aqorders_ibfk_1" implied="false" onDeleteCascade="true" table="aqorders"/>
            <child catalog="koha_25_11" column="basketno" foreignKey="emfk_basketno" implied="false" onDeleteCascade="true" table="edifact_messages"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="basketname" nullable="true" remarks="name given to the basket at creation" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="note" nullable="true" remarks="the internal note added at basket creation" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="booksellernote" nullable="true" remarks="the vendor note added at basket creation" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="contractnumber" nullable="true" remarks="links this basket to the aqcontract table (aqcontract.contractnumber)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="contractnumber" foreignKey="aqbasket_ibfk_2" implied="false" onDeleteCascade="false" table="aqcontract"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="creationdate" nullable="true" remarks="the date the basket was created" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="closedate" nullable="true" remarks="the date the basket was closed" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="7" name="booksellerid" nullable="false" remarks="the Koha assigned ID for the vendor (aqbooksellers.id)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="aqbasket_ibfk_1" implied="false" onDeleteCascade="false" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="authorisedby" nullable="true" remarks="the borrowernumber of the person who created the basket" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="booksellerinvoicenumber" nullable="true" remarks="appears to always be NULL" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="basketgroupid" nullable="true" remarks="links this basket to its group (aqbasketgroups.id)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="aqbasket_ibfk_3" implied="false" onDeleteCascade="false" table="aqbasketgroups"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="deliveryplace" nullable="true" remarks="basket delivery place" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="billingplace" nullable="true" remarks="basket billing place" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="branch" nullable="true" remarks="basket branch" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="aqbasket_ibfk_4" implied="false" onDeleteCascade="false" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="14" name="is_standing" nullable="false" remarks="orders in this basket are standing" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="create_items" nullable="true" remarks="when items should be created for orders in this basket" size="11" type="enum('ordering', 'receiving', 'cataloguing')" typeCode="12"/>
         <primaryKey column="basketno" sequenceNumberInPK="1"/>
         <index name="aqbasket_s_pk" unique="true">
            <column ascending="true" name="basketno"/>
         </index>
         <index name="aqbasket_ibfk_4" unique="false">
            <column ascending="true" name="branch"/>
         </index>
         <index name="authorisedby" unique="false">
            <column ascending="true" name="authorisedby"/>
         </index>
         <index name="basketgroupid" unique="false">
            <column ascending="true" name="basketgroupid"/>
         </index>
         <index name="booksellerid" unique="false">
            <column ascending="true" name="booksellerid"/>
         </index>
         <index name="contractnumber" unique="false">
            <column ascending="true" name="contractnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="basketno"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqbasketgroups" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="basketgroupid" foreignKey="aqbasket_ibfk_3" implied="false" onDeleteCascade="false" table="aqbasket"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="name" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="closed" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="booksellerid" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="aqbasketgroups_ibfk_1" implied="false" onDeleteCascade="true" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="deliveryplace" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="freedeliveryplace" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="deliverycomment" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="billingplace" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="aqbasketgroups_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="booksellerid" unique="false">
            <column ascending="true" name="booksellerid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqbasketusers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="basketno" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="basketno" foreignKey="aqbasketusers_ibfk_1" implied="false" onDeleteCascade="true" table="aqbasket"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="aqbasketusers_ibfk_2" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <primaryKey column="basketno" sequenceNumberInPK="1"/>
         <primaryKey column="borrowernumber" sequenceNumberInPK="2"/>
         <index name="aqbasketusers_s_pk" unique="true">
            <column ascending="true" name="basketno"/>
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="aqbasketusers_ibfk_2" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="basketno"/>
            <column ascending="true" name="borrowernumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqbookseller_aliases" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="vendor_alias_id" nullable="false" remarks="primary key and unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="vendor_id" nullable="false" remarks="link to the vendor" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="aqbookseller_aliases_ibfk_1" implied="false" onDeleteCascade="true" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="alias" nullable="false" remarks="the alias" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="vendor_alias_id" sequenceNumberInPK="1"/>
         <index name="aqbookseller_aliases_s_pk" unique="true">
            <column ascending="true" name="vendor_alias_id"/>
         </index>
         <index name="aqbookseller_aliases_ibfk_1" unique="false">
            <column ascending="true" name="vendor_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="vendor_alias_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqbookseller_interfaces" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="vendor_interface_id" nullable="false" remarks="primary key and unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="vendor_id" nullable="false" remarks="link to the vendor" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="aqbookseller_interfaces_ibfk_1" implied="false" onDeleteCascade="true" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="type" nullable="true" remarks="type of the interface, authorised value VENDOR_INTERFACE_TYPE" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="name" nullable="false" remarks="name of the interface" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="uri" nullable="true" remarks="uri of the interface" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="login" nullable="true" remarks="login" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="password" nullable="true" remarks="hashed password" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="account_email" nullable="true" remarks="account email" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="notes" nullable="true" remarks="notes" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="vendor_interface_id" sequenceNumberInPK="1"/>
         <index name="aqbookseller_interfaces_s_pk" unique="true">
            <column ascending="true" name="vendor_interface_id"/>
         </index>
         <index name="aqbookseller_interfaces_ibfk_1" unique="false">
            <column ascending="true" name="vendor_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="vendor_interface_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqbookseller_issues" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="issue_id" nullable="false" remarks="primary key and unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="vendor_id" nullable="false" remarks="link to the vendor" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="aqbookseller_issues_ibfk_1" implied="false" onDeleteCascade="true" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="type" nullable="true" remarks="type of the issue, authorised value VENDOR_ISSUE_TYPE" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="started_on" nullable="true" remarks="start of the issue" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="ended_on" nullable="true" remarks="end of the issue" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="notes" nullable="true" remarks="notes" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="issue_id" sequenceNumberInPK="1"/>
         <index name="aqbookseller_issues_s_pk" unique="true">
            <column ascending="true" name="issue_id"/>
         </index>
         <index name="aqbookseller_issues_ibfk_1" unique="false">
            <column ascending="true" name="vendor_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="issue_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqbooksellers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="primary key and unique identifier assigned by Koha" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="booksellerid" foreignKey="aqbasket_ibfk_1" implied="false" onDeleteCascade="false" table="aqbasket"/>
            <child catalog="koha_25_11" column="booksellerid" foreignKey="aqbasketgroups_ibfk_1" implied="false" onDeleteCascade="true" table="aqbasketgroups"/>
            <child catalog="koha_25_11" column="vendor_id" foreignKey="aqbookseller_aliases_ibfk_1" implied="false" onDeleteCascade="true" table="aqbookseller_aliases"/>
            <child catalog="koha_25_11" column="vendor_id" foreignKey="aqbookseller_interfaces_ibfk_1" implied="false" onDeleteCascade="true" table="aqbookseller_interfaces"/>
            <child catalog="koha_25_11" column="vendor_id" foreignKey="aqbookseller_issues_ibfk_1" implied="false" onDeleteCascade="true" table="aqbookseller_issues"/>
            <child catalog="koha_25_11" column="booksellerid" foreignKey="booksellerid_aqcontacts_fk" implied="false" onDeleteCascade="true" table="aqcontacts"/>
            <child catalog="koha_25_11" column="booksellerid" foreignKey="booksellerid_fk1" implied="false" onDeleteCascade="true" table="aqcontract"/>
            <child catalog="koha_25_11" column="booksellerid" foreignKey="aqinvoices_fk_aqbooksellerid" implied="false" onDeleteCascade="true" table="aqinvoices"/>
            <child catalog="koha_25_11" column="vendor_id" foreignKey="emfk_vendor" implied="false" onDeleteCascade="true" table="edifact_messages"/>
            <child catalog="koha_25_11" column="vendor_id" foreignKey="erm_agreements_ibfk_1" implied="false" onDeleteCascade="false" table="erm_agreements"/>
            <child catalog="koha_25_11" column="vendor_id" foreignKey="erm_eholdings_packages_ibfk_1" implied="false" onDeleteCascade="false" table="erm_eholdings_packages"/>
            <child catalog="koha_25_11" column="vendor_id" foreignKey="erm_eholdings_resources_ibfk_3" implied="false" onDeleteCascade="false" table="erm_eholdings_resources"/>
            <child catalog="koha_25_11" column="vendor_id" foreignKey="erm_licenses_ibfk_1" implied="false" onDeleteCascade="false" table="erm_licenses"/>
            <child catalog="koha_25_11" column="vendor_id" foreignKey="marc_ordering_account_ibfk_1" implied="false" onDeleteCascade="true" table="marc_order_accounts"/>
            <child catalog="koha_25_11" column="aqbooksellerid" foreignKey="subscription_ibfk_4" implied="false" onDeleteCascade="false" table="subscription"/>
            <child catalog="koha_25_11" column="vendor_id" foreignKey="vfk_vendor_id" implied="false" onDeleteCascade="false" table="vendor_edi_accounts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="vendor name" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="address1" nullable="true" remarks="first line of vendor physical address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="address2" nullable="true" remarks="second line of vendor physical address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="address3" nullable="true" remarks="third line of vendor physical address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="address4" nullable="true" remarks="fourth line of vendor physical address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="phone" nullable="true" remarks="vendor phone number" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="accountnumber" nullable="true" remarks="vendor account number" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="type" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="notes" nullable="true" remarks="order notes" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="postal" nullable="true" remarks="vendor postal address (all lines)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="url" nullable="true" remarks="vendor web address" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="active" nullable="true" remarks="is this vendor active (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="listprice" nullable="true" remarks="currency code for list prices" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="currency" foreignKey="aqbooksellers_ibfk_1" implied="false" onDeleteCascade="true" table="currency"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="invoiceprice" nullable="true" remarks="currency code for invoice prices" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="currency" foreignKey="aqbooksellers_ibfk_2" implied="false" onDeleteCascade="true" table="currency"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="gstreg" nullable="true" remarks="is your library charged tax (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="listincgst" nullable="true" remarks="is tax included in list prices (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="invoiceincgst" nullable="true" remarks="is tax included in invoice prices (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="NULL" digits="4" id="18" name="tax_rate" nullable="true" remarks="the tax rate the library is charged" size="6" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="4" id="19" name="discount" nullable="true" remarks="discount offered on all items ordered from this vendor" size="6" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="fax" nullable="true" remarks="vendor fax number" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="deliverytime" nullable="true" remarks="vendor delivery time" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="external_id" nullable="true" remarks="external id of the vendor" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="aqbooksellers_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="invoiceprice" unique="false">
            <column ascending="true" name="invoiceprice"/>
         </index>
         <index name="listprice" unique="false">
            <column ascending="true" name="listprice"/>
         </index>
         <index name="name" unique="false">
            <column ascending="true" name="name"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqbudgetborrowers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="budget_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="budget_id" foreignKey="aqbudgetborrowers_ibfk_1" implied="false" onDeleteCascade="true" table="aqbudgets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="aqbudgetborrowers_ibfk_2" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <primaryKey column="budget_id" sequenceNumberInPK="1"/>
         <primaryKey column="borrowernumber" sequenceNumberInPK="2"/>
         <index name="aqbudgetborrowers_s_pk" unique="true">
            <column ascending="true" name="budget_id"/>
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="aqbudgetborrowers_ibfk_2" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="budget_id"/>
            <column ascending="true" name="borrowernumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqbudgetperiods" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="budget_period_id" nullable="false" remarks="primary key and unique number assigned by Koha" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="budget_period_id" foreignKey="aqbudgetperiods_ibfk_1" implied="false" onDeleteCascade="true" table="aqbudgets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="budget_period_startdate" nullable="false" remarks="date when the budget starts" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="budget_period_enddate" nullable="false" remarks="date when the budget ends" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="budget_period_active" nullable="true" remarks="whether this budget is active or not (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="budget_period_description" nullable="true" remarks="description assigned to this budget" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="5" name="budget_period_total" nullable="true" remarks="total amount available in this budget" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="budget_period_locked" nullable="true" remarks="whether this budget is locked or not (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="sort1_authcat" nullable="true" remarks="statistical category for this budget" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="sort2_authcat" nullable="true" remarks="second statistical category for this budget" size="10" type="VARCHAR" typeCode="12"/>
         <primaryKey column="budget_period_id" sequenceNumberInPK="1"/>
         <index name="aqbudgetperiods_s_pk" unique="true">
            <column ascending="true" name="budget_period_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="budget_period_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqbudgets" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="budget_id" nullable="false" remarks="primary key and unique number assigned to each fund by Koha" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="budget_id" foreignKey="aqbudgetborrowers_ibfk_1" implied="false" onDeleteCascade="true" table="aqbudgetborrowers"/>
            <child catalog="koha_25_11" column="budget_id" foreignKey="aqbudgets_planning_ifbk_1" implied="false" onDeleteCascade="true" table="aqbudgets_planning"/>
            <child catalog="koha_25_11" column="budget_id" foreignKey="aqinvoice_adjustments_fk_budget_id" implied="false" onDeleteCascade="false" table="aqinvoice_adjustments"/>
            <child catalog="koha_25_11" column="shipmentcost_budgetid" foreignKey="aqinvoices_fk_shipmentcost_budgetid" implied="false" onDeleteCascade="false" table="aqinvoices"/>
            <child catalog="koha_25_11" column="budget_id" foreignKey="aqorders_budget_id_fk" implied="false" onDeleteCascade="true" table="aqorders"/>
            <child catalog="koha_25_11" column="budget_id" foreignKey="marc_ordering_account_ibfk_2" implied="false" onDeleteCascade="true" table="marc_order_accounts"/>
            <child catalog="koha_25_11" column="budgetid" foreignKey="suggestions_budget_id_fk" implied="false" onDeleteCascade="false" table="suggestions"/>
            <child catalog="koha_25_11" column="shipment_budget" foreignKey="vfk_shipment_budget" implied="false" onDeleteCascade="false" table="vendor_edi_accounts"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="budget_parent_id" nullable="true" remarks="if this fund is a child of another this will include the parent id (aqbudgets.budget_id)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="budget_code" nullable="true" remarks="code assigned to the fund by the user" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="budget_name" nullable="true" remarks="name assigned to the fund by the user" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="budget_branchcode" nullable="true" remarks="branch that this fund belongs to (branches.branchcode)" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0.000000" digits="6" id="5" name="budget_amount" nullable="true" remarks="total amount for this fund" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="0.000000" digits="6" id="6" name="budget_encumb" nullable="true" remarks="budget warning at percentage" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="0.000000" digits="6" id="7" name="budget_expend" nullable="true" remarks="budget warning at amount" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="budget_notes" nullable="true" remarks="notes related to this fund" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="9" name="timestamp" nullable="false" remarks="date and time this fund was last touched (created or modified)" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="budget_period_id" nullable="false" remarks="id of the budget that this fund belongs to (aqbudgetperiods.budget_period_id)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="budget_period_id" foreignKey="aqbudgetperiods_ibfk_1" implied="false" onDeleteCascade="true" table="aqbudgetperiods"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="sort1_authcat" nullable="true" remarks="statistical category for this fund" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="sort2_authcat" nullable="true" remarks="second statistical category for this fund" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="budget_owner_id" nullable="true" remarks="borrowernumber of the person who owns this fund (borrowers.borrowernumber)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="14" name="budget_permission" nullable="true" remarks="level of permission for this fund (used only by the owner, only by the library, or anyone)" size="10" type="INT" typeCode="4"/>
         <primaryKey column="budget_id" sequenceNumberInPK="1"/>
         <index name="aqbudgets_s_pk" unique="true">
            <column ascending="true" name="budget_id"/>
         </index>
         <index name="budget_branchcode" unique="false">
            <column ascending="true" name="budget_branchcode"/>
         </index>
         <index name="budget_code" unique="false">
            <column ascending="true" name="budget_code"/>
         </index>
         <index name="budget_owner_id" unique="false">
            <column ascending="true" name="budget_owner_id"/>
         </index>
         <index name="budget_parent_id" unique="false">
            <column ascending="true" name="budget_parent_id"/>
         </index>
         <index name="budget_period_id" unique="false">
            <column ascending="true" name="budget_period_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="budget_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqbudgets_planning" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="plan_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="budget_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="budget_id" foreignKey="aqbudgets_planning_ifbk_1" implied="false" onDeleteCascade="true" table="aqbudgets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="budget_period_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="3" name="estimated_amount" nullable="true" remarks="" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="authcat" nullable="false" remarks="" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="authvalue" nullable="false" remarks="" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="6" name="display" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="plan_id" sequenceNumberInPK="1"/>
         <index name="aqbudgets_planning_s_pk" unique="true">
            <column ascending="true" name="plan_id"/>
         </index>
         <index name="aqbudgets_planning_ifbk_1" unique="false">
            <column ascending="true" name="budget_id"/>
         </index>
         <index name="budget_period_id" unique="false">
            <column ascending="true" name="budget_period_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="plan_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqcontacts" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="primary key and unique number assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="name" nullable="true" remarks="name of contact at vendor" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="position" nullable="true" remarks="contact person's position" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="phone" nullable="true" remarks="contact's phone number" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="altphone" nullable="true" remarks="contact's alternate phone number" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="fax" nullable="true" remarks="contact's fax number" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="email" nullable="true" remarks="contact's email address" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="notes" nullable="true" remarks="notes related to the contact" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="8" name="orderacquisition" nullable="false" remarks="should this contact receive acquisition orders" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="9" name="claimacquisition" nullable="false" remarks="should this contact receive acquisitions claims" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="claimissues" nullable="false" remarks="should this contact receive serial claims" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="11" name="acqprimary" nullable="false" remarks="is this the primary contact for acquisitions messages" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="12" name="serialsprimary" nullable="false" remarks="is this the primary contact for serials messages" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="booksellerid" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="booksellerid_aqcontacts_fk" implied="false" onDeleteCascade="true" table="aqbooksellers"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="aqcontacts_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="booksellerid_aqcontacts_fk" unique="false">
            <column ascending="true" name="booksellerid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqcontract" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="contractnumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="contractnumber" foreignKey="aqbasket_ibfk_2" implied="false" onDeleteCascade="false" table="aqbasket"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="contractstartdate" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="contractenddate" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="contractname" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="contractdescription" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="booksellerid" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="booksellerid_fk1" implied="false" onDeleteCascade="true" table="aqbooksellers"/>
         </column>
         <primaryKey column="contractnumber" sequenceNumberInPK="1"/>
         <index name="aqcontract_s_pk" unique="true">
            <column ascending="true" name="contractnumber"/>
         </index>
         <index name="booksellerid_fk1" unique="false">
            <column ascending="true" name="booksellerid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="contractnumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqinvoice_adjustments" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="adjustment_id" nullable="false" remarks="primary key for adjustments" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="invoiceid" nullable="false" remarks="foreign key to link an adjustment to an invoice" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="invoiceid" foreignKey="aqinvoice_adjustments_fk_invoiceid" implied="false" onDeleteCascade="true" table="aqinvoices"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="2" name="adjustment" nullable="true" remarks="amount of adjustment" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="reason" nullable="true" remarks="reason for adjustment defined by authorised values in ADJ_REASON category" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="note" nullable="true" remarks="text to explain adjustment" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="budget_id" nullable="true" remarks="optional link to budget to apply adjustment to" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="budget_id" foreignKey="aqinvoice_adjustments_fk_budget_id" implied="false" onDeleteCascade="false" table="aqbudgets"/>
         </column>
         <column autoUpdated="false" defaultValue="1" digits="0" id="6" name="encumber_open" nullable="false" remarks="whether or not to encumber the funds when invoice is still open, 1 = yes, 0 = no" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="7" name="timestamp" nullable="false" remarks="timestamp  of last adjustment to adjustment" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="adjustment_id" sequenceNumberInPK="1"/>
         <index name="aqinvoice_adjustments_s_pk" unique="true">
            <column ascending="true" name="adjustment_id"/>
         </index>
         <index name="aqinvoice_adjustments_fk_budget_id" unique="false">
            <column ascending="true" name="budget_id"/>
         </index>
         <index name="aqinvoice_adjustments_fk_invoiceid" unique="false">
            <column ascending="true" name="invoiceid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="adjustment_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqinvoices" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="invoiceid" nullable="false" remarks="ID of the invoice, primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="invoiceid" foreignKey="aqinvoice_adjustments_fk_invoiceid" implied="false" onDeleteCascade="true" table="aqinvoice_adjustments"/>
            <child catalog="koha_25_11" column="invoiceid" foreignKey="aqorders_ibfk_3" implied="false" onDeleteCascade="false" table="aqorders"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="invoicenumber" nullable="false" remarks="Name of invoice" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="booksellerid" nullable="false" remarks="foreign key to aqbooksellers" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="aqinvoices_fk_aqbooksellerid" implied="false" onDeleteCascade="true" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="shipmentdate" nullable="true" remarks="date of shipment" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="billingdate" nullable="true" remarks="date of billing" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="closedate" nullable="true" remarks="invoice close date, NULL means the invoice is open" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="shipmentcost" nullable="true" remarks="shipment cost" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="shipmentcost_budgetid" nullable="true" remarks="foreign key to aqbudgets, link the shipment cost to a budget" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="budget_id" foreignKey="aqinvoices_fk_shipmentcost_budgetid" implied="false" onDeleteCascade="false" table="aqbudgets"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="message_id" nullable="true" remarks="foreign key to edifact invoice message" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="edifact_msg_fk" implied="false" onDeleteCascade="false" table="edifact_messages"/>
         </column>
         <primaryKey column="invoiceid" sequenceNumberInPK="1"/>
         <index name="aqinvoices_s_pk" unique="true">
            <column ascending="true" name="invoiceid"/>
         </index>
         <index name="aqinvoices_fk_aqbooksellerid" unique="false">
            <column ascending="true" name="booksellerid"/>
         </index>
         <index name="aqinvoices_fk_shipmentcost_budgetid" unique="false">
            <column ascending="true" name="shipmentcost_budgetid"/>
         </index>
         <index name="edifact_msg_fk" unique="false">
            <column ascending="true" name="message_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="invoiceid"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqorder_users" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="ordernumber" nullable="false" remarks="the order this patrons receive notifications from (aqorders.ordernumber)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="ordernumber" foreignKey="aqorder_users_ibfk_1" implied="false" onDeleteCascade="true" table="aqorders"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="the borrowernumber for the patron receiving notifications for this order (borrowers.borrowernumber)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="aqorder_users_ibfk_2" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <primaryKey column="ordernumber" sequenceNumberInPK="1"/>
         <primaryKey column="borrowernumber" sequenceNumberInPK="2"/>
         <index name="aqorder_users_s_pk" unique="true">
            <column ascending="true" name="ordernumber"/>
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="aqorder_users_ibfk_2" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="ordernumber"/>
            <column ascending="true" name="borrowernumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqorders" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="ordernumber" nullable="false" remarks="primary key and unique identifier assigned by Koha to each line" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="ordernumber" foreignKey="aqorder_users_ibfk_1" implied="false" onDeleteCascade="true" table="aqorder_users"/>
            <child catalog="koha_25_11" column="ordernumber" foreignKey="aqorders_claims_ibfk_1" implied="false" onDeleteCascade="true" table="aqorders_claims"/>
            <child catalog="koha_25_11" column="ordernumber" foreignKey="aqorders_items_ibfk_1" implied="false" onDeleteCascade="true" table="aqorders_items"/>
            <child catalog="koha_25_11" column="ordernumber_from" foreignKey="aqorders_transfers_ordernumber_from" implied="false" onDeleteCascade="false" table="aqorders_transfers"/>
            <child catalog="koha_25_11" column="ordernumber_to" foreignKey="aqorders_transfers_ordernumber_to" implied="false" onDeleteCascade="false" table="aqorders_transfers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="biblionumber" nullable="true" remarks="links the order to the biblio being ordered (biblio.biblionumber)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="aqorders_ibfk_2" implied="false" onDeleteCascade="false" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="deleted_biblionumber" nullable="true" remarks="links the order to the deleted bibliographic record (deletedbiblio.biblionumber)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="entrydate" nullable="true" remarks="the date the bib was added to the basket" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="quantity" nullable="true" remarks="the quantity ordered" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="currency" nullable="true" remarks="the currency used for the purchase" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="currency" foreignKey="aqorders_currency" implied="false" onDeleteCascade="false" table="currency"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="listprice" nullable="true" remarks="the vendor price for this line item" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="datereceived" nullable="true" remarks="the date this order was received" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="invoiceid" nullable="true" remarks="id of invoice" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="invoiceid" foreignKey="aqorders_ibfk_3" implied="false" onDeleteCascade="false" table="aqinvoices"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="9" name="freight" nullable="true" remarks="shipping costs (not used)" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="10" name="unitprice" nullable="true" remarks="the actual cost entered when receiving this line item" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="11" name="unitprice_tax_excluded" nullable="true" remarks="the unit price excluding tax (on receiving)" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="12" name="unitprice_tax_included" nullable="true" remarks="the unit price including tax (on receiving)" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="13" name="quantityreceived" nullable="false" remarks="the quantity that have been received so far" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="created_by" nullable="true" remarks="the borrowernumber of order line's creator" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="aqorders_created_by" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="datecancellationprinted" nullable="true" remarks="the date the line item was deleted" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="cancellationreason" nullable="true" remarks="reason of cancellation" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="order_internalnote" nullable="true" remarks="notes related to this order line, made for staff" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="order_vendornote" nullable="true" remarks="notes related to this order line, made for vendor" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="basketno" nullable="true" remarks="links this order line to a specific basket (aqbasket.basketno)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="basketno" foreignKey="aqorders_ibfk_1" implied="false" onDeleteCascade="true" table="aqbasket"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="20" name="timestamp" nullable="false" remarks="the date and time this order line was last modified" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="2" id="21" name="rrp" nullable="true" remarks="the retail cost for this line item" size="13" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="22" name="replacementprice" nullable="true" remarks="the replacement cost for this line item" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="23" name="rrp_tax_excluded" nullable="true" remarks="the replacement cost excluding tax" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="24" name="rrp_tax_included" nullable="true" remarks="the replacement cost including tax" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="2" id="25" name="ecost" nullable="true" remarks="the replacement cost for this line item" size="13" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="26" name="ecost_tax_excluded" nullable="true" remarks="the estimated cost excluding tax" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="27" name="ecost_tax_included" nullable="true" remarks="the estimated cost including tax" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="4" id="28" name="tax_rate_bak" nullable="true" remarks="the tax rate for this line item (%)" size="6" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="4" id="29" name="tax_rate_on_ordering" nullable="true" remarks="the tax rate on ordering for this line item (%)" size="6" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="4" id="30" name="tax_rate_on_receiving" nullable="true" remarks="the tax rate on receiving for this line item (%)" size="6" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="31" name="tax_value_bak" nullable="true" remarks="the tax value for this line item" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="32" name="tax_value_on_ordering" nullable="true" remarks="the tax value on ordering for this line item" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="33" name="tax_value_on_receiving" nullable="true" remarks="the tax value on receiving for this line item" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="4" id="34" name="discount" nullable="true" remarks="the discount for this line item (%)" size="6" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="35" name="budget_id" nullable="false" remarks="the fund this order goes against (aqbudgets.budget_id)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="budget_id" foreignKey="aqorders_budget_id_fk" implied="false" onDeleteCascade="true" table="aqbudgets"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="36" name="budgetdate" nullable="true" remarks="not used? always NULL" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="37" name="sort1" nullable="true" remarks="statistical field" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="38" name="sort2" nullable="true" remarks="second statistical field" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="39" name="sort1_authcat" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="40" name="sort2_authcat" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="41" name="uncertainprice" nullable="true" remarks="was this price uncertain (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="42" name="subscriptionid" nullable="true" remarks="links this order line to a subscription (subscription.subscriptionid)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="subscriptionid" foreignKey="aqorders_subscriptionid" implied="false" onDeleteCascade="false" table="subscription"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="43" name="parent_ordernumber" nullable="true" remarks="ordernumber of parent order line, or same as ordernumber if no parent" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="'new'" digits="0" id="44" name="orderstatus" nullable="true" remarks="the current status for this line item. Can be 'new', 'ordered', 'partial', 'complete' or 'cancelled'" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="45" name="line_item_id" nullable="true" remarks="Supplier's article id for Edifact orderline" size="35" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="46" name="suppliers_reference_number" nullable="true" remarks="Suppliers unique edifact quote ref" size="35" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="47" name="suppliers_reference_qualifier" nullable="true" remarks="Type of number above usually 'QLI'" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="48" name="suppliers_report" nullable="true" remarks="reports received from suppliers" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="49" name="estimated_delivery_date" nullable="true" remarks="Estimated delivery date" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="50" name="invoice_unitprice" nullable="true" remarks="the unit price in foreign currency" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="51" name="invoice_currency" nullable="true" remarks="the currency of the invoice_unitprice" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="currency" foreignKey="aqorders_invoice_currency" implied="false" onDeleteCascade="false" table="currency"/>
         </column>
         <primaryKey column="ordernumber" sequenceNumberInPK="1"/>
         <index name="aqorders_s_pk" unique="true">
            <column ascending="true" name="ordernumber"/>
         </index>
         <index name="aqorders_created_by" unique="false">
            <column ascending="true" name="created_by"/>
         </index>
         <index name="aqorders_currency" unique="false">
            <column ascending="true" name="currency"/>
         </index>
         <index name="aqorders_ibfk_3" unique="false">
            <column ascending="true" name="invoiceid"/>
         </index>
         <index name="aqorders_invoice_currency" unique="false">
            <column ascending="true" name="invoice_currency"/>
         </index>
         <index name="aqorders_subscriptionid" unique="false">
            <column ascending="true" name="subscriptionid"/>
         </index>
         <index name="basketno" unique="false">
            <column ascending="true" name="basketno"/>
         </index>
         <index name="biblionumber" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="budget_id" unique="false">
            <column ascending="true" name="budget_id"/>
         </index>
         <index name="orderstatus" unique="false">
            <column ascending="true" name="orderstatus"/>
         </index>
         <index name="parent_ordernumber" unique="false">
            <column ascending="true" name="parent_ordernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="ordernumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqorders_claims" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="ID of the claims" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="ordernumber" nullable="false" remarks="order linked to this claim" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="ordernumber" foreignKey="aqorders_claims_ibfk_1" implied="false" onDeleteCascade="true" table="aqorders"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="2" name="claimed_on" nullable="false" remarks="Date of the claims" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="aqorders_claims_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="aqorders_claims_ibfk_1" unique="false">
            <column ascending="true" name="ordernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqorders_items" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="ordernumber" nullable="false" remarks="the order this item is attached to (aqorders.ordernumber)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="ordernumber" foreignKey="aqorders_items_ibfk_1" implied="false" onDeleteCascade="true" table="aqorders"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="itemnumber" nullable="false" remarks="the item number for this item (items.itemnumber)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="2" name="timestamp" nullable="false" remarks="the date and time this order item was last touched" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="itemnumber" sequenceNumberInPK="1"/>
         <index name="aqorders_items_s_pk" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="ordernumber" unique="false">
            <column ascending="true" name="ordernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="aqorders_transfers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="0" name="ordernumber_from" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="ordernumber" foreignKey="aqorders_transfers_ordernumber_from" implied="false" onDeleteCascade="false" table="aqorders"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="ordernumber_to" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="ordernumber" foreignKey="aqorders_transfers_ordernumber_to" implied="false" onDeleteCascade="false" table="aqorders"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="2" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <index name="ordernumber_from" unique="true">
            <column ascending="true" name="ordernumber_from"/>
         </index>
         <index name="ordernumber_to" unique="true">
            <column ascending="true" name="ordernumber_to"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="article_requests" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="article_requests_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="biblionumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="article_requests_ibfk_2" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="itemnumber" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="article_requests_ibfk_3" implied="false" onDeleteCascade="false" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="article_requests_ibfk_4" implied="false" onDeleteCascade="false" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="title" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="author" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="volume" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="issue" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="date" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="pages" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="chapters" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="patron_notes" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="'REQUESTED'" digits="0" id="13" name="status" nullable="false" remarks="" size="10" type="enum('REQUESTED', 'PENDING', 'PROCESSING', 'COMPLETED', 'CANCELED')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="notes" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="'PHOTOCOPY'" digits="0" id="15" name="format" nullable="false" remarks="" size="9" type="enum('PHOTOCOPY', 'SCAN')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="urls" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="cancellation_reason" nullable="true" remarks="optional authorised value AR_CANCELLATION" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="debit_id" nullable="true" remarks="Debit line with cost for article scan request" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="accountlines_id" foreignKey="article_requests_ibfk_5" implied="false" onDeleteCascade="false" table="accountlines"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="created_on" nullable="true" remarks="Be careful with two timestamps in one table not allowing NULL" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="20" name="updated_on" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="21" name="toc_request" nullable="false" remarks="borrower requested table of contents" size="3" type="TINYINT" typeCode="-6"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="article_requests_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="biblionumber" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="debit_id" unique="false">
            <column ascending="true" name="debit_id"/>
         </index>
         <index name="itemnumber" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="audio_alerts" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="precedence" nullable="false" remarks="" size="5" type="SMALLINT UNSIGNED" typeCode="5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="selector" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="sound" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="audio_alerts_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="precedence" unique="false">
            <column ascending="true" name="precedence"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="auth_header" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="authid" nullable="false" remarks="" size="20" type="BIGINT UNSIGNED" typeCode="-5">
            <child catalog="koha_25_11" column="authid" foreignKey="FK_import_oai_authorities_1" implied="false" onDeleteCascade="true" table="import_oai_authorities"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="authtypecode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="authtypecode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="auth_types"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="datecreated" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="3" name="modification_time" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="heading" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="origincode" nullable="true" remarks="" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="authtrees" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="linkid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="marcxml" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="authid" sequenceNumberInPK="1"/>
         <index name="auth_header_s_pk" unique="true">
            <column ascending="true" name="authid"/>
         </index>
         <index name="origincode" unique="false">
            <column ascending="true" name="origincode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="authid"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="auth_subfield_structure" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="authtypecode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="authtypecode" foreignKey="auth_subfield_structure_ibfk_1" implied="false" onDeleteCascade="true" table="auth_types"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="tagfield" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="tagsubfield" nullable="false" remarks="" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="3" name="liblibrarian" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="4" name="libopac" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="repeatable" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="mandatory" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="tab" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="authorised_value" nullable="true" remarks="" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="value_builder" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="seealso" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="isurl" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="12" name="hidden" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="13" name="linkid" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="14" name="kohafield" nullable="true" remarks="" size="45" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="15" name="frameworkcode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="defaultvalue" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="17" name="display_order" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="authtypecode" sequenceNumberInPK="1"/>
         <primaryKey column="tagfield" sequenceNumberInPK="2"/>
         <primaryKey column="tagsubfield" sequenceNumberInPK="3"/>
         <index name="auth_subfield_structure_s_pk" unique="true">
            <column ascending="true" name="authtypecode"/>
            <column ascending="true" name="tagfield"/>
            <column ascending="true" name="tagsubfield"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="authtypecode"/>
            <column ascending="true" name="tagfield"/>
            <column ascending="true" name="tagsubfield"/>
         </index>
         <index name="tab" unique="false">
            <column ascending="true" name="authtypecode"/>
            <column ascending="true" name="tab"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="auth_tag_structure" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="authtypecode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="authtypecode" foreignKey="auth_tag_structure_ibfk_1" implied="false" onDeleteCascade="true" table="auth_types"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="tagfield" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="liblibrarian" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="3" name="libopac" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="repeatable" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="mandatory" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="authorised_value" nullable="true" remarks="" size="32" type="VARCHAR" typeCode="12"/>
         <primaryKey column="authtypecode" sequenceNumberInPK="1"/>
         <primaryKey column="tagfield" sequenceNumberInPK="2"/>
         <index name="auth_tag_structure_s_pk" unique="true">
            <column ascending="true" name="authtypecode"/>
            <column ascending="true" name="tagfield"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="authtypecode"/>
            <column ascending="true" name="tagfield"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="auth_types" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="authtypecode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="authtypecode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="auth_header"/>
            <child catalog="koha_25_11" column="authtypecode" foreignKey="auth_subfield_structure_ibfk_1" implied="false" onDeleteCascade="true" table="auth_subfield_structure"/>
            <child catalog="koha_25_11" column="authtypecode" foreignKey="auth_tag_structure_ibfk_1" implied="false" onDeleteCascade="true" table="auth_tag_structure"/>
            <child catalog="koha_25_11" column="authtypecode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="deletedauth_header"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="authtypetext" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="auth_tag_to_report" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="summary" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="authtypecode" sequenceNumberInPK="1"/>
         <index name="auth_types_s_pk" unique="true">
            <column ascending="true" name="authtypecode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="authtypecode"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="authorised_value_categories" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="category_name" nullable="false" remarks="" size="32" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="category" foreignKey="authorised_values_authorised_values_category" implied="false" onDeleteCascade="true" table="authorised_values"/>
            <child catalog="koha_25_11" column="authorised_values_category" foreignKey="items_search_fields_authorised_values_category" implied="false" onDeleteCascade="false" table="items_search_fields"/>
            <child catalog="koha_25_11" column="authorised_value" foreignKey="marc_subfield_structure_ibfk_1" implied="false" onDeleteCascade="false" table="marc_subfield_structure"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="is_system" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="is_integer_only" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="category_name" sequenceNumberInPK="1"/>
         <index name="authorised_value_categories_s_pk" unique="true">
            <column ascending="true" name="category_name"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="category_name"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="authorised_values" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique key, used to identify the authorized value" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="av_id" foreignKey="authorised_values_branches_ibfk_1" implied="false" onDeleteCascade="true" table="authorised_values_branches"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="category" nullable="false" remarks="key used to identify the authorized value category" size="32" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="category_name" foreignKey="authorised_values_authorised_values_category" implied="false" onDeleteCascade="true" table="authorised_value_categories"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="authorised_value" nullable="false" remarks="code use to identify the authorized value" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="lib" nullable="true" remarks="authorized value description as printed in the staff interface" size="200" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="lib_opac" nullable="true" remarks="authorized value description as printed in the OPAC" size="200" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="imageurl" nullable="true" remarks="authorized value URL" size="200" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="authorised_values_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="auth_value_idx" unique="false">
            <column ascending="true" name="authorised_value"/>
         </index>
         <index name="av_uniq" unique="true">
            <column ascending="true" name="category"/>
            <column ascending="true" name="authorised_value"/>
         </index>
         <index name="lib" unique="false">
            <column ascending="true" name="lib"/>
         </index>
         <index name="name" unique="false">
            <column ascending="true" name="category"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="authorised_values_branches" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="av_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="authorised_values_branches_ibfk_1" implied="false" onDeleteCascade="true" table="authorised_values"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="branchcode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="authorised_values_branches_ibfk_2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <index name="av_id" unique="false">
            <column ascending="true" name="av_id"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="background_jobs" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="status" nullable="true" remarks="" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="progress" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="size" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="borrowernumber" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="type" nullable="true" remarks="" size="64" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'default'" digits="0" id="6" name="queue" nullable="false" remarks="Name of the queue the job is sent to" size="191" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="data" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="context" nullable="true" remarks="JSON-serialized context information for the job" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="enqueued_on" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="started_on" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="ended_on" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="background_jobs_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="queue" unique="false">
            <column ascending="true" name="queue"/>
         </index>
         <index name="status" unique="false">
            <column ascending="true" name="status"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="biblio" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="biblionumber" nullable="false" remarks="unique identifier assigned to each bibliographic record" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="biblionumber" foreignKey="aqorders_ibfk_2" implied="false" onDeleteCascade="false" table="aqorders"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="article_requests_ibfk_2" implied="false" onDeleteCascade="true" table="article_requests"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="record_metadata_fk_1" implied="false" onDeleteCascade="true" table="biblio_metadata"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="biblioitems_ibfk_1" implied="false" onDeleteCascade="true" table="biblioitems"/>
            <child catalog="koha_25_11" column="biblio_id" foreignKey="bookings_ibfk_2" implied="false" onDeleteCascade="true" table="bookings"/>
            <child catalog="koha_25_11" column="biblio_id" foreignKey="clubs_holds_ibfk_2" implied="false" onDeleteCascade="true" table="club_holds"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="fk_course_items_biblionumber" implied="false" onDeleteCascade="true" table="course_items"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="bibliocoverimage_fk1" implied="false" onDeleteCascade="true" table="cover_images"/>
            <child catalog="koha_25_11" column="biblio_id" foreignKey="erm_eholdings_titles_ibfk_2" implied="false" onDeleteCascade="false" table="erm_eholdings_titles"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="hold_fill_targets_ibfk_2" implied="false" onDeleteCascade="true" table="hold_fill_targets"/>
            <child catalog="koha_25_11" column="biblio_id" foreignKey="illrequests_bibfk" implied="false" onDeleteCascade="false" table="illrequests"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="FK_import_oai_biblios_1" implied="false" onDeleteCascade="true" table="import_oai_biblios"/>
            <child catalog="koha_25_11" column="biblio_id" foreignKey="item_groups_ibfk_1" implied="false" onDeleteCascade="true" table="item_groups"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="items_ibfk_4" implied="false" onDeleteCascade="true" table="items"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="linktracker_biblio_ibfk" implied="false" onDeleteCascade="false" table="linktracker"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="old_reserves_ibfk_2" implied="false" onDeleteCascade="false" table="old_reserves"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="ratings_ibfk_2" implied="false" onDeleteCascade="true" table="ratings"/>
            <child catalog="koha_25_11" column="biblio_id" foreignKey="recalls_ibfk_2" implied="false" onDeleteCascade="true" table="recalls"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="reserves_ibfk_2" implied="false" onDeleteCascade="true" table="reserves"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="reviews_ibfk_2" implied="false" onDeleteCascade="true" table="reviews"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="serial_ibfk_1" implied="false" onDeleteCascade="true" table="serial"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="subscription_ibfk_3" implied="false" onDeleteCascade="true" table="subscription"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="subscription_history_ibfk_1" implied="false" onDeleteCascade="true" table="subscriptionhistory"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="suggestions_ibfk_biblionumber" implied="false" onDeleteCascade="false" table="suggestions"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="tags_biblionumber_fk_1" implied="false" onDeleteCascade="true" table="tags_all"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="tags_index_biblionumber_fk_1" implied="false" onDeleteCascade="true" table="tags_index"/>
            <child catalog="koha_25_11" column="biblio_id" foreignKey="tickets_ibfk_3" implied="false" onDeleteCascade="true" table="tickets"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="tmp_holdsqueue_ibfk_2" implied="false" onDeleteCascade="true" table="tmp_holdsqueue"/>
            <child catalog="koha_25_11" column="biblionumber" foreignKey="shelfcontents_ibfk_2" implied="false" onDeleteCascade="true" table="virtualshelfcontents"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="frameworkcode" nullable="false" remarks="foreign key from the biblio_framework table to identify which framework was used in cataloging this record" size="4" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="frameworkcode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="biblio_framework"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="author" nullable="true" remarks="statement of responsibility from MARC record (100$a in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="title" nullable="true" remarks="title (without the subtitle) from the MARC record (245$a in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="medium" nullable="true" remarks="medium from the MARC record (245$h in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="subtitle" nullable="true" remarks="remainder of the title from the MARC record (245$b in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="part_number" nullable="true" remarks="part number from the MARC record (245$n in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="part_name" nullable="true" remarks="part name from the MARC record (245$p in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="unititle" nullable="true" remarks="uniform title (without the subtitle) from the MARC record (240$a in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="notes" nullable="true" remarks="values from the general notes field in the MARC record (500$a in MARC21) split by bar (|)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="serial" nullable="true" remarks="Boolean indicating whether biblio is for a serial" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="seriestitle" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="copyrightdate" nullable="true" remarks="publication or copyright date from the MARC record" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="13" name="timestamp" nullable="false" remarks="date and time this record was last touched" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="datecreated" nullable="false" remarks="the date this record was added to Koha" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="abstract" nullable="true" remarks="summary from the MARC record (520$a in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="16" name="opac_suppressed" nullable="false" remarks="whether the record should be suppressed in the OPAC" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="biblionumber" sequenceNumberInPK="1"/>
         <index name="biblio_s_pk" unique="true">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="blbnoidx" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="suppressedidx" unique="false">
            <column ascending="true" name="opac_suppressed"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="biblio_framework" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="frameworkcode" nullable="false" remarks="the unique code assigned to the framework" size="4" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="frameworkcode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="biblio"/>
            <child catalog="koha_25_11" column="frameworkcode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="deletedbiblio"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="frameworktext" nullable="false" remarks="the description/name given to the framework" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="frameworkcode" sequenceNumberInPK="1"/>
         <index name="biblio_framework_s_pk" unique="true">
            <column ascending="true" name="frameworkcode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="frameworkcode"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="biblio_metadata" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="biblionumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="record_metadata_fk_1" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="format" nullable="false" remarks="" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="schema" nullable="false" remarks="" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="metadata" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="record_source_id" nullable="true" remarks="The record source for the metadata" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="record_source_id" foreignKey="record_metadata_fk_2" implied="false" onDeleteCascade="false" table="record_sources"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="biblio_metadata_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="biblio_metadata_uniq_key" unique="true">
            <column ascending="true" name="biblionumber"/>
            <column ascending="true" name="format"/>
            <column ascending="true" name="schema"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="record_metadata_fk_2" unique="false">
            <column ascending="true" name="record_source_id"/>
         </index>
         <index name="timestamp" unique="false">
            <column ascending="true" name="timestamp"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="biblioitems" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="biblioitemnumber" nullable="false" remarks="primary key, unique identifier assigned by Koha" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="biblioitemnumber" foreignKey="items_ibfk_1" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="biblionumber" nullable="false" remarks="foreign key linking this table to the biblio table" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="biblioitems_ibfk_1" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="volume" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="number" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="itemtype" nullable="true" remarks="biblio level item type (MARC21 942$c)" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="itemtype" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="itemtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="isbn" nullable="true" remarks="ISBN (MARC21 020$a)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="issn" nullable="true" remarks="ISSN (MARC21 022$a)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="ean" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="publicationyear" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="publishercode" nullable="true" remarks="publisher (MARC21 260$b and 264$b)" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="volumedate" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="volumedesc" nullable="true" remarks="volume information (MARC21 362$a)" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="collectiontitle" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="collectionissn" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="collectionvolume" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="editionstatement" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="editionresponsibility" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="17" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="illus" nullable="true" remarks="illustrations (MARC21 300$b)" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="pages" nullable="true" remarks="number of pages (MARC21 300$a)" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="notes" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="size" nullable="true" remarks="material size (MARC21 300$c)" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="place" nullable="true" remarks="publication place (MARC21 260$a and 264$a)" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="lccn" nullable="true" remarks="library of congress control number (MARC21 010$a)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="url" nullable="true" remarks="url (MARC21 856$u)" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="cn_source" nullable="true" remarks="classification source (MARC21 942$2)" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="cn_source" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="class_sources"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="cn_class" nullable="true" remarks="" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="cn_item" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="cn_suffix" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="cn_sort" nullable="true" remarks="normalized version of the call number used for sorting" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="30" name="agerestriction" nullable="true" remarks="target audience/age restriction from the bib record (MARC21 521$a)" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="31" name="totalissues" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="biblioitemnumber" sequenceNumberInPK="1"/>
         <index name="biblioitems_s_pk" unique="true">
            <column ascending="true" name="biblioitemnumber"/>
         </index>
         <index name="bibinoidx" unique="false">
            <column ascending="true" name="biblioitemnumber"/>
         </index>
         <index name="bibnoidx" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="ean" unique="false">
            <column ascending="true" name="ean"/>
         </index>
         <index name="isbn" unique="false">
            <column ascending="true" name="isbn"/>
         </index>
         <index name="issn" unique="false">
            <column ascending="true" name="issn"/>
         </index>
         <index name="itemtype_idx" unique="false">
            <column ascending="true" name="itemtype"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="biblioitemnumber"/>
         </index>
         <index name="publishercode" unique="false">
            <column ascending="true" name="publishercode"/>
         </index>
         <index name="timestamp" unique="false">
            <column ascending="true" name="timestamp"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="bookings" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="booking_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="booking_id" foreignKey="issues_booking_id_fk" implied="false" onDeleteCascade="false" table="issues"/>
            <child catalog="koha_25_11" column="booking_id" foreignKey="old_issues_booking_id_fk" implied="false" onDeleteCascade="false" table="old_issues"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="patron_id" nullable="false" remarks="foreign key from the borrowers table defining which patron this booking is for" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="bookings_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="biblio_id" nullable="false" remarks="foreign key from the biblio table defining which bib record this booking is on" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="bookings_ibfk_2" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="item_id" nullable="true" remarks="foreign key from the items table defining the specific item the patron has placed a booking for" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="bookings_ibfk_3" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="pickup_library_id" nullable="false" remarks="Identifier for booking pickup library" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="bookings_ibfk_4" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="start_date" nullable="true" remarks="the start date of the booking" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="end_date" nullable="true" remarks="the end date of the booking" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="7" name="creation_date" nullable="false" remarks="the timestamp for when a booking was created" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="8" name="modification_date" nullable="false" remarks="the timestamp for when a booking has been updated" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="'new'" digits="0" id="9" name="status" nullable="false" remarks="current status of the booking" size="9" type="enum('new', 'cancelled', 'completed')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="cancellation_reason" nullable="true" remarks="optional authorised value BOOKING_CANCELLATION" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="booking_id" sequenceNumberInPK="1"/>
         <index name="bookings_s_pk" unique="true">
            <column ascending="true" name="booking_id"/>
         </index>
         <index name="biblio_id" unique="false">
            <column ascending="true" name="biblio_id"/>
         </index>
         <index name="bookings_ibfk_4" unique="false">
            <column ascending="true" name="pickup_library_id"/>
         </index>
         <index name="item_id" unique="false">
            <column ascending="true" name="item_id"/>
         </index>
         <index name="patron_id" unique="false">
            <column ascending="true" name="patron_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="booking_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="borrower_attribute_types" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="code" nullable="false" remarks="unique key used to identify each custom field" size="64" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="bat_code" foreignKey="borrower_attribute_types_branches_ibfk_1" implied="false" onDeleteCascade="true" table="borrower_attribute_types_branches"/>
            <child catalog="koha_25_11" column="code" foreignKey="borrower_attributes_ibfk_2" implied="false" onDeleteCascade="true" table="borrower_attributes"/>
            <child catalog="koha_25_11" column="code" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="localization"/>
            <child catalog="koha_25_11" column="letter_code" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="message_queue"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="description" nullable="false" remarks="description for each custom field" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="repeatable" nullable="false" remarks="defines whether one patron/borrower can have multiple values for this custom field  (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="unique_id" nullable="false" remarks="defines if this value needs to be unique (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="is_date" nullable="false" remarks="defines if this field is displayed as a date" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="opac_display" nullable="false" remarks="defines if this field is visible to patrons on their account in the OPAC (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="opac_editable" nullable="false" remarks="defines if this field is editable by patrons on their account in the OPAC (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="staff_searchable" nullable="false" remarks="defines if this field is searchable via the patron search in the staff interface (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="8" name="searched_by_default" nullable="false" remarks="defines if this field is included in &quot;Standard&quot; patron searches in the staff interface (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="authorised_value_category" nullable="true" remarks="foreign key from authorised_values that links this custom field to an authorized value category" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="display_checkout" nullable="false" remarks="defines if this field displays in checkout screens" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="category_code" nullable="true" remarks="defines a category for an attribute_type" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="categorycode" foreignKey="borrower_attribute_types_ibfk_1" implied="false" onDeleteCascade="false" table="categories"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="12" name="class" nullable="false" remarks="defines a class for an attribute_type" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="13" name="keep_for_pseudonymization" nullable="false" remarks="defines if this field is copied to anonymized_borrower_attributes (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="14" name="mandatory" nullable="false" remarks="defines if the attribute is mandatory or not in the staff interface" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="15" name="opac_mandatory" nullable="false" remarks="defines if the attribute is mandatory or not in the OPAC" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="code" sequenceNumberInPK="1"/>
         <index name="borrower_attribute_types_s_pk" unique="true">
            <column ascending="true" name="code"/>
         </index>
         <index name="auth_val_cat_idx" unique="false">
            <column ascending="true" name="authorised_value_category"/>
         </index>
         <index name="category_code" unique="false">
            <column ascending="true" name="category_code"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="code"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="borrower_attribute_types_branches" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="0" name="bat_code" nullable="true" remarks="" size="64" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="code" foreignKey="borrower_attribute_types_branches_ibfk_1" implied="false" onDeleteCascade="true" table="borrower_attribute_types"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="b_branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="borrower_attribute_types_branches_ibfk_2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <index name="b_branchcode" unique="false">
            <column ascending="true" name="b_branchcode"/>
         </index>
         <index name="bat_code" unique="false">
            <column ascending="true" name="bat_code"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="borrower_attributes" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="Row id field" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="foreign key from the borrowers table, defines which patron/borrower has this attribute" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="borrower_attributes_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="code" nullable="false" remarks="foreign key from the borrower_attribute_types table, defines which custom field this value was entered for" size="64" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="code" foreignKey="borrower_attributes_ibfk_2" implied="false" onDeleteCascade="true" table="borrower_attribute_types"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="attribute" nullable="true" remarks="custom patron field value" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="borrower_attributes_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="code_attribute" unique="false">
            <column ascending="true" name="code"/>
            <column ascending="true" name="attribute"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="borrower_debarments" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="borrower_debarment_id" nullable="false" remarks="unique key for the restriction" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="foreign key for borrowers.borrowernumber for patron who is restricted" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="borrower_debarments_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="expiration" nullable="true" remarks="expiration date of the restriction" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="type" nullable="false" remarks="type of restriction, FK to restriction_types.code" size="50" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="code" foreignKey="borrower_debarments_ibfk_2" implied="false" onDeleteCascade="false" table="restriction_types"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="comment" nullable="true" remarks="comments about the restriction" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="manager_id" nullable="true" remarks="foreign key for borrowers.borrowernumber for the librarian managing the restriction" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="6" name="created" nullable="false" remarks="date the restriction was added" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="updated" nullable="true" remarks="date the restriction was updated" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="borrower_debarment_id" sequenceNumberInPK="1"/>
         <index name="borrower_debarments_s_pk" unique="true">
            <column ascending="true" name="borrower_debarment_id"/>
         </index>
         <index name="borrower_debarments_ibfk_2" unique="false">
            <column ascending="true" name="type"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="borrower_debarment_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="borrower_files" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="file_id" nullable="false" remarks="unique key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="foreign key linking to the patron via the borrowernumber" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="borrower_files_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="file_name" nullable="false" remarks="file name" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="file_type" nullable="false" remarks="type of file" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="file_description" nullable="true" remarks="description given to the file" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="file_content" nullable="false" remarks="the file" size="2147483647" type="LONGBLOB" typeCode="-4"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="6" name="date_uploaded" nullable="false" remarks="date and time the file was added" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="file_id" sequenceNumberInPK="1"/>
         <index name="borrower_files_s_pk" unique="true">
            <column ascending="true" name="file_id"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="file_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="borrower_message_preferences" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="borrower_message_preference_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="borrower_message_preference_id" foreignKey="borrower_message_transport_preferences_ibfk_1" implied="false" onDeleteCascade="true" table="borrower_message_transport_preferences"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="borrowernumber" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="borrower_message_preferences_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="categorycode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="categorycode" foreignKey="borrower_message_preferences_ibfk_3" implied="false" onDeleteCascade="true" table="categories"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="message_attribute_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="message_attribute_id" foreignKey="borrower_message_preferences_ibfk_2" implied="false" onDeleteCascade="true" table="message_attributes"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="days_in_advance" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="wants_digest" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="borrower_message_preference_id" sequenceNumberInPK="1"/>
         <index name="borrower_message_preferences_s_pk" unique="true">
            <column ascending="true" name="borrower_message_preference_id"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="categorycode" unique="false">
            <column ascending="true" name="categorycode"/>
         </index>
         <index name="message_attribute_id" unique="false">
            <column ascending="true" name="message_attribute_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="borrower_message_preference_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="borrower_message_transport_preferences" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="0" digits="0" id="0" name="borrower_message_preference_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrower_message_preference_id" foreignKey="borrower_message_transport_preferences_ibfk_1" implied="false" onDeleteCascade="true" table="borrower_message_preferences"/>
         </column>
         <column autoUpdated="false" defaultValue="'0'" digits="0" id="1" name="message_transport_type" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="message_transport_type" foreignKey="borrower_message_transport_preferences_ibfk_2" implied="false" onDeleteCascade="true" table="message_transport_types"/>
         </column>
         <primaryKey column="borrower_message_preference_id" sequenceNumberInPK="1"/>
         <primaryKey column="message_transport_type" sequenceNumberInPK="2"/>
         <index name="borrower_message_transport_preferences_s_pk" unique="true">
            <column ascending="true" name="borrower_message_preference_id"/>
            <column ascending="true" name="message_transport_type"/>
         </index>
         <index name="message_transport_type" unique="false">
            <column ascending="true" name="message_transport_type"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="borrower_message_preference_id"/>
            <column ascending="true" name="message_transport_type"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="borrower_modifications" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="0" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="verification_token" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="changed_fields" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="borrowernumber" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="cardnumber" nullable="true" remarks="" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="surname" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="firstname" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="preferred_name" nullable="true" remarks="patron/borrower's preferred name" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="middle_name" nullable="true" remarks="patron/borrower's middle name" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="title" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="othernames" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="initials" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="pronouns" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="streetnumber" nullable="true" remarks="the house number for your patron/borrower's primary address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="streettype" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="address" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="address2" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="city" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="state" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="zipcode" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="country" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="email" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="phone" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="mobile" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="fax" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="emailpro" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="phonepro" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="B_streetnumber" nullable="true" remarks="the house number for your patron/borrower's alternate address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="B_streettype" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="B_address" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="30" name="B_address2" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="31" name="B_city" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="32" name="B_state" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="33" name="B_zipcode" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="34" name="B_country" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="35" name="B_email" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="36" name="B_phone" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="37" name="dateofbirth" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="38" name="branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="39" name="categorycode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="categorycode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="categories"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="40" name="dateenrolled" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="41" name="dateexpiry" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="42" name="date_renewed" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="43" name="gonenoaddress" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="44" name="lost" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="45" name="debarred" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="46" name="debarredcomment" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="47" name="contactname" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="48" name="contactfirstname" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="49" name="contacttitle" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="50" name="borrowernotes" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="51" name="relationship" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="52" name="sex" nullable="true" remarks="" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="53" name="password" nullable="true" remarks="" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="54" name="flags" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="55" name="userid" nullable="true" remarks="" size="75" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="56" name="opacnote" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="57" name="contactnote" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="58" name="sort1" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="59" name="sort2" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="60" name="altcontactfirstname" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="61" name="altcontactsurname" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="62" name="altcontactaddress1" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="63" name="altcontactaddress2" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="64" name="altcontactaddress3" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="65" name="altcontactstate" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="66" name="altcontactzipcode" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="67" name="altcontactcountry" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="68" name="altcontactphone" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="69" name="smsalertnumber" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="70" name="privacy" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="71" name="extended_attributes" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="72" name="gdpr_proc_consent" nullable="true" remarks="data processing consent" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="73" name="primary_contact_method" nullable="true" remarks="useful for reporting purposes" size="45" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="74" name="lang" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <primaryKey column="verification_token" sequenceNumberInPK="1"/>
         <primaryKey column="borrowernumber" sequenceNumberInPK="2"/>
         <index name="borrower_modifications_s_pk" unique="true">
            <column ascending="true" name="verification_token"/>
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="verification_token"/>
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="verification_token" unique="false">
            <column ascending="true" name="verification_token"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="borrower_password_recovery" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="borrowernumber" nullable="false" remarks="the user asking a password recovery" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="uuid" nullable="false" remarks="a unique string to identify a password recovery attempt" size="128" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="2" name="valid_until" nullable="false" remarks="a time limit on the password recovery attempt" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="borrowernumber" sequenceNumberInPK="1"/>
         <index name="borrower_password_recovery_s_pk" unique="true">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="borrowernumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="borrower_relationships" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="guarantor_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="r_guarantor" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="guarantee_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="r_guarantee" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="relationship" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="borrower_relationships_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="guarantor_guarantee_idx" unique="true">
            <column ascending="true" name="guarantor_id"/>
            <column ascending="true" name="guarantee_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="r_guarantee" unique="false">
            <column ascending="true" name="guarantee_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="borrowers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="borrowernumber" nullable="false" remarks="primary key, Koha assigned ID number for patrons/borrowers" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="accountlines_ibfk_borrowers" implied="false" onDeleteCascade="false" table="accountlines"/>
            <child catalog="koha_25_11" column="manager_id" foreignKey="accountlines_ibfk_borrowers_2" implied="false" onDeleteCascade="false" table="accountlines"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="borrowernumber_fk" implied="false" onDeleteCascade="false" table="additional_contents"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="borrower_macro_fk" implied="false" onDeleteCascade="true" table="advanced_editor_macros"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="alert_ibfk_1" implied="false" onDeleteCascade="true" table="alert"/>
            <child catalog="koha_25_11" column="patron_id" foreignKey="api_keys_fk_patron_id" implied="false" onDeleteCascade="true" table="api_keys"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="aqbasketusers_ibfk_2" implied="false" onDeleteCascade="true" table="aqbasketusers"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="aqbudgetborrowers_ibfk_2" implied="false" onDeleteCascade="true" table="aqbudgetborrowers"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="aqorder_users_ibfk_2" implied="false" onDeleteCascade="true" table="aqorder_users"/>
            <child catalog="koha_25_11" column="created_by" foreignKey="aqorders_created_by" implied="false" onDeleteCascade="false" table="aqorders"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="article_requests_ibfk_1" implied="false" onDeleteCascade="true" table="article_requests"/>
            <child catalog="koha_25_11" column="patron_id" foreignKey="bookings_ibfk_1" implied="false" onDeleteCascade="true" table="bookings"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="borrower_attributes_ibfk_1" implied="false" onDeleteCascade="true" table="borrower_attributes"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="borrower_debarments_ibfk_1" implied="false" onDeleteCascade="true" table="borrower_debarments"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="borrower_files_ibfk_1" implied="false" onDeleteCascade="true" table="borrower_files"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="borrower_message_preferences_ibfk_1" implied="false" onDeleteCascade="true" table="borrower_message_preferences"/>
            <child catalog="koha_25_11" column="guarantee_id" foreignKey="r_guarantee" implied="false" onDeleteCascade="true" table="borrower_relationships"/>
            <child catalog="koha_25_11" column="guarantor_id" foreignKey="r_guarantor" implied="false" onDeleteCascade="true" table="borrower_relationships"/>
            <child catalog="koha_25_11" column="manager_id" foreignKey="cash_register_actions_manager" implied="false" onDeleteCascade="true" table="cash_register_actions"/>
            <child catalog="koha_25_11" column="renewer_id" foreignKey="renewals_renewer_id" implied="false" onDeleteCascade="false" table="checkout_renewals"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="club_enrollments_ibfk_2" implied="false" onDeleteCascade="true" table="club_enrollments"/>
            <child catalog="koha_25_11" column="patron_id" foreignKey="clubs_holds_paton_holds_ibfk_2" implied="false" onDeleteCascade="true" table="club_holds_to_patron_holds"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="course_instructors_ibfk_1" implied="false" onDeleteCascade="true" table="course_instructors"/>
            <child catalog="koha_25_11" column="borrower_number" foreignKey="creator_batches_ibfk_1" implied="false" onDeleteCascade="true" table="creator_batches"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="curbside_pickups_ibfk_2" implied="false" onDeleteCascade="true" table="curbside_pickups"/>
            <child catalog="koha_25_11" column="staged_by" foreignKey="curbside_pickups_ibfk_3" implied="false" onDeleteCascade="false" table="curbside_pickups"/>
            <child catalog="koha_25_11" column="borrower" foreignKey="borrower_discharges_ibfk1" implied="false" onDeleteCascade="true" table="discharges"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="erm_counter_log_ibfk_1" implied="false" onDeleteCascade="true" table="erm_counter_logs"/>
            <child catalog="koha_25_11" column="user_id" foreignKey="erm_user_roles_ibfk_3" implied="false" onDeleteCascade="true" table="erm_user_roles"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="hold_fill_targets_ibfk_1" implied="false" onDeleteCascade="true" table="hold_fill_targets"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="hold_groups_ibfk_1" implied="false" onDeleteCascade="true" table="hold_groups"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="housebound_profile_bnfk" implied="false" onDeleteCascade="true" table="housebound_profile"/>
            <child catalog="koha_25_11" column="borrowernumber_id" foreignKey="houseboundrole_bnfk" implied="false" onDeleteCascade="true" table="housebound_role"/>
            <child catalog="koha_25_11" column="chooser_brwnumber" foreignKey="houseboundvisit_bnfk_1" implied="false" onDeleteCascade="true" table="housebound_visit"/>
            <child catalog="koha_25_11" column="deliverer_brwnumber" foreignKey="houseboundvisit_bnfk_2" implied="false" onDeleteCascade="true" table="housebound_visit"/>
            <child catalog="koha_25_11" column="patron_id" foreignKey="illbatches_bnfk" implied="false" onDeleteCascade="false" table="illbatches"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="illcomments_bnfk" implied="false" onDeleteCascade="true" table="illcomments"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="illrequests_bnfk" implied="false" onDeleteCascade="false" table="illrequests"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="issues_ibfk_1" implied="false" onDeleteCascade="false" table="issues"/>
            <child catalog="koha_25_11" column="issuer_id" foreignKey="issues_ibfk_borrowers_borrowernumber" implied="false" onDeleteCascade="false" table="issues"/>
            <child catalog="koha_25_11" column="patron_id" foreignKey="bn" implied="false" onDeleteCascade="false" table="item_editor_templates"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="items_last_borrower_ibfk_2" implied="false" onDeleteCascade="true" table="items_last_borrower"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="linktracker_borrower_ibfk" implied="false" onDeleteCascade="false" table="linktracker"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="messageq_ibfk_1" implied="false" onDeleteCascade="true" table="message_queue"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="messages_borrowernumber" implied="false" onDeleteCascade="true" table="messages"/>
            <child catalog="koha_25_11" column="manager_id" foreignKey="messages_ibfk_1" implied="false" onDeleteCascade="false" table="messages"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="old_issues_ibfk_1" implied="false" onDeleteCascade="false" table="old_issues"/>
            <child catalog="koha_25_11" column="issuer_id" foreignKey="old_issues_ibfk_borrowers_borrowernumber" implied="false" onDeleteCascade="false" table="old_issues"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="old_reserves_ibfk_1" implied="false" onDeleteCascade="false" table="old_reserves"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="patron_consent_ibfk_1" implied="false" onDeleteCascade="true" table="patron_consent"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="patron_list_patrons_ibfk_2" implied="false" onDeleteCascade="true" table="patron_list_patrons"/>
            <child catalog="koha_25_11" column="owner" foreignKey="patron_lists_ibfk_1" implied="false" onDeleteCascade="true" table="patron_lists"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="patronimage_fk1" implied="false" onDeleteCascade="true" table="patronimage"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="problem_reports_ibfk1" implied="false" onDeleteCascade="true" table="problem_reports"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="ratings_ibfk_1" implied="false" onDeleteCascade="true" table="ratings"/>
            <child catalog="koha_25_11" column="patron_id" foreignKey="recalls_ibfk_1" implied="false" onDeleteCascade="true" table="recalls"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="reserves_ibfk_1" implied="false" onDeleteCascade="true" table="reserves"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="rc_borrowers_ibfk" implied="false" onDeleteCascade="true" table="return_claims"/>
            <child catalog="koha_25_11" column="created_by" foreignKey="rc_created_by_ibfk" implied="false" onDeleteCascade="false" table="return_claims"/>
            <child catalog="koha_25_11" column="resolved_by" foreignKey="rc_resolved_by_ibfk" implied="false" onDeleteCascade="false" table="return_claims"/>
            <child catalog="koha_25_11" column="updated_by" foreignKey="rc_updated_by_ibfk" implied="false" onDeleteCascade="false" table="return_claims"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="reviews_ibfk_1" implied="false" onDeleteCascade="false" table="reviews"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="subscriptionroutinglist_ibfk_1" implied="false" onDeleteCascade="true" table="subscriptionroutinglist"/>
            <child catalog="koha_25_11" column="acceptedby" foreignKey="suggestions_ibfk_acceptedby" implied="false" onDeleteCascade="false" table="suggestions"/>
            <child catalog="koha_25_11" column="lastmodificationby" foreignKey="suggestions_ibfk_lastmodificationby" implied="false" onDeleteCascade="false" table="suggestions"/>
            <child catalog="koha_25_11" column="managedby" foreignKey="suggestions_ibfk_managedby" implied="false" onDeleteCascade="false" table="suggestions"/>
            <child catalog="koha_25_11" column="rejectedby" foreignKey="suggestions_ibfk_rejectedby" implied="false" onDeleteCascade="false" table="suggestions"/>
            <child catalog="koha_25_11" column="suggestedby" foreignKey="suggestions_ibfk_suggestedby" implied="false" onDeleteCascade="false" table="suggestions"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="tags_borrowers_fk_1" implied="false" onDeleteCascade="false" table="tags_all"/>
            <child catalog="koha_25_11" column="approved_by" foreignKey="tags_approval_borrowers_fk_1" implied="false" onDeleteCascade="false" table="tags_approval"/>
            <child catalog="koha_25_11" column="assignee_id" foreignKey="ticket_updates_ibfk_3" implied="false" onDeleteCascade="true" table="ticket_updates"/>
            <child catalog="koha_25_11" column="user_id" foreignKey="ticket_updates_ibfk_2" implied="false" onDeleteCascade="true" table="ticket_updates"/>
            <child catalog="koha_25_11" column="assignee_id" foreignKey="tickets_ibfk_4" implied="false" onDeleteCascade="true" table="tickets"/>
            <child catalog="koha_25_11" column="reporter_id" foreignKey="tickets_ibfk_1" implied="false" onDeleteCascade="true" table="tickets"/>
            <child catalog="koha_25_11" column="resolver_id" foreignKey="tickets_ibfk_2" implied="false" onDeleteCascade="true" table="tickets"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="tmp_holdsqueue_ibfk_3" implied="false" onDeleteCascade="true" table="tmp_holdsqueue"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="user_permissions_ibfk_1" implied="false" onDeleteCascade="true" table="user_permissions"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="shelfcontents_ibfk_3" implied="false" onDeleteCascade="false" table="virtualshelfcontents"/>
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="virtualshelfshares_ibfk_2" implied="false" onDeleteCascade="false" table="virtualshelfshares"/>
            <child catalog="koha_25_11" column="owner" foreignKey="virtualshelves_ibfk_1" implied="false" onDeleteCascade="false" table="virtualshelves"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="cardnumber" nullable="true" remarks="unique key, library assigned ID number for patrons/borrowers" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="surname" nullable="true" remarks="patron/borrower's last name (surname)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="firstname" nullable="true" remarks="patron/borrower's first name" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="preferred_name" nullable="true" remarks="patron/borrower's preferred name" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="middle_name" nullable="true" remarks="patron/borrower's middle name" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="title" nullable="true" remarks="patron/borrower's title, for example: Mr. or Mrs." size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="othernames" nullable="true" remarks="any other names associated with the patron/borrower" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="initials" nullable="true" remarks="initials for your patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="pronouns" nullable="true" remarks="patron/borrower pronouns" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="streetnumber" nullable="true" remarks="the house number for your patron/borrower's primary address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="streettype" nullable="true" remarks="the street type (Rd., Blvd, etc) for your patron/borrower's primary address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="address" nullable="true" remarks="the first address line for your patron/borrower's primary address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="address2" nullable="true" remarks="the second address line for your patron/borrower's primary address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="city" nullable="true" remarks="the city or town for your patron/borrower's primary address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="state" nullable="true" remarks="the state or province for your patron/borrower's primary address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="zipcode" nullable="true" remarks="the zip or postal code for your patron/borrower's primary address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="country" nullable="true" remarks="the country for your patron/borrower's primary address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="email" nullable="true" remarks="the primary email address for your patron/borrower's primary address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="phone" nullable="true" remarks="the primary phone number for your patron/borrower's primary address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="mobile" nullable="true" remarks="the other phone number for your patron/borrower's primary address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="fax" nullable="true" remarks="the fax number for your patron/borrower's primary address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="emailpro" nullable="true" remarks="the secondary email address for your patron/borrower's primary address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="phonepro" nullable="true" remarks="the secondary phone number for your patron/borrower's primary address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="B_streetnumber" nullable="true" remarks="the house number for your patron/borrower's alternate address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="B_streettype" nullable="true" remarks="the street type (Rd., Blvd, etc) for your patron/borrower's alternate address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="B_address" nullable="true" remarks="the first address line for your patron/borrower's alternate address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="B_address2" nullable="true" remarks="the second address line for your patron/borrower's alternate address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="B_city" nullable="true" remarks="the city or town for your patron/borrower's alternate address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="B_state" nullable="true" remarks="the state for your patron/borrower's alternate address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="30" name="B_zipcode" nullable="true" remarks="the zip or postal code for your patron/borrower's alternate address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="31" name="B_country" nullable="true" remarks="the country for your patron/borrower's alternate address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="32" name="B_email" nullable="true" remarks="the patron/borrower's alternate email address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="33" name="B_phone" nullable="true" remarks="the patron/borrower's alternate phone number" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="34" name="dateofbirth" nullable="true" remarks="the patron/borrower's date of birth (YYYY-MM-DD)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="35" name="branchcode" nullable="false" remarks="foreign key from the branches table, includes the code of the patron/borrower's home branch" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="borrowers_ibfk_2" implied="false" onDeleteCascade="false" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="36" name="categorycode" nullable="false" remarks="foreign key from the categories table, includes the code of the patron category" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="categorycode" foreignKey="borrowers_ibfk_1" implied="false" onDeleteCascade="false" table="categories"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="37" name="dateenrolled" nullable="true" remarks="date the patron was added to Koha (YYYY-MM-DD)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="38" name="dateexpiry" nullable="true" remarks="date the patron/borrower's card is set to expire (YYYY-MM-DD)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="39" name="password_expiration_date" nullable="true" remarks="date the patron/borrower's password is set to expire (YYYY-MM-DD)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="40" name="date_renewed" nullable="true" remarks="date the patron/borrower's card was last renewed" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="41" name="gonenoaddress" nullable="true" remarks="set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having an unconfirmed address" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="42" name="lost" nullable="true" remarks="set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having lost their card" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="43" name="debarred" nullable="true" remarks="until this date the patron can only check-in (no loans, no holds, etc.), is a fine based on days instead of money (YYYY-MM-DD)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="44" name="debarredcomment" nullable="true" remarks="comment on the stop of the patron" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="45" name="contactname" nullable="true" remarks="used for children and professionals to include surname or last name of guarantor or organization name" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="46" name="contactfirstname" nullable="true" remarks="used for children to include first name of guarantor" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="47" name="contacttitle" nullable="true" remarks="used for children to include title (Mr., Mrs., etc) of guarantor" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="48" name="borrowernotes" nullable="true" remarks="a note on the patron/borrower's account that is only visible in the staff interface" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="49" name="relationship" nullable="true" remarks="used for children to include the relationship to their guarantor" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="50" name="sex" nullable="true" remarks="patron/borrower's gender" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="51" name="password" nullable="true" remarks="patron/borrower's Bcrypt encrypted password" size="60" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="52" name="secret" nullable="true" remarks="Secret for 2FA" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="'password'" digits="0" id="53" name="auth_method" nullable="false" remarks="Authentication method" size="10" type="enum('password', 'two-factor')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="54" name="flags" nullable="true" remarks="will include a number associated with the staff member's permissions" size="19" type="BIGINT" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="55" name="userid" nullable="true" remarks="patron/borrower's opac and/or staff interface log in" size="75" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="56" name="opacnote" nullable="true" remarks="a note on the patron/borrower's account that is visible in the OPAC and staff interface" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="57" name="contactnote" nullable="true" remarks="a note related to the patron/borrower's alternate address" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="58" name="sort1" nullable="true" remarks="a field that can be used for any information unique to the library" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="59" name="sort2" nullable="true" remarks="a field that can be used for any information unique to the library" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="60" name="altcontactfirstname" nullable="true" remarks="first name of alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="61" name="altcontactsurname" nullable="true" remarks="surname or last name of the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="62" name="altcontactaddress1" nullable="true" remarks="the first address line for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="63" name="altcontactaddress2" nullable="true" remarks="the second address line for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="64" name="altcontactaddress3" nullable="true" remarks="the city for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="65" name="altcontactstate" nullable="true" remarks="the state for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="66" name="altcontactzipcode" nullable="true" remarks="the zipcode for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="67" name="altcontactcountry" nullable="true" remarks="the country for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="68" name="altcontactphone" nullable="true" remarks="the phone number for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="69" name="smsalertnumber" nullable="true" remarks="the mobile phone number where the patron/borrower would like to receive notices (if SMS turned on)" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="70" name="sms_provider_id" nullable="true" remarks="the provider of the mobile phone number defined in smsalertnumber" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="borrowers_ibfk_3" implied="false" onDeleteCascade="false" table="sms_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="1" digits="0" id="71" name="privacy" nullable="false" remarks="patron/borrower's privacy settings related to their checkout history" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="72" name="privacy_guarantor_fines" nullable="false" remarks="controls if relatives can see this patron's fines" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="73" name="privacy_guarantor_checkouts" nullable="false" remarks="controls if relatives can see this patron's checkouts" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="'inherit'" digits="0" id="74" name="checkprevcheckout" nullable="false" remarks="produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'." size="7" type="enum('yes', 'no', 'inherit')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="75" name="updated_on" nullable="false" remarks="time of last change could be useful for synchronization with external systems (among others)" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="76" name="lastseen" nullable="true" remarks="last time a patron has been seen (connected at the OPAC or staff interface)" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="'default'" digits="0" id="77" name="lang" nullable="false" remarks="lang to use to send notices to this patron" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="78" name="login_attempts" nullable="false" remarks="number of failed login attempts" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="79" name="overdrive_auth_token" nullable="true" remarks="persist OverDrive auth token" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="80" name="anonymized" nullable="false" remarks="flag for data anonymization" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="81" name="autorenew_checkouts" nullable="false" remarks="flag for allowing auto-renewal" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="82" name="primary_contact_method" nullable="true" remarks="useful for reporting purposes" size="45" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="83" name="protected" nullable="false" remarks="boolean flag to mark selected patrons as protected from deletion" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="borrowernumber" sequenceNumberInPK="1"/>
         <index name="borrowers_s_pk" unique="true">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="cardnumber" unique="true">
            <column ascending="true" name="cardnumber"/>
         </index>
         <index name="cardnumber_idx" unique="false">
            <column ascending="true" name="cardnumber"/>
         </index>
         <index name="categorycode" unique="false">
            <column ascending="true" name="categorycode"/>
         </index>
         <index name="firstname_idx" unique="false">
            <column ascending="true" name="firstname"/>
         </index>
         <index name="idx_borrowers_sort_order" unique="false">
            <column ascending="true" name="surname"/>
            <column ascending="true" name="preferred_name"/>
            <column ascending="true" name="firstname"/>
            <column ascending="true" name="middle_name"/>
            <column ascending="true" name="othernames"/>
            <column ascending="true" name="streetnumber"/>
            <column ascending="true" name="address"/>
            <column ascending="true" name="address2"/>
            <column ascending="true" name="city"/>
            <column ascending="true" name="state"/>
            <column ascending="true" name="zipcode"/>
            <column ascending="true" name="country"/>
         </index>
         <index name="middle_name_idx" unique="false">
            <column ascending="true" name="middle_name"/>
         </index>
         <index name="othernames_idx" unique="false">
            <column ascending="true" name="othernames"/>
         </index>
         <index name="preferred_name_idx" unique="false">
            <column ascending="true" name="preferred_name"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="sms_provider_id" unique="false">
            <column ascending="true" name="sms_provider_id"/>
         </index>
         <index name="surname_idx" unique="false">
            <column ascending="true" name="surname"/>
         </index>
         <index name="userid" unique="true">
            <column ascending="true" name="userid"/>
         </index>
         <index name="userid_idx" unique="false">
            <column ascending="true" name="userid"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="branch_transfer_limits" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="limitId" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="toBranch" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="fromBranch" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="itemtype" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="itemtype" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="itemtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="ccode" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="limitId" sequenceNumberInPK="1"/>
         <index name="branch_transfer_limits_s_pk" unique="true">
            <column ascending="true" name="limitId"/>
         </index>
         <index name="fromBranch_idx" unique="false">
            <column ascending="true" name="fromBranch"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="limitId"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="branches" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="branchcode" nullable="false" remarks="a unique key assigned to each branch" size="10" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="branchcode" foreignKey="account_credit_types_branches_ibfk_2" implied="false" onDeleteCascade="true" table="account_credit_types_branches"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="account_debit_types_branches_ibfk_2" implied="false" onDeleteCascade="true" table="account_debit_types_branches"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="accountlines_ibfk_branches" implied="false" onDeleteCascade="false" table="accountlines"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="additional_contents_branchcode_ibfk" implied="false" onDeleteCascade="true" table="additional_contents"/>
            <child catalog="koha_25_11" column="branch" foreignKey="aqbasket_ibfk_4" implied="false" onDeleteCascade="false" table="aqbasket"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="article_requests_ibfk_4" implied="false" onDeleteCascade="false" table="article_requests"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="authorised_values_branches_ibfk_2" implied="false" onDeleteCascade="true" table="authorised_values_branches"/>
            <child catalog="koha_25_11" column="pickup_library_id" foreignKey="bookings_ibfk_4" implied="false" onDeleteCascade="true" table="bookings"/>
            <child catalog="koha_25_11" column="b_branchcode" foreignKey="borrower_attribute_types_branches_ibfk_2" implied="false" onDeleteCascade="true" table="borrower_attribute_types_branches"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="borrowers_ibfk_2" implied="false" onDeleteCascade="false" table="borrowers"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="branches_overdrive_ibfk_1" implied="false" onDeleteCascade="true" table="branches_overdrive"/>
            <child catalog="koha_25_11" column="frombranch" foreignKey="branchtransfers_ibfk_1" implied="false" onDeleteCascade="true" table="branchtransfers"/>
            <child catalog="koha_25_11" column="tobranch" foreignKey="branchtransfers_ibfk_2" implied="false" onDeleteCascade="true" table="branchtransfers"/>
            <child catalog="koha_25_11" column="branch" foreignKey="cash_registers_branch" implied="false" onDeleteCascade="true" table="cash_registers"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="categories_branches_ibfk_2" implied="false" onDeleteCascade="true" table="categories_branches"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="circ_rules_ibfk_1" implied="false" onDeleteCascade="true" table="circulation_rules"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="club_enrollments_ibfk_3" implied="false" onDeleteCascade="false" table="club_enrollments"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="club_templates_ibfk_1" implied="false" onDeleteCascade="true" table="club_templates"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="clubs_ibfk_2" implied="false" onDeleteCascade="false" table="clubs"/>
            <child catalog="koha_25_11" column="colBranchcode" foreignKey="collections_ibfk_1" implied="false" onDeleteCascade="true" table="collections"/>
            <child catalog="koha_25_11" column="holdingbranch" foreignKey="course_items_ibfk_2" implied="false" onDeleteCascade="true" table="course_items"/>
            <child catalog="koha_25_11" column="homebranch" foreignKey="fk_course_items_homebranch" implied="false" onDeleteCascade="true" table="course_items"/>
            <child catalog="koha_25_11" column="homebranch_storage" foreignKey="fk_course_items_homebranch_storage" implied="false" onDeleteCascade="true" table="course_items"/>
            <child catalog="koha_25_11" column="branch_code" foreignKey="creator_batches_ibfk_2" implied="false" onDeleteCascade="true" table="creator_batches"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="curbside_pickup_policy_ibfk_1" implied="false" onDeleteCascade="true" table="curbside_pickup_policy"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="curbside_pickups_ibfk_1" implied="false" onDeleteCascade="true" table="curbside_pickups"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="fk_desks_branchcode" implied="false" onDeleteCascade="true" table="desks"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="efk_branchcode" implied="false" onDeleteCascade="false" table="edifact_ean"/>
            <child catalog="koha_25_11" column="source_branchcode" foreignKey="hold_fill_targets_ibfk_4" implied="false" onDeleteCascade="true" table="hold_fill_targets"/>
            <child catalog="koha_25_11" column="default_library_id" foreignKey="identity_provider_domain_ibfk_2" implied="false" onDeleteCascade="true" table="identity_provider_domains"/>
            <child catalog="koha_25_11" column="library_id" foreignKey="illbatches_bcfk" implied="false" onDeleteCascade="false" table="illbatches"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="illrequests_bcfk_2" implied="false" onDeleteCascade="true" table="illrequests"/>
            <child catalog="koha_25_11" column="holdingbranch" foreignKey="items_ibfk_3" implied="false" onDeleteCascade="false" table="items"/>
            <child catalog="koha_25_11" column="homebranch" foreignKey="items_ibfk_2" implied="false" onDeleteCascade="false" table="items"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="itemtypes_branches_ibfk_2" implied="false" onDeleteCascade="true" table="itemtypes_branches"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="library_groups_ibfk_2" implied="false" onDeleteCascade="true" table="library_groups"/>
            <child catalog="koha_25_11" column="library_id" foreignKey="library_hours_ibfk_1" implied="false" onDeleteCascade="true" table="library_hours"/>
            <child catalog="koha_25_11" column="library_id" foreignKey="library_smtp_servers_library_fk" implied="false" onDeleteCascade="true" table="library_smtp_servers"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="old_reserves_ibfk_branchcode" implied="false" onDeleteCascade="false" table="old_reserves"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="problem_reports_ibfk2" implied="false" onDeleteCascade="true" table="problem_reports"/>
            <child catalog="koha_25_11" column="pickup_library_id" foreignKey="recalls_ibfk_4" implied="false" onDeleteCascade="true" table="recalls"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="repeatable_holidays_ibfk_1" implied="false" onDeleteCascade="true" table="repeatable_holidays"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="reserves_ibfk_4" implied="false" onDeleteCascade="true" table="reserves"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="special_holidays_ibfk_1" implied="false" onDeleteCascade="true" table="special_holidays"/>
            <child catalog="koha_25_11" column="branchcode_id" foreignKey="stockrotationstages_bifk" implied="false" onDeleteCascade="true" table="stockrotationstages"/>
            <child catalog="koha_25_11" column="branchcode" foreignKey="suggestions_ibfk_branchcode" implied="false" onDeleteCascade="false" table="suggestions"/>
            <child catalog="koha_25_11" column="frombranch" foreignKey="transport_cost_ibfk_1" implied="false" onDeleteCascade="true" table="transport_cost"/>
            <child catalog="koha_25_11" column="tobranch" foreignKey="transport_cost_ibfk_2" implied="false" onDeleteCascade="true" table="transport_cost"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="branchname" nullable="false" remarks="the name of your library or branch" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="branchaddress1" nullable="true" remarks="the first address line of for your library or branch" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="branchaddress2" nullable="true" remarks="the second address line of for your library or branch" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="branchaddress3" nullable="true" remarks="the third address line of for your library or branch" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="branchzip" nullable="true" remarks="the zip or postal code for your library or branch" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="branchcity" nullable="true" remarks="the city or province for your library or branch" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="branchstate" nullable="true" remarks="the state for your library or branch" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="branchcountry" nullable="true" remarks="the county for your library or branch" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="branchphone" nullable="true" remarks="the primary phone for your library or branch" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="branchfax" nullable="true" remarks="the fax number for your library or branch" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="branchemail" nullable="true" remarks="the primary email address for your library or branch" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="branchillemail" nullable="true" remarks="the ILL staff email address for your library or branch" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="branchreplyto" nullable="true" remarks="the email to be used as a Reply-To" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="branchreturnpath" nullable="true" remarks="the email to be used as Return-Path" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="branchurl" nullable="true" remarks="the URL for your library or branch's website" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="issuing" nullable="true" remarks="unused in Koha" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="branchip" nullable="true" remarks="the IP address for your library or branch" size="15" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="branchnotes" nullable="true" remarks="notes related to your library or branch" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="geolocation" nullable="true" remarks="geolocation of your library" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="marcorgcode" nullable="true" remarks="MARC Organization Code, see http://www.loc.gov/marc/organizations/orgshome.html, when empty defaults to syspref MARCOrgCode" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="21" name="pickup_location" nullable="false" remarks="the ability to act as a pickup location" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="22" name="public" nullable="false" remarks="whether this library should show in the opac" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="opacuserjs" nullable="true" remarks="branch specific javascript for the OPAC" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="opacusercss" nullable="true" remarks="branch specific css for the OPAC" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="branchcode" sequenceNumberInPK="1"/>
         <index name="branches_s_pk" unique="true">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="branchcode"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="branches_overdrive" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="branchcode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="branches_overdrive_ibfk_1" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="authname" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="branchcode" sequenceNumberInPK="1"/>
         <index name="branches_overdrive_s_pk" unique="true">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="branchcode"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="branchtransfers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="branchtransfer_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="itemnumber" nullable="false" remarks="the itemnumber that it is in transit (items.itemnumber)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="branchtransfers_ibfk_3" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="2" name="daterequested" nullable="false" remarks="the date the transfer was requested" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="datesent" nullable="true" remarks="the date the transfer was initialized" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="4" name="frombranch" nullable="false" remarks="the branch the transfer is coming from" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="branchtransfers_ibfk_1" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="datearrived" nullable="true" remarks="the date the transfer arrived at its destination" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="datecancelled" nullable="true" remarks="the date the transfer was cancelled" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="7" name="tobranch" nullable="false" remarks="the branch the transfer was going to" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="branchtransfers_ibfk_2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="comments" nullable="true" remarks="any comments related to the transfer" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="reason" nullable="true" remarks="what triggered the transfer" size="25" type="enum('Manual', 'StockrotationAdvance', 'StockrotationRepatriation', 'ReturnToHome', 'ReturnToHolding', 'RotatingCollection', 'Reserve', 'LostReserve', 'CancelReserve', 'TransferCancellation', 'Recall', 'RecallCancellation')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="cancellation_reason" nullable="true" remarks="what triggered the transfer cancellation" size="25" type="enum('Manual', 'StockrotationAdvance', 'StockrotationRepatriation', 'ReturnToHome', 'ReturnToHolding', 'RotatingCollection', 'Reserve', 'LostReserve', 'CancelReserve', 'ItemLost', 'WrongTransfer', 'RecallCancellation')" typeCode="12"/>
         <primaryKey column="branchtransfer_id" sequenceNumberInPK="1"/>
         <index name="branchtransfers_s_pk" unique="true">
            <column ascending="true" name="branchtransfer_id"/>
         </index>
         <index name="frombranch" unique="false">
            <column ascending="true" name="frombranch"/>
         </index>
         <index name="itemnumber" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="branchtransfer_id"/>
         </index>
         <index name="tobranch" unique="false">
            <column ascending="true" name="tobranch"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="browser" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="level" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="classification" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="description" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="number" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="endnode" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
      </table>
      <table catalog="koha_25_11" name="cash_register_actions" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique identifier for each account register action" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="code" nullable="false" remarks="action code denoting the type of action recorded (enum)," size="24" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="register_id" nullable="false" remarks="id of cash_register this action belongs to," size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="cash_register_actions_register" implied="false" onDeleteCascade="true" table="cash_registers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="manager_id" nullable="false" remarks="staff member performing the action" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="cash_register_actions_manager" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="4" name="amount" nullable="true" remarks="amount recorded in action (signed)" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="cash_register_actions_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="cash_register_actions_manager" unique="false">
            <column ascending="true" name="manager_id"/>
         </index>
         <index name="cash_register_actions_register" unique="false">
            <column ascending="true" name="register_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="cash_registers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique identifier for each account register" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="register_id" foreignKey="accountlines_ibfk_registers" implied="false" onDeleteCascade="false" table="accountlines"/>
            <child catalog="koha_25_11" column="register_id" foreignKey="cash_register_actions_register" implied="false" onDeleteCascade="true" table="cash_register_actions"/>
            <child catalog="koha_25_11" column="register_id" foreignKey="sip_accounts_ibfk_2" implied="false" onDeleteCascade="false" table="sip_accounts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="the user friendly identifier for each account register" size="24" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="description" nullable="false" remarks="the user friendly description for each account register" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="branch" nullable="false" remarks="the foreign key the library this account register belongs" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="cash_registers_branch" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="branch_default" nullable="false" remarks="boolean flag to denote that this till is the branch default" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="5" name="starting_float" nullable="true" remarks="the starting float this account register should be assigned" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="archived" nullable="false" remarks="boolean flag to denote if this till is archived or not" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="cash_registers_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="cash_registers_branch" unique="false">
            <column ascending="true" name="branch"/>
         </index>
         <index name="name" unique="true">
            <column ascending="true" name="name"/>
            <column ascending="true" name="branch"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="categories" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="categorycode" nullable="false" remarks="unique primary key used to identify the patron category" size="10" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="category_code" foreignKey="borrower_attribute_types_ibfk_1" implied="false" onDeleteCascade="false" table="borrower_attribute_types"/>
            <child catalog="koha_25_11" column="categorycode" foreignKey="borrower_message_preferences_ibfk_3" implied="false" onDeleteCascade="true" table="borrower_message_preferences"/>
            <child catalog="koha_25_11" column="categorycode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="borrower_modifications"/>
            <child catalog="koha_25_11" column="categorycode" foreignKey="borrowers_ibfk_1" implied="false" onDeleteCascade="false" table="borrowers"/>
            <child catalog="koha_25_11" column="categorycode" foreignKey="categories_branches_ibfk_1" implied="false" onDeleteCascade="true" table="categories_branches"/>
            <child catalog="koha_25_11" column="categorycode" foreignKey="circ_rules_ibfk_2" implied="false" onDeleteCascade="true" table="circulation_rules"/>
            <child catalog="koha_25_11" column="categorycode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="deletedborrowers"/>
            <child catalog="koha_25_11" column="default_category_id" foreignKey="identity_provider_domain_ibfk_3" implied="false" onDeleteCascade="true" table="identity_provider_domains"/>
            <child catalog="koha_25_11" column="categorycode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="item_circulation_alert_preferences"/>
            <child catalog="koha_25_11" column="categorycode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="overduerules"/>
            <child catalog="koha_25_11" column="categorycode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="pseudonymized_transactions"/>
            <child catalog="koha_25_11" column="categorycode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="statistics"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="description" nullable="true" remarks="description of the patron category" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="enrolmentperiod" nullable="true" remarks="number of months the patron is enrolled for (will be NULL if enrolmentperioddate is set)" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="enrolmentperioddate" nullable="true" remarks="date the patron is enrolled until (will be NULL if enrolmentperiod is set)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="password_expiry_days" nullable="true" remarks="number of days after which the patron must reset their password" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="upperagelimit" nullable="true" remarks="age limit for the patron" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="dateofbirthrequired" nullable="true" remarks="the minimum age required for the patron category" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="7" name="enrolmentfee" nullable="true" remarks="enrollment fee for the patron" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="overduenoticerequired" nullable="true" remarks="are overdue notices sent to this patron category (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="9" name="reservefee" nullable="true" remarks="cost to place holds" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="hidelostitems" nullable="false" remarks="are lost items shown to this category (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="'A'" digits="0" id="11" name="category_type" nullable="false" remarks="type of Koha patron (Adult, Child, Professional, Organizational, Statistical, Staff)" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'follow_syspref_BlockExpiredPatronOpacActions'" digits="0" id="12" name="BlockExpiredPatronOpacActions" nullable="false" remarks="specific actions expired patrons of this category are blocked from performing or if the BlockExpiredPatronOpacActions system preference is to be followed" size="128" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'default'" digits="0" id="13" name="default_privacy" nullable="false" remarks="Default privacy setting for this patron category" size="7" type="enum('default', 'never', 'forever')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'inherit'" digits="0" id="14" name="checkprevcheckout" nullable="false" remarks="produce a warning for this patron category if this item has previously been checked out to this patron if 'yes', not if 'no', defer to syspref setting if 'inherit'." size="7" type="enum('yes', 'no', 'inherit')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="15" name="can_place_ill_in_opac" nullable="false" remarks="can this patron category place interlibrary loan requests" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="16" name="can_be_guarantee" nullable="false" remarks="if patrons of this category can be guarantees" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="reset_password" nullable="true" remarks="if patrons of this category can do the password reset flow," size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="change_password" nullable="true" remarks="if patrons of this category can change their passwords in the OAPC" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="min_password_length" nullable="true" remarks="set minimum password length for patrons in this category" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="require_strong_password" nullable="true" remarks="set required password strength for patrons in this category" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="force_password_reset_when_set_by_staff" nullable="true" remarks="if patrons of this category are required to reset password after being created by a staff member" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="exclude_from_local_holds_priority" nullable="true" remarks="Exclude patrons of this category from local holds priority" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="noissuescharge" nullable="true" remarks="define maximum amount outstanding before checkouts are blocked" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="noissueschargeguarantees" nullable="true" remarks="define maximum amount that the guarantees of a patron in this category can have outstanding before checkouts are blocked" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="noissueschargeguarantorswithguarantees" nullable="true" remarks="define maximum amount that the guarantors with guarantees of a patron in this category can have outstanding before checkouts are blocked" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="26" name="enforce_expiry_notice" nullable="false" remarks="enforce the patron expiry notice for this category" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="categorycode" sequenceNumberInPK="1"/>
         <index name="categories_s_pk" unique="true">
            <column ascending="true" name="categorycode"/>
         </index>
         <index name="categorycode" unique="true">
            <column ascending="true" name="categorycode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="categorycode"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="categories_branches" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="0" name="categorycode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="categorycode" foreignKey="categories_branches_ibfk_1" implied="false" onDeleteCascade="true" table="categories"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="categories_branches_ibfk_2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="categorycode" unique="false">
            <column ascending="true" name="categorycode"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="checkout_renewals" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="renewal_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="checkout_id" nullable="true" remarks="the id of the checkout this renewal pertains to" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="renewer_id" nullable="true" remarks="the id of the user who processed the renewal" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="renewals_renewer_id" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="seen" nullable="true" remarks="boolean denoting whether the item was present or not" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="interface" nullable="false" remarks="the interface this renewal took place on" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="timestamp" nullable="false" remarks="the date and time the renewal took place" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="'Manual'" digits="0" id="6" name="renewal_type" nullable="false" remarks="whether the renewal was an automatic or manual renewal" size="9" type="enum('Automatic', 'Manual')" typeCode="12"/>
         <primaryKey column="renewal_id" sequenceNumberInPK="1"/>
         <index name="checkout_renewals_s_pk" unique="true">
            <column ascending="true" name="renewal_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="renewal_id"/>
         </index>
         <index name="renewer_id" unique="false">
            <column ascending="true" name="renewer_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="circulation_rules" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="circ_rules_ibfk_1" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="categorycode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="categorycode" foreignKey="circ_rules_ibfk_2" implied="false" onDeleteCascade="true" table="categories"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="itemtype" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="itemtype" foreignKey="circ_rules_ibfk_3" implied="false" onDeleteCascade="true" table="itemtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="rule_name" nullable="false" remarks="" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="rule_value" nullable="false" remarks="" size="32" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="circulation_rules_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="branchcode" unique="true">
            <column ascending="true" name="branchcode"/>
            <column ascending="true" name="categorycode"/>
            <column ascending="true" name="itemtype"/>
            <column ascending="true" name="rule_name"/>
         </index>
         <index name="circ_rules_ibfk_2" unique="false">
            <column ascending="true" name="categorycode"/>
         </index>
         <index name="circ_rules_ibfk_3" unique="false">
            <column ascending="true" name="itemtype"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="rule_name" unique="false">
            <column ascending="true" name="rule_name"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="cities" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="cityid" nullable="false" remarks="unique identifier added by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="city_name" nullable="false" remarks="name of the city" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="city_state" nullable="true" remarks="name of the state/province" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="city_country" nullable="true" remarks="name of the country" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="city_zipcode" nullable="true" remarks="zip or postal code" size="20" type="VARCHAR" typeCode="12"/>
         <primaryKey column="cityid" sequenceNumberInPK="1"/>
         <index name="cities_s_pk" unique="true">
            <column ascending="true" name="cityid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="cityid"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="class_sort_rules" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="class_sort_rule" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="class_sort_rule" foreignKey="class_source_ibfk_1" implied="false" onDeleteCascade="false" table="class_sources"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="description" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="sort_routine" nullable="false" remarks="" size="30" type="VARCHAR" typeCode="12"/>
         <primaryKey column="class_sort_rule" sequenceNumberInPK="1"/>
         <index name="class_sort_rules_s_pk" unique="true">
            <column ascending="true" name="class_sort_rule"/>
         </index>
         <index name="class_sort_rule_idx" unique="true">
            <column ascending="true" name="class_sort_rule"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="class_sort_rule"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="class_sources" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="cn_source" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="cn_source" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="biblioitems"/>
            <child catalog="koha_25_11" column="cn_source" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="deletedbiblioitems"/>
            <child catalog="koha_25_11" column="cn_source" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="deleteditems"/>
            <child catalog="koha_25_11" column="cn_source" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="description" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="used" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="3" name="class_sort_rule" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="class_sort_rule" foreignKey="class_source_ibfk_1" implied="false" onDeleteCascade="false" table="class_sort_rules"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="4" name="class_split_rule" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="class_split_rule" foreignKey="class_source_ibfk_2" implied="false" onDeleteCascade="false" table="class_split_rules"/>
         </column>
         <primaryKey column="cn_source" sequenceNumberInPK="1"/>
         <index name="class_sources_s_pk" unique="true">
            <column ascending="true" name="cn_source"/>
         </index>
         <index name="class_source_ibfk_1" unique="false">
            <column ascending="true" name="class_sort_rule"/>
         </index>
         <index name="class_source_ibfk_2" unique="false">
            <column ascending="true" name="class_split_rule"/>
         </index>
         <index name="cn_source_idx" unique="true">
            <column ascending="true" name="cn_source"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="cn_source"/>
         </index>
         <index name="used_idx" unique="false">
            <column ascending="true" name="used"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="class_split_rules" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="class_split_rule" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="class_split_rule" foreignKey="class_source_ibfk_2" implied="false" onDeleteCascade="false" table="class_sources"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="description" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="split_routine" nullable="false" remarks="" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="3" name="split_regex" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="class_split_rule" sequenceNumberInPK="1"/>
         <index name="class_split_rules_s_pk" unique="true">
            <column ascending="true" name="class_split_rule"/>
         </index>
         <index name="class_split_rule_idx" unique="true">
            <column ascending="true" name="class_split_rule"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="class_split_rule"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="club_enrollment_fields" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="club_enrollment_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="club_enrollment_fields_ibfk_1" implied="false" onDeleteCascade="true" table="club_enrollments"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="club_template_enrollment_field_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="club_enrollment_fields_ibfk_2" implied="false" onDeleteCascade="true" table="club_template_enrollment_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="value" nullable="false" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="club_enrollment_fields_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="club_enrollment_id" unique="false">
            <column ascending="true" name="club_enrollment_id"/>
         </index>
         <index name="club_template_enrollment_field_id" unique="false">
            <column ascending="true" name="club_template_enrollment_field_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="club_enrollments" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="club_enrollment_id" foreignKey="club_enrollment_fields_ibfk_1" implied="false" onDeleteCascade="true" table="club_enrollment_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="club_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="club_enrollments_ibfk_1" implied="false" onDeleteCascade="true" table="clubs"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="borrowernumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="club_enrollments_ibfk_2" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="3" name="date_enrolled" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="date_canceled" nullable="true" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="date_created" nullable="true" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="date_updated" nullable="true" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="club_enrollments_ibfk_3" implied="false" onDeleteCascade="false" table="branches"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="club_enrollments_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="club_id" unique="false">
            <column ascending="true" name="club_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="club_fields" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="club_template_field_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="club_fields_ibfk_3" implied="false" onDeleteCascade="true" table="club_template_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="club_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="club_fields_ibfk_4" implied="false" onDeleteCascade="true" table="clubs"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="value" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="club_fields_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="club_id" unique="false">
            <column ascending="true" name="club_id"/>
         </index>
         <index name="club_template_field_id" unique="false">
            <column ascending="true" name="club_template_field_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="club_holds" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="club_hold_id" foreignKey="clubs_holds_paton_holds_ibfk_1" implied="false" onDeleteCascade="true" table="club_holds_to_patron_holds"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="club_id" nullable="false" remarks="id for the club the hold was generated for" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="clubs_holds_ibfk_1" implied="false" onDeleteCascade="true" table="clubs"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="biblio_id" nullable="false" remarks="id for the bibliographic record the hold has been placed against" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="clubs_holds_ibfk_2" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="item_id" nullable="true" remarks="If item-level, the id for the item the hold has been placed against" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="clubs_holds_ibfk_3" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="4" name="date_created" nullable="false" remarks="Timestamp for the placed hold" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="club_holds_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="clubs_holds_ibfk_1" unique="false">
            <column ascending="true" name="club_id"/>
         </index>
         <index name="clubs_holds_ibfk_2" unique="false">
            <column ascending="true" name="biblio_id"/>
         </index>
         <index name="clubs_holds_ibfk_3" unique="false">
            <column ascending="true" name="item_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="club_holds_to_patron_holds" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="club_hold_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="clubs_holds_paton_holds_ibfk_1" implied="false" onDeleteCascade="true" table="club_holds"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="patron_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="clubs_holds_paton_holds_ibfk_2" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="hold_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="reserve_id" foreignKey="clubs_holds_paton_holds_ibfk_3" implied="false" onDeleteCascade="true" table="reserves"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="error_code" nullable="true" remarks="" size="30" type="enum('damaged', 'ageRestricted', 'itemAlreadyOnHold', 'tooManyHoldsForThisRecord', 'tooManyReservesToday', 'tooManyReserves', 'notReservable', 'cannotReserveFromOtherBranches', 'libraryNotFound', 'libraryNotPickupLocation', 'cannotBeTransferred', 'noReservesAllowed')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="error_message" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="club_holds_to_patron_holds_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="clubs_holds_paton_holds_ibfk_1" unique="false">
            <column ascending="true" name="club_hold_id"/>
         </index>
         <index name="clubs_holds_paton_holds_ibfk_2" unique="false">
            <column ascending="true" name="patron_id"/>
         </index>
         <index name="clubs_holds_paton_holds_ibfk_3" unique="false">
            <column ascending="true" name="hold_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="club_template_enrollment_fields" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="club_template_enrollment_field_id" foreignKey="club_enrollment_fields_ibfk_2" implied="false" onDeleteCascade="true" table="club_enrollment_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="club_template_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="club_template_enrollment_fields_ibfk_1" implied="false" onDeleteCascade="true" table="club_templates"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="authorised_value_category" nullable="true" remarks="" size="32" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="club_template_enrollment_fields_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="club_template_id" unique="false">
            <column ascending="true" name="club_template_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="club_template_fields" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="club_template_field_id" foreignKey="club_fields_ibfk_3" implied="false" onDeleteCascade="true" table="club_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="club_template_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="club_template_fields_ibfk_1" implied="false" onDeleteCascade="true" table="club_templates"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="authorised_value_category" nullable="true" remarks="" size="32" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="club_template_fields_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="club_template_id" unique="false">
            <column ascending="true" name="club_template_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="club_templates" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="club_template_id" foreignKey="club_template_enrollment_fields_ibfk_1" implied="false" onDeleteCascade="true" table="club_template_enrollment_fields"/>
            <child catalog="koha_25_11" column="club_template_id" foreignKey="club_template_fields_ibfk_1" implied="false" onDeleteCascade="true" table="club_template_fields"/>
            <child catalog="koha_25_11" column="club_template_id" foreignKey="clubs_ibfk_1" implied="false" onDeleteCascade="true" table="clubs"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="is_enrollable_from_opac" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="is_email_required" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="club_templates_ibfk_1" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="6" name="date_created" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="date_updated" nullable="true" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="8" name="is_deletable" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="club_templates_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="ct_branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="clubs" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="club_id" foreignKey="club_enrollments_ibfk_1" implied="false" onDeleteCascade="true" table="club_enrollments"/>
            <child catalog="koha_25_11" column="club_id" foreignKey="club_fields_ibfk_4" implied="false" onDeleteCascade="true" table="club_fields"/>
            <child catalog="koha_25_11" column="club_id" foreignKey="clubs_holds_ibfk_1" implied="false" onDeleteCascade="true" table="club_holds"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="club_template_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="clubs_ibfk_1" implied="false" onDeleteCascade="true" table="club_templates"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="date_start" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="date_end" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="clubs_ibfk_2" implied="false" onDeleteCascade="false" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="7" name="date_created" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="date_updated" nullable="true" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="clubs_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="club_template_id" unique="false">
            <column ascending="true" name="club_template_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="collections" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="colId" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="colId" foreignKey="collectionst_ibfk_1" implied="false" onDeleteCascade="true" table="collections_tracking"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="colTitle" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="colDesc" nullable="false" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="colBranchcode" nullable="true" remarks="'branchcode for branch where item should be held.'" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="collections_ibfk_1" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <primaryKey column="colId" sequenceNumberInPK="1"/>
         <index name="collections_s_pk" unique="true">
            <column ascending="true" name="colId"/>
         </index>
         <index name="collections_ibfk_1" unique="false">
            <column ascending="true" name="colBranchcode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="colId"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="collections_tracking" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="collections_tracking_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="colId" nullable="false" remarks="collections.colId" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="colId" foreignKey="collectionst_ibfk_1" implied="false" onDeleteCascade="true" table="collections"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="itemnumber" nullable="false" remarks="items.itemnumber" size="10" type="INT" typeCode="4"/>
         <primaryKey column="collections_tracking_id" sequenceNumberInPK="1"/>
         <index name="collections_tracking_s_pk" unique="true">
            <column ascending="true" name="collections_tracking_id"/>
         </index>
         <index name="collectionst_ibfk_1" unique="false">
            <column ascending="true" name="colId"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="collections_tracking_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="columns_settings" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="module" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="page" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="tablename" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="columnname" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="cannot_be_toggled" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="is_hidden" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="module" sequenceNumberInPK="1"/>
         <primaryKey column="page" sequenceNumberInPK="2"/>
         <primaryKey column="tablename" sequenceNumberInPK="3"/>
         <primaryKey column="columnname" sequenceNumberInPK="4"/>
         <index name="columns_settings_s_pk" unique="true">
            <column ascending="true" name="module"/>
            <column ascending="true" name="page"/>
            <column ascending="true" name="tablename"/>
            <column ascending="true" name="columnname"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="module"/>
            <column ascending="true" name="page"/>
            <column ascending="true" name="tablename"/>
            <column ascending="true" name="columnname"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="course_instructors" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="course_id" nullable="false" remarks="foreign key to link to courses.course_id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="course_id" foreignKey="course_instructors_ibfk_2" implied="false" onDeleteCascade="false" table="courses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="foreign key to link to borrowers.borrowernumber for instructor information" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="course_instructors_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <primaryKey column="course_id" sequenceNumberInPK="1"/>
         <primaryKey column="borrowernumber" sequenceNumberInPK="2"/>
         <index name="course_instructors_s_pk" unique="true">
            <column ascending="true" name="course_id"/>
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="course_id"/>
            <column ascending="true" name="borrowernumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="course_items" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="ci_id" nullable="false" remarks="course item id" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="ci_id" foreignKey="course_reserves_ibfk_2" implied="false" onDeleteCascade="true" table="course_reserves"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="itemnumber" nullable="true" remarks="items.itemnumber for the item on reserve" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="course_items_ibfk_1" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="biblionumber" nullable="false" remarks="biblio.biblionumber for the bibliographic record on reserve" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="fk_course_items_biblionumber" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="itype" nullable="true" remarks="new itemtype for the item to have while on reserve (optional)" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="itype_enabled" nullable="false" remarks="indicates if itype should be changed while on course reserve" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="itype_storage" nullable="true" remarks="a place to store the itype when item is on course reserve" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="ccode" nullable="true" remarks="new category code for the item to have while on reserve (optional)" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="ccode_enabled" nullable="false" remarks="indicates if ccode should be changed while on course reserve" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="ccode_storage" nullable="true" remarks="a place to store the ccode when item is on course reserve" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="homebranch" nullable="true" remarks="new home branch for the item to have while on reserve (optional)" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="fk_course_items_homebranch" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="homebranch_enabled" nullable="false" remarks="indicates if homebranch should be changed while on course reserve" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="homebranch_storage" nullable="true" remarks="a place to store the homebranch when item is on course reserve" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="fk_course_items_homebranch_storage" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="holdingbranch" nullable="true" remarks="new holding branch for the item to have while on reserve (optional)" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="course_items_ibfk_2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="13" name="holdingbranch_enabled" nullable="false" remarks="indicates if itype should be changed while on course reserve" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="holdingbranch_storage" nullable="true" remarks="a place to store the holdingbranch when item is on course reserve" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="location" nullable="true" remarks="new shelving location for the item to have while on reserve (optional)" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="16" name="location_enabled" nullable="false" remarks="indicates if itype should be changed while on course reserve" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="location_storage" nullable="true" remarks="a place to store the location when the item is on course reserve" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'no'" digits="0" id="18" name="enabled" nullable="false" remarks="if at least one enabled course has this item on reserve, this field will be 'yes', otherwise it will be 'no'" size="3" type="enum('yes', 'no')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="19" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="ci_id" sequenceNumberInPK="1"/>
         <index name="course_items_s_pk" unique="true">
            <column ascending="true" name="ci_id"/>
         </index>
         <index name="fk_course_items_biblionumber" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="fk_course_items_homebranch" unique="false">
            <column ascending="true" name="homebranch"/>
         </index>
         <index name="fk_course_items_homebranch_storage" unique="false">
            <column ascending="true" name="homebranch_storage"/>
         </index>
         <index name="holdingbranch" unique="false">
            <column ascending="true" name="holdingbranch"/>
         </index>
         <index name="itemnumber" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="ci_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="course_reserves" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="cr_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="course_id" nullable="false" remarks="foreign key to link to courses.course_id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="course_id" foreignKey="course_reserves_ibfk_1" implied="false" onDeleteCascade="false" table="courses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="ci_id" nullable="false" remarks="foreign key to link to courses_items.ci_id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="ci_id" foreignKey="course_reserves_ibfk_2" implied="false" onDeleteCascade="true" table="course_items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="staff_note" nullable="true" remarks="staff only note" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="public_note" nullable="true" remarks="public, OPAC visible note" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="cr_id" sequenceNumberInPK="1"/>
         <index name="course_reserves_s_pk" unique="true">
            <column ascending="true" name="cr_id"/>
         </index>
         <index name="course_id" unique="false">
            <column ascending="true" name="course_id"/>
         </index>
         <index name="course_reserves_ibfk_2" unique="false">
            <column ascending="true" name="ci_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="cr_id"/>
         </index>
         <index name="pseudo_key" unique="true">
            <column ascending="true" name="course_id"/>
            <column ascending="true" name="ci_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="courses" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="course_id" nullable="false" remarks="unique id for the course" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="course_id" foreignKey="course_instructors_ibfk_2" implied="false" onDeleteCascade="false" table="course_instructors"/>
            <child catalog="koha_25_11" column="course_id" foreignKey="course_reserves_ibfk_1" implied="false" onDeleteCascade="false" table="course_reserves"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="department" nullable="true" remarks="the authorised value for the DEPARTMENT" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="course_number" nullable="true" remarks="the 'course number' assigned to a course" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="section" nullable="true" remarks="the 'section' of a course" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="course_name" nullable="true" remarks="the name of the course" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="term" nullable="true" remarks="the authorised value for the TERM" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="staff_note" nullable="true" remarks="the text of the staff only note" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="public_note" nullable="true" remarks="the text of the public / opac note" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="students_count" nullable="true" remarks="how many students will be taking this course/section" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'yes'" digits="0" id="9" name="enabled" nullable="false" remarks="determines whether the course is active" size="3" type="enum('yes', 'no')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="10" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="course_id" sequenceNumberInPK="1"/>
         <index name="courses_s_pk" unique="true">
            <column ascending="true" name="course_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="course_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="cover_images" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="imagenumber" nullable="false" remarks="unique identifier for the image" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="biblionumber" nullable="true" remarks="foreign key from biblio table to link to biblionumber" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="bibliocoverimage_fk1" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="itemnumber" nullable="true" remarks="foreign key from item table to link to itemnumber" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="bibliocoverimage_fk2" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="mimetype" nullable="false" remarks="image type" size="15" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="imagefile" nullable="false" remarks="image file contents" size="16777215" type="MEDIUMBLOB" typeCode="-4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="thumbnail" nullable="false" remarks="thumbnail file contents" size="16777215" type="MEDIUMBLOB" typeCode="-4"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="6" name="timestamp" nullable="false" remarks="image creation/update time" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="imagenumber" sequenceNumberInPK="1"/>
         <index name="cover_images_s_pk" unique="true">
            <column ascending="true" name="imagenumber"/>
         </index>
         <index name="bibliocoverimage_fk1" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="bibliocoverimage_fk2" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="imagenumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="creator_batches" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="label_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="1" name="batch_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="item_number" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="creator_batches_ibfk_3" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="borrower_number" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="creator_batches_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="'NB'" digits="0" id="6" name="branch_code" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="creator_batches_ibfk_2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="'Labels'" digits="0" id="7" name="creator" nullable="false" remarks="" size="15" type="CHAR" typeCode="1"/>
         <primaryKey column="label_id" sequenceNumberInPK="1"/>
         <index name="creator_batches_s_pk" unique="true">
            <column ascending="true" name="label_id"/>
         </index>
         <index name="borrower_fk_constraint" unique="false">
            <column ascending="true" name="borrower_number"/>
         </index>
         <index name="branch_fk_constraint" unique="false">
            <column ascending="true" name="branch_code"/>
         </index>
         <index name="item_fk_constraint" unique="false">
            <column ascending="true" name="item_number"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="label_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="creator_images" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="image_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="imagefile" nullable="true" remarks="" size="16777215" type="MEDIUMBLOB" typeCode="-4"/>
         <column autoUpdated="false" defaultValue="'DEFAULT'" digits="0" id="2" name="image_name" nullable="false" remarks="" size="20" type="CHAR" typeCode="1"/>
         <primaryKey column="image_id" sequenceNumberInPK="1"/>
         <index name="creator_images_s_pk" unique="true">
            <column ascending="true" name="image_id"/>
         </index>
         <index name="image_name_index" unique="true">
            <column ascending="true" name="image_name"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="image_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="creator_layouts" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="layout_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="'CODE39'" digits="0" id="1" name="barcode_type" nullable="false" remarks="" size="100" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="2" name="start_label" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="'BAR'" digits="0" id="3" name="printing_type" nullable="false" remarks="" size="32" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="'DEFAULT'" digits="0" id="4" name="layout_name" nullable="false" remarks="" size="25" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="guidebox" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="6" name="oblique_title" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="'TR'" digits="0" id="7" name="font" nullable="false" remarks="" size="10" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="10" digits="0" id="8" name="font_size" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0.800000" digits="6" id="9" name="scale_width" nullable="false" remarks="" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="0.010000" digits="6" id="10" name="scale_height" nullable="false" remarks="" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="'POINT'" digits="0" id="11" name="units" nullable="false" remarks="" size="20" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="12" name="callnum_split" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="'L'" digits="0" id="13" name="text_justify" nullable="false" remarks="" size="1" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="'barcode'" digits="0" id="14" name="format_string" nullable="false" remarks="" size="210" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="layout_xml" nullable="false" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="'Labels'" digits="0" id="16" name="creator" nullable="false" remarks="" size="15" type="CHAR" typeCode="1"/>
         <primaryKey column="layout_id" sequenceNumberInPK="1"/>
         <index name="creator_layouts_s_pk" unique="true">
            <column ascending="true" name="layout_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="layout_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="creator_templates" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="template_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="profile_id" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="'DEFAULT TEMPLATE'" digits="0" id="2" name="template_code" nullable="false" remarks="" size="100" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="'Default description'" digits="0" id="3" name="template_desc" nullable="false" remarks="" size="100" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="page_width" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="page_height" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="label_width" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="label_height" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="8" name="top_text_margin" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="9" name="left_text_margin" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="top_margin" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="11" name="left_margin" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="12" name="cols" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="13" name="rows" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="14" name="col_gap" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="15" name="row_gap" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="'POINT'" digits="0" id="16" name="units" nullable="false" remarks="" size="20" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="'Labels'" digits="0" id="17" name="creator" nullable="false" remarks="" size="15" type="CHAR" typeCode="1"/>
         <primaryKey column="template_id" sequenceNumberInPK="1"/>
         <index name="creator_templates_s_pk" unique="true">
            <column ascending="true" name="template_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="template_id"/>
         </index>
         <index name="template_profile_fk_constraint" unique="false">
            <column ascending="true" name="profile_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="curbside_pickup_issues" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="curbside_pickup_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="curbside_pickup_issues_ibfk_1" implied="false" onDeleteCascade="true" table="curbside_pickups"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="issue_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="reserve_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="curbside_pickup_issues_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="curbside_pickup_id" unique="false">
            <column ascending="true" name="curbside_pickup_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="curbside_pickup_opening_slots" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="curbside_pickup_policy_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="curbside_pickup_opening_slots_ibfk_1" implied="false" onDeleteCascade="true" table="curbside_pickup_policy"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="day" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="start_hour" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="start_minute" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="end_hour" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="end_minute" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="curbside_pickup_opening_slots_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="curbside_pickup_policy_id" unique="false">
            <column ascending="true" name="curbside_pickup_policy_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="curbside_pickup_policy" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="curbside_pickup_policy_id" foreignKey="curbside_pickup_opening_slots_ibfk_1" implied="false" onDeleteCascade="true" table="curbside_pickup_opening_slots"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="branchcode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="curbside_pickup_policy_ibfk_1" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="enabled" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="enable_waiting_holds_only" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="pickup_interval" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="patrons_per_interval" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="patron_scheduled_pickup" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="curbside_pickup_policy_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="branchcode" unique="true">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="curbside_pickups" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="curbside_pickup_id" foreignKey="curbside_pickup_issues_ibfk_1" implied="false" onDeleteCascade="true" table="curbside_pickup_issues"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="curbside_pickups_ibfk_2" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="branchcode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="curbside_pickups_ibfk_1" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="scheduled_pickup_datetime" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="staged_datetime" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="staged_by" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="curbside_pickups_ibfk_3" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="arrival_datetime" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="delivered_datetime" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="delivered_by" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="notes" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="curbside_pickups_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="staged_by" unique="false">
            <column ascending="true" name="staged_by"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="currency" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="currency" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="invoiceprice" foreignKey="aqbooksellers_ibfk_2" implied="false" onDeleteCascade="true" table="aqbooksellers"/>
            <child catalog="koha_25_11" column="listprice" foreignKey="aqbooksellers_ibfk_1" implied="false" onDeleteCascade="true" table="aqbooksellers"/>
            <child catalog="koha_25_11" column="currency" foreignKey="aqorders_currency" implied="false" onDeleteCascade="false" table="aqorders"/>
            <child catalog="koha_25_11" column="invoice_currency" foreignKey="aqorders_invoice_currency" implied="false" onDeleteCascade="false" table="aqorders"/>
            <child catalog="koha_25_11" column="currency" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="suggestions"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="symbol" nullable="true" remarks="" size="5" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="isocode" nullable="true" remarks="" size="5" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="3" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="5" id="4" name="rate" nullable="true" remarks="" size="15" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="active" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="archived" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="p_sep_by_space" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="8" name="p_cs_precedes" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="currency" sequenceNumberInPK="1"/>
         <index name="currency_s_pk" unique="true">
            <column ascending="true" name="currency"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="currency"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="deletedauth_header" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="authid" nullable="false" remarks="" size="20" type="BIGINT UNSIGNED" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="authtypecode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="authtypecode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="auth_types"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="datecreated" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="3" name="modification_time" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="heading" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="origincode" nullable="true" remarks="" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="authtrees" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="linkid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="marcxml" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="authid" sequenceNumberInPK="1"/>
         <index name="deletedauth_header_s_pk" unique="true">
            <column ascending="true" name="authid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="authid"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="deletedbiblio" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="biblionumber" nullable="false" remarks="unique identifier assigned to each bibliographic record" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="biblionumber" foreignKey="deletedrecord_metadata_fk_1" implied="false" onDeleteCascade="true" table="deletedbiblio_metadata"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="frameworkcode" nullable="false" remarks="foreign key from the biblio_framework table to identify which framework was used in cataloging this record" size="4" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="frameworkcode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="biblio_framework"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="author" nullable="true" remarks="statement of responsibility from MARC record (100$a in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="title" nullable="true" remarks="title (without the subtitle) from the MARC record (245$a in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="medium" nullable="true" remarks="medium from the MARC record (245$h in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="subtitle" nullable="true" remarks="remainder of the title from the MARC record (245$b in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="part_number" nullable="true" remarks="part number from the MARC record (245$n in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="part_name" nullable="true" remarks="part name from the MARC record (245$p in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="unititle" nullable="true" remarks="uniform title (without the subtitle) from the MARC record (240$a in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="notes" nullable="true" remarks="values from the general notes field in the MARC record (500$a in MARC21) split by bar (|)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="serial" nullable="true" remarks="Boolean indicating whether biblio is for a serial" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="seriestitle" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="copyrightdate" nullable="true" remarks="publication or copyright date from the MARC record" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="13" name="timestamp" nullable="false" remarks="date and time this record was last touched" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="datecreated" nullable="false" remarks="the date this record was added to Koha" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="abstract" nullable="true" remarks="summary from the MARC record (520$a in MARC21)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="16" name="opac_suppressed" nullable="false" remarks="whether the record should be suppressed in the OPAC" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="biblionumber" sequenceNumberInPK="1"/>
         <index name="deletedbiblio_s_pk" unique="true">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="blbnoidx" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="biblionumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="deletedbiblio_metadata" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="biblionumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="deletedrecord_metadata_fk_1" implied="false" onDeleteCascade="true" table="deletedbiblio"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="format" nullable="false" remarks="" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="schema" nullable="false" remarks="" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="metadata" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="record_source_id" nullable="true" remarks="The record source for the metadata" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="record_source_id" foreignKey="deletedrecord_metadata_fk_2" implied="false" onDeleteCascade="true" table="record_sources"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="deletedbiblio_metadata_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="deletedbiblio_metadata_uniq_key" unique="true">
            <column ascending="true" name="biblionumber"/>
            <column ascending="true" name="format"/>
            <column ascending="true" name="schema"/>
         </index>
         <index name="deletedrecord_metadata_fk_2" unique="false">
            <column ascending="true" name="record_source_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="timestamp" unique="false">
            <column ascending="true" name="timestamp"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="deletedbiblioitems" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="0" digits="0" id="0" name="biblioitemnumber" nullable="false" remarks="primary key, unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="biblionumber" nullable="false" remarks="foreign key linking this table to the biblio table" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="volume" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="number" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="itemtype" nullable="true" remarks="biblio level item type (MARC21 942$c)" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="itemtype" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="itemtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="isbn" nullable="true" remarks="ISBN (MARC21 020$a)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="issn" nullable="true" remarks="ISSN (MARC21 022$a)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="ean" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="publicationyear" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="publishercode" nullable="true" remarks="publisher (MARC21 260$b and 264$b)" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="volumedate" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="volumedesc" nullable="true" remarks="volume information (MARC21 362$a)" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="collectiontitle" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="collectionissn" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="collectionvolume" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="editionstatement" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="editionresponsibility" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="17" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="illus" nullable="true" remarks="illustrations (MARC21 300$b)" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="pages" nullable="true" remarks="number of pages (MARC21 300$a)" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="notes" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="size" nullable="true" remarks="material size (MARC21 300$c)" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="place" nullable="true" remarks="publication place (MARC21 260$a and 264$a)" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="lccn" nullable="true" remarks="library of congress control number (MARC21 010$a)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="url" nullable="true" remarks="url (MARC21 856$u)" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="cn_source" nullable="true" remarks="classification source (MARC21 942$2)" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="cn_source" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="class_sources"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="cn_class" nullable="true" remarks="" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="cn_item" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="cn_suffix" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="cn_sort" nullable="true" remarks="normalized version of the call number used for sorting" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="30" name="agerestriction" nullable="true" remarks="target audience/age restriction from the bib record (MARC21 521$a)" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="31" name="totalissues" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="biblioitemnumber" sequenceNumberInPK="1"/>
         <index name="deletedbiblioitems_s_pk" unique="true">
            <column ascending="true" name="biblioitemnumber"/>
         </index>
         <index name="bibinoidx" unique="false">
            <column ascending="true" name="biblioitemnumber"/>
         </index>
         <index name="bibnoidx" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="ean" unique="false">
            <column ascending="true" name="ean"/>
         </index>
         <index name="isbn" unique="false">
            <column ascending="true" name="isbn"/>
         </index>
         <index name="itemtype_idx" unique="false">
            <column ascending="true" name="itemtype"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="biblioitemnumber"/>
         </index>
         <index name="publishercode" unique="false">
            <column ascending="true" name="publishercode"/>
         </index>
         <index name="timestamp" unique="false">
            <column ascending="true" name="timestamp"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="deletedborrowers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="0" digits="0" id="0" name="borrowernumber" nullable="false" remarks="primary key, Koha assigned ID number for patrons/borrowers" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="cardnumber" nullable="true" remarks="unique key, library assigned ID number for patrons/borrowers" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="surname" nullable="true" remarks="patron/borrower's last name (surname)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="firstname" nullable="true" remarks="patron/borrower's first name" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="preferred_name" nullable="true" remarks="patron/borrower's preferred name" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="middle_name" nullable="true" remarks="patron/borrower's middle name" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="title" nullable="true" remarks="patron/borrower's title, for example: Mr. or Mrs." size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="othernames" nullable="true" remarks="any other names associated with the patron/borrower" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="initials" nullable="true" remarks="initials for your patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="pronouns" nullable="true" remarks="patron/borrower pronouns" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="streetnumber" nullable="true" remarks="the house number for your patron/borrower's primary address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="streettype" nullable="true" remarks="the street type (Rd., Blvd, etc) for your patron/borrower's primary address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="address" nullable="true" remarks="the first address line for your patron/borrower's primary address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="address2" nullable="true" remarks="the second address line for your patron/borrower's primary address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="city" nullable="true" remarks="the city or town for your patron/borrower's primary address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="state" nullable="true" remarks="the state or province for your patron/borrower's primary address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="zipcode" nullable="true" remarks="the zip or postal code for your patron/borrower's primary address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="country" nullable="true" remarks="the country for your patron/borrower's primary address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="email" nullable="true" remarks="the primary email address for your patron/borrower's primary address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="phone" nullable="true" remarks="the primary phone number for your patron/borrower's primary address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="mobile" nullable="true" remarks="the other phone number for your patron/borrower's primary address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="fax" nullable="true" remarks="the fax number for your patron/borrower's primary address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="emailpro" nullable="true" remarks="the secondary email address for your patron/borrower's primary address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="phonepro" nullable="true" remarks="the secondary phone number for your patron/borrower's primary address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="B_streetnumber" nullable="true" remarks="the house number for your patron/borrower's alternate address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="B_streettype" nullable="true" remarks="the street type (Rd., Blvd, etc) for your patron/borrower's alternate address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="B_address" nullable="true" remarks="the first address line for your patron/borrower's alternate address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="B_address2" nullable="true" remarks="the second address line for your patron/borrower's alternate address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="B_city" nullable="true" remarks="the city or town for your patron/borrower's alternate address" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="B_state" nullable="true" remarks="the state for your patron/borrower's alternate address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="30" name="B_zipcode" nullable="true" remarks="the zip or postal code for your patron/borrower's alternate address" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="31" name="B_country" nullable="true" remarks="the country for your patron/borrower's alternate address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="32" name="B_email" nullable="true" remarks="the patron/borrower's alternate email address" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="33" name="B_phone" nullable="true" remarks="the patron/borrower's alternate phone number" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="34" name="dateofbirth" nullable="true" remarks="the patron/borrower's date of birth (YYYY-MM-DD)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="35" name="branchcode" nullable="false" remarks="foreign key from the branches table, includes the code of the patron/borrower's home branch" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="36" name="categorycode" nullable="false" remarks="foreign key from the categories table, includes the code of the patron category" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="categorycode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="categories"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="37" name="dateenrolled" nullable="true" remarks="date the patron was added to Koha (YYYY-MM-DD)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="38" name="dateexpiry" nullable="true" remarks="date the patron/borrower's card is set to expire (YYYY-MM-DD)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="39" name="password_expiration_date" nullable="true" remarks="date the patron/borrower's password is set to expire (YYYY-MM-DD)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="40" name="date_renewed" nullable="true" remarks="date the patron/borrower's card was last renewed" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="41" name="gonenoaddress" nullable="true" remarks="set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having an unconfirmed address" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="42" name="lost" nullable="true" remarks="set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having lost their card" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="43" name="debarred" nullable="true" remarks="until this date the patron can only check-in (no loans, no holds, etc.), is a fine based on days instead of money (YYYY-MM-DD)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="44" name="debarredcomment" nullable="true" remarks="comment on the stop of patron" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="45" name="contactname" nullable="true" remarks="used for children and professionals to include surname or last name of guarantor or organization name" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="46" name="contactfirstname" nullable="true" remarks="used for children to include first name of guarantor" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="47" name="contacttitle" nullable="true" remarks="used for children to include title (Mr., Mrs., etc) of guarantor" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="48" name="borrowernotes" nullable="true" remarks="a note on the patron/borrower's account that is only visible in the staff interface" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="49" name="relationship" nullable="true" remarks="used for children to include the relationship to their guarantor" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="50" name="sex" nullable="true" remarks="patron/borrower's gender" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="51" name="password" nullable="true" remarks="patron/borrower's encrypted password" size="60" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="52" name="secret" nullable="true" remarks="Secret for 2FA" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="'password'" digits="0" id="53" name="auth_method" nullable="false" remarks="Authentication method" size="10" type="enum('password', 'two-factor')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="54" name="flags" nullable="true" remarks="will include a number associated with the staff member's permissions" size="19" type="BIGINT" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="55" name="userid" nullable="true" remarks="patron/borrower's opac and/or staff interface log in" size="75" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="56" name="opacnote" nullable="true" remarks="a note on the patron/borrower's account that is visible in the OPAC and staff interface" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="57" name="contactnote" nullable="true" remarks="a note related to the patron/borrower's alternate address" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="58" name="sort1" nullable="true" remarks="a field that can be used for any information unique to the library" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="59" name="sort2" nullable="true" remarks="a field that can be used for any information unique to the library" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="60" name="altcontactfirstname" nullable="true" remarks="first name of alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="61" name="altcontactsurname" nullable="true" remarks="surname or last name of the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="62" name="altcontactaddress1" nullable="true" remarks="the first address line for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="63" name="altcontactaddress2" nullable="true" remarks="the second address line for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="64" name="altcontactaddress3" nullable="true" remarks="the city for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="65" name="altcontactstate" nullable="true" remarks="the state for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="66" name="altcontactzipcode" nullable="true" remarks="the zipcode for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="67" name="altcontactcountry" nullable="true" remarks="the country for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="68" name="altcontactphone" nullable="true" remarks="the phone number for the alternate contact for the patron/borrower" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="69" name="smsalertnumber" nullable="true" remarks="the mobile phone number where the patron/borrower would like to receive notices (if SMS turned on)" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="70" name="sms_provider_id" nullable="true" remarks="the provider of the mobile phone number defined in smsalertnumber" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="71" name="privacy" nullable="false" remarks="patron/borrower's privacy settings related to their checkout history  KEY `borrowernumber` (`borrowernumber`)," size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="72" name="privacy_guarantor_fines" nullable="false" remarks="controls if relatives can see this patron's fines" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="73" name="privacy_guarantor_checkouts" nullable="false" remarks="controls if relatives can see this patron's checkouts" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="'inherit'" digits="0" id="74" name="checkprevcheckout" nullable="false" remarks="produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'." size="7" type="enum('yes', 'no', 'inherit')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="75" name="updated_on" nullable="false" remarks="time of last change could be useful for synchronization with external systems (among others)" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="76" name="lastseen" nullable="true" remarks="last time a patron has been seen (connected at the OPAC or staff interface)" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="'default'" digits="0" id="77" name="lang" nullable="false" remarks="lang to use to send notices to this patron" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="78" name="login_attempts" nullable="false" remarks="number of failed login attempts" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="79" name="overdrive_auth_token" nullable="true" remarks="persist OverDrive auth token" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="80" name="anonymized" nullable="false" remarks="flag for data anonymization" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="81" name="autorenew_checkouts" nullable="false" remarks="flag for allowing auto-renewal" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="82" name="primary_contact_method" nullable="true" remarks="useful for reporting purposes" size="45" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="83" name="protected" nullable="false" remarks="boolean flag to mark selected patrons as protected from deletion" size="3" type="TINYINT" typeCode="-7"/>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="cardnumber" unique="false">
            <column ascending="true" name="cardnumber"/>
         </index>
         <index name="sms_provider_id" unique="false">
            <column ascending="true" name="sms_provider_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="deleteditems" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="0" digits="0" id="0" name="itemnumber" nullable="false" remarks="primary key and unique identifier added by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="biblionumber" nullable="false" remarks="foreign key from biblio table used to link this item to the right bib record" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="biblioitemnumber" nullable="false" remarks="foreign key from the biblioitems table to link to item to additional information" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="barcode" nullable="true" remarks="item barcode (MARC21 952$p)" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="bookable" nullable="true" remarks="nullable boolean value defining whether this this item is available for bookings or not" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="dateaccessioned" nullable="true" remarks="date the item was acquired or added to Koha (MARC21 952$d)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="booksellerid" nullable="true" remarks="where the item was purchased (MARC21 952$e)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="homebranch" nullable="true" remarks="foreign key from the branches table for the library that owns this item (MARC21 952$a)" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="2" id="8" name="price" nullable="true" remarks="purchase price (MARC21 952$g)" size="8" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="2" id="9" name="replacementprice" nullable="true" remarks="cost the library charges to replace the item if it has been marked lost (MARC21 952$v)" size="8" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="replacementpricedate" nullable="true" remarks="the date the price is effective from (MARC21 952$w)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="datelastborrowed" nullable="true" remarks="the date the item was last checked out" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="datelastseen" nullable="true" remarks="the date the item was last see (usually the last time the barcode was scanned or inventory was done)" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="stack" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="14" name="notforloan" nullable="false" remarks="authorized value defining why this item is not for loan (MARC21 952$7)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="15" name="damaged" nullable="false" remarks="authorized value defining this item as damaged (MARC21 952$4)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="damaged_on" nullable="true" remarks="the date and time an item was last marked as damaged, NULL if not damaged" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="17" name="itemlost" nullable="false" remarks="authorized value defining this item as lost (MARC21 952$1)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="itemlost_on" nullable="true" remarks="the date and time an item was last marked as lost, NULL if not lost" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="19" name="withdrawn" nullable="false" remarks="authorized value defining this item as withdrawn (MARC21 952$0)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="withdrawn_on" nullable="true" remarks="the date and time an item was last marked as withdrawn, NULL if not withdrawn" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="itemcallnumber" nullable="true" remarks="call number for this item (MARC21 952$o)" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="coded_location_qualifier" nullable="true" remarks="coded location qualifier(MARC21 952$f)" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="23" name="issues" nullable="true" remarks="number of times this item has been checked out" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="renewals" nullable="true" remarks="number of times this item has been renewed" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="localuse" nullable="true" remarks="number of times this item has been recorded as localuse" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="reserves" nullable="true" remarks="number of times this item has been placed on hold/reserved" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="restricted" nullable="true" remarks="authorized value defining use restrictions for this item (MARC21 952$5)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="itemnotes" nullable="true" remarks="public notes on this item (MARC21 952$z)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="itemnotes_nonpublic" nullable="true" remarks="non-public notes on this item (MARC21 952$x)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="30" name="holdingbranch" nullable="true" remarks="foreign key from the branches table for the library that is currently in possession item (MARC21 952$b)" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="31" name="timestamp" nullable="false" remarks="date and time this item was last altered" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="32" name="deleted_on" nullable="true" remarks="date/time of deletion" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="33" name="location" nullable="true" remarks="authorized value for the shelving location for this item (MARC21 952$c)" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="34" name="permanent_location" nullable="true" remarks="linked to the CART and PROC temporary locations feature, stores the permanent shelving location" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="35" name="onloan" nullable="true" remarks="defines if item is checked out (NULL for not checked out, and due date for checked out)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="36" name="cn_source" nullable="true" remarks="classification source used on this item (MARC21 952$2)" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="cn_source" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="class_sources"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="37" name="cn_sort" nullable="true" remarks="normalized form of the call number (MARC21 952$o) used for sorting" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="38" name="ccode" nullable="true" remarks="authorized value for the collection code associated with this item (MARC21 952$8)" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="39" name="materials" nullable="true" remarks="materials specified (MARC21 952$3)" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="40" name="uri" nullable="true" remarks="URL for the item (MARC21 952$u)" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="41" name="itype" nullable="true" remarks="foreign key from the itemtypes table defining the type for this item (MARC21 952$y)" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="42" name="more_subfields_xml" nullable="true" remarks="additional 952 subfields in XML format" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="43" name="enumchron" nullable="true" remarks="serial enumeration/chronology for the item (MARC21 952$h)" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="44" name="copynumber" nullable="true" remarks="copy number (MARC21 952$t)" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="45" name="stocknumber" nullable="true" remarks="inventory number (MARC21 952$i)" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="46" name="new_status" nullable="true" remarks="'new' value, you can put whatever free-text information. This field is intended to be managed by the automatic_item_modification_by_age cronjob." size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="47" name="exclude_from_local_holds_priority" nullable="true" remarks="Exclude this item from local holds priority" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="itemnumber" sequenceNumberInPK="1"/>
         <index name="deleteditems_s_pk" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="delholdingbranch" unique="false">
            <column ascending="true" name="holdingbranch"/>
         </index>
         <index name="delhomebranch" unique="false">
            <column ascending="true" name="homebranch"/>
         </index>
         <index name="delitembarcodeidx" unique="false">
            <column ascending="true" name="barcode"/>
         </index>
         <index name="delitembibnoidx" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="delitembinoidx" unique="false">
            <column ascending="true" name="biblioitemnumber"/>
         </index>
         <index name="delitemstocknumberidx" unique="false">
            <column ascending="true" name="stocknumber"/>
         </index>
         <index name="itype_idx" unique="false">
            <column ascending="true" name="itype"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="timestamp" unique="false">
            <column ascending="true" name="timestamp"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="desks" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="desk_id" nullable="false" remarks="unique identifier" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="desk_id" foreignKey="reserves_ibfk_6" implied="false" onDeleteCascade="false" table="reserves"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="desk_name" nullable="false" remarks="name of the desk" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="branchcode" nullable="false" remarks="library the desk is located at" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="fk_desks_branchcode" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <primaryKey column="desk_id" sequenceNumberInPK="1"/>
         <index name="desks_s_pk" unique="true">
            <column ascending="true" name="desk_id"/>
         </index>
         <index name="fk_desks_branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="desk_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="discharges" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="discharge_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="borrower" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="borrower_discharges_ibfk1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="needed" nullable="true" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="validated" nullable="true" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="discharge_id" sequenceNumberInPK="1"/>
         <index name="discharges_s_pk" unique="true">
            <column ascending="true" name="discharge_id"/>
         </index>
         <index name="borrower_discharges_ibfk1" unique="false">
            <column ascending="true" name="borrower"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="discharge_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="edifact_ean" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="ee_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="description" nullable="true" remarks="" size="128" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="efk_branchcode" implied="false" onDeleteCascade="false" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="ean" nullable="false" remarks="" size="15" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'14'" digits="0" id="4" name="id_code_qualifier" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
         <primaryKey column="ee_id" sequenceNumberInPK="1"/>
         <index name="edifact_ean_s_pk" unique="true">
            <column ascending="true" name="ee_id"/>
         </index>
         <index name="efk_branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="ee_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="edifact_errors" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="message_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="emfk_message" implied="false" onDeleteCascade="true" table="edifact_messages"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="section" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="details" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="edifact_errors_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="messageid" unique="false">
            <column ascending="true" name="message_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="edifact_messages" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="message_id" foreignKey="edifact_msg_fk" implied="false" onDeleteCascade="false" table="aqinvoices"/>
            <child catalog="koha_25_11" column="message_id" foreignKey="emfk_message" implied="false" onDeleteCascade="true" table="edifact_errors"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="message_type" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="transfer_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="vendor_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="emfk_vendor" implied="false" onDeleteCascade="true" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="edi_acct" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="emfk_edi_acct" implied="false" onDeleteCascade="true" table="vendor_edi_accounts"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="status" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="basketno" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="basketno" foreignKey="emfk_basketno" implied="false" onDeleteCascade="true" table="aqbasket"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="raw_msg" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="filename" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="9" name="deleted" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="edifact_messages_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="basketno" unique="false">
            <column ascending="true" name="basketno"/>
         </index>
         <index name="ediacct" unique="false">
            <column ascending="true" name="edi_acct"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="vendorid" unique="false">
            <column ascending="true" name="vendor_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_agreement_licenses" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="agreement_license_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="agreement_id" nullable="false" remarks="link to the agreement" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="agreement_id" foreignKey="erm_agreement_licenses_ibfk_1" implied="false" onDeleteCascade="true" table="erm_agreements"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="license_id" nullable="false" remarks="link to the license" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="license_id" foreignKey="erm_agreement_licenses_ibfk_2" implied="false" onDeleteCascade="true" table="erm_licenses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="status" nullable="false" remarks="current status of the license" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="physical_location" nullable="true" remarks="physical location of the license" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="notes" nullable="true" remarks="notes about this license" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="uri" nullable="true" remarks="URI of the license" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="agreement_license_id" sequenceNumberInPK="1"/>
         <index name="erm_agreement_licenses_s_pk" unique="true">
            <column ascending="true" name="agreement_license_id"/>
         </index>
         <index name="erm_agreement_licenses_ibfk_2" unique="false">
            <column ascending="true" name="license_id"/>
         </index>
         <index name="erm_agreement_licenses_uniq" unique="true">
            <column ascending="true" name="agreement_id"/>
            <column ascending="true" name="license_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="agreement_license_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_agreement_periods" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="agreement_period_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="agreement_id" nullable="false" remarks="link to the agreement" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="agreement_id" foreignKey="erm_agreement_periods_ibfk_1" implied="false" onDeleteCascade="true" table="erm_agreements"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="started_on" nullable="false" remarks="start of the agreement period" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="ended_on" nullable="true" remarks="end of the agreement period" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="cancellation_deadline" nullable="true" remarks="Deadline for the cancellation" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="notes" nullable="true" remarks="notes about this period" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="agreement_period_id" sequenceNumberInPK="1"/>
         <index name="erm_agreement_periods_s_pk" unique="true">
            <column ascending="true" name="agreement_period_id"/>
         </index>
         <index name="erm_agreement_periods_ibfk_1" unique="false">
            <column ascending="true" name="agreement_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="agreement_period_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_agreement_relationships" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="agreement_id" nullable="false" remarks="link to the agreement" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="agreement_id" foreignKey="erm_agreement_relationships_ibfk_1" implied="false" onDeleteCascade="true" table="erm_agreements"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="related_agreement_id" nullable="false" remarks="link to the related agreement" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="agreement_id" foreignKey="erm_agreement_relationships_ibfk_2" implied="false" onDeleteCascade="true" table="erm_agreements"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="relationship" nullable="false" remarks="relationship between the two agreements" size="37" type="enum('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')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="notes" nullable="true" remarks="notes about this relationship" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="agreement_id" sequenceNumberInPK="1"/>
         <primaryKey column="related_agreement_id" sequenceNumberInPK="2"/>
         <index name="erm_agreement_relationships_s_pk" unique="true">
            <column ascending="true" name="agreement_id"/>
            <column ascending="true" name="related_agreement_id"/>
         </index>
         <index name="erm_agreement_relationships_ibfk_2" unique="false">
            <column ascending="true" name="related_agreement_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="agreement_id"/>
            <column ascending="true" name="related_agreement_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_agreements" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="agreement_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="agreement_id" foreignKey="erm_agreement_licenses_ibfk_1" implied="false" onDeleteCascade="true" table="erm_agreement_licenses"/>
            <child catalog="koha_25_11" column="agreement_id" foreignKey="erm_agreement_periods_ibfk_1" implied="false" onDeleteCascade="true" table="erm_agreement_periods"/>
            <child catalog="koha_25_11" column="agreement_id" foreignKey="erm_agreement_relationships_ibfk_1" implied="false" onDeleteCascade="true" table="erm_agreement_relationships"/>
            <child catalog="koha_25_11" column="related_agreement_id" foreignKey="erm_agreement_relationships_ibfk_2" implied="false" onDeleteCascade="true" table="erm_agreement_relationships"/>
            <child catalog="koha_25_11" column="agreement_id" foreignKey="erm_documents_ibfk_1" implied="false" onDeleteCascade="true" table="erm_documents"/>
            <child catalog="koha_25_11" column="agreement_id" foreignKey="erm_eholdings_packages_agreements_ibfk_2" implied="false" onDeleteCascade="true" table="erm_eholdings_packages_agreements"/>
            <child catalog="koha_25_11" column="agreement_id" foreignKey="erm_user_roles_ibfk_1" implied="false" onDeleteCascade="true" table="erm_user_roles"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="vendor_id" nullable="true" remarks="foreign key to aqbooksellers" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="erm_agreements_ibfk_1" implied="false" onDeleteCascade="false" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="name of the agreement" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="description of the agreement" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="status" nullable="false" remarks="current status of the agreement" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="closure_reason" nullable="true" remarks="reason of the closure" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="is_perpetual" nullable="false" remarks="is the agreement perpetual" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="renewal_priority" nullable="true" remarks="priority of the renewal" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="license_info" nullable="true" remarks="info about the license" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="agreement_id" sequenceNumberInPK="1"/>
         <index name="erm_agreements_s_pk" unique="true">
            <column ascending="true" name="agreement_id"/>
         </index>
         <index name="erm_agreements_ibfk_1" unique="false">
            <column ascending="true" name="vendor_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="agreement_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_counter_files" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="erm_counter_files_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="counter_files_id" foreignKey="erm_counter_log_ibfk_2" implied="false" onDeleteCascade="true" table="erm_counter_logs"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="usage_data_provider_id" nullable="true" remarks="foreign key to erm_usage_data_providers" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="erm_usage_data_provider_id" foreignKey="erm_counter_files_ibfk_1" implied="false" onDeleteCascade="true" table="erm_usage_data_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="type" nullable="true" remarks="type of counter file" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="filename" nullable="true" remarks="name of the counter file" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="file_content" nullable="true" remarks="content of the counter file" size="2147483647" type="LONGBLOB" typeCode="-4"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="date_uploaded" nullable="false" remarks="counter file upload date" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="erm_counter_files_id" sequenceNumberInPK="1"/>
         <index name="erm_counter_files_s_pk" unique="true">
            <column ascending="true" name="erm_counter_files_id"/>
         </index>
         <index name="erm_counter_files_ibfk_1" unique="false">
            <column ascending="true" name="usage_data_provider_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="erm_counter_files_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_counter_logs" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="erm_counter_log_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="borrowernumber" nullable="true" remarks="foreign key to borrowers" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="erm_counter_log_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="counter_files_id" nullable="true" remarks="foreign key to erm_counter_files" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="erm_counter_files_id" foreignKey="erm_counter_log_ibfk_2" implied="false" onDeleteCascade="true" table="erm_counter_files"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="usage_data_provider_id" nullable="true" remarks="foreign key to erm_usage_data_providers" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="erm_usage_data_provider_id" foreignKey="erm_counter_log_ibfk_3" implied="false" onDeleteCascade="true" table="erm_usage_data_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="4" name="importdate" nullable="false" remarks="counter file import date" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="filename" nullable="true" remarks="name of the counter file" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="logdetails" nullable="true" remarks="details from the counter log" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="erm_counter_log_id" sequenceNumberInPK="1"/>
         <index name="erm_counter_logs_s_pk" unique="true">
            <column ascending="true" name="erm_counter_log_id"/>
         </index>
         <index name="erm_counter_log_ibfk_1" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="erm_counter_log_ibfk_2" unique="false">
            <column ascending="true" name="counter_files_id"/>
         </index>
         <index name="erm_counter_log_ibfk_3" unique="false">
            <column ascending="true" name="usage_data_provider_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="erm_counter_log_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_default_usage_reports" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="erm_default_usage_report_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="report_name" nullable="true" remarks="name of the default report" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="report_url_params" nullable="true" remarks="url params for the default report" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="erm_default_usage_report_id" sequenceNumberInPK="1"/>
         <index name="erm_default_usage_reports_s_pk" unique="true">
            <column ascending="true" name="erm_default_usage_report_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="erm_default_usage_report_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_documents" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="document_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="agreement_id" nullable="true" remarks="link to the agreement" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="agreement_id" foreignKey="erm_documents_ibfk_1" implied="false" onDeleteCascade="true" table="erm_agreements"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="license_id" nullable="true" remarks="link to the license" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="license_id" foreignKey="erm_documents_ibfk_2" implied="false" onDeleteCascade="true" table="erm_licenses"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="file_name" nullable="true" remarks="name of the file" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="file_type" nullable="true" remarks="type of the file" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="file_description" nullable="true" remarks="description of the file" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="file_content" nullable="true" remarks="the content of the file" size="2147483647" type="LONGBLOB" typeCode="-4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="uploaded_on" nullable="true" remarks="datetime when the file as attached" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="physical_location" nullable="true" remarks="physical location of the document" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="uri" nullable="true" remarks="URI of the document" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="notes" nullable="true" remarks="notes about this relationship" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="document_id" sequenceNumberInPK="1"/>
         <index name="erm_documents_s_pk" unique="true">
            <column ascending="true" name="document_id"/>
         </index>
         <index name="erm_documents_ibfk_1" unique="false">
            <column ascending="true" name="agreement_id"/>
         </index>
         <index name="erm_documents_ibfk_2" unique="false">
            <column ascending="true" name="license_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="document_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_eholdings_packages" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="package_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="package_id" foreignKey="erm_eholdings_packages_agreements_ibfk_1" implied="false" onDeleteCascade="true" table="erm_eholdings_packages_agreements"/>
            <child catalog="koha_25_11" column="package_id" foreignKey="erm_eholdings_resources_ibfk_2" implied="false" onDeleteCascade="true" table="erm_eholdings_resources"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="vendor_id" nullable="true" remarks="foreign key to aqbooksellers" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="erm_eholdings_packages_ibfk_1" implied="false" onDeleteCascade="false" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="name of the package" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="external_id" nullable="true" remarks="External key" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="provider" nullable="true" remarks="External provider" size="5" type="enum('ebsco')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="package_type" nullable="true" remarks="type of the package" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="content_type" nullable="true" remarks="type of the package" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="notes" nullable="true" remarks="notes about this package" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="8" name="created_on" nullable="false" remarks="date of creation of the package" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="package_id" sequenceNumberInPK="1"/>
         <index name="erm_eholdings_packages_s_pk" unique="true">
            <column ascending="true" name="package_id"/>
         </index>
         <index name="erm_eholdings_packages_ibfk_1" unique="false">
            <column ascending="true" name="vendor_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="package_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_eholdings_packages_agreements" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="package_id" nullable="false" remarks="link to the package" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="package_id" foreignKey="erm_eholdings_packages_agreements_ibfk_1" implied="false" onDeleteCascade="true" table="erm_eholdings_packages"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="agreement_id" nullable="false" remarks="link to the agreement" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="agreement_id" foreignKey="erm_eholdings_packages_agreements_ibfk_2" implied="false" onDeleteCascade="true" table="erm_agreements"/>
         </column>
         <primaryKey column="package_id" sequenceNumberInPK="1"/>
         <primaryKey column="agreement_id" sequenceNumberInPK="2"/>
         <index name="erm_eholdings_packages_agreements_s_pk" unique="true">
            <column ascending="true" name="package_id"/>
            <column ascending="true" name="agreement_id"/>
         </index>
         <index name="erm_eholdings_packages_agreements_ibfk_2" unique="false">
            <column ascending="true" name="agreement_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="package_id"/>
            <column ascending="true" name="agreement_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_eholdings_resources" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="resource_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="title_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="title_id" foreignKey="erm_eholdings_resources_ibfk_1" implied="false" onDeleteCascade="true" table="erm_eholdings_titles"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="package_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="package_id" foreignKey="erm_eholdings_resources_ibfk_2" implied="false" onDeleteCascade="true" table="erm_eholdings_packages"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="vendor_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="erm_eholdings_resources_ibfk_3" implied="false" onDeleteCascade="false" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="started_on" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="ended_on" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="proxy" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="resource_id" sequenceNumberInPK="1"/>
         <index name="erm_eholdings_resources_s_pk" unique="true">
            <column ascending="true" name="resource_id"/>
         </index>
         <index name="erm_eholdings_resources_ibfk_2" unique="false">
            <column ascending="true" name="package_id"/>
         </index>
         <index name="erm_eholdings_resources_ibfk_3" unique="false">
            <column ascending="true" name="vendor_id"/>
         </index>
         <index name="erm_eholdings_resources_uniq" unique="true">
            <column ascending="true" name="title_id"/>
            <column ascending="true" name="package_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="resource_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_eholdings_titles" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="title_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="title_id" foreignKey="erm_eholdings_resources_ibfk_1" implied="false" onDeleteCascade="true" table="erm_eholdings_resources"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="biblio_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="erm_eholdings_titles_ibfk_2" implied="false" onDeleteCascade="false" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="publication_title" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="external_id" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="print_identifier" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="online_identifier" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="date_first_issue_online" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="num_first_vol_online" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="num_first_issue_online" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="date_last_issue_online" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="num_last_vol_online" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="num_last_issue_online" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="title_url" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="first_author" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="embargo_info" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="coverage_depth" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="notes" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="publisher_name" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="publication_type" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="date_monograph_published_print" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="date_monograph_published_online" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="monograph_volume" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="monograph_edition" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="first_editor" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="parent_publication_title_id" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="preceding_publication_title_id" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="access_type" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="title_id" sequenceNumberInPK="1"/>
         <index name="erm_eholdings_titles_s_pk" unique="true">
            <column ascending="true" name="title_id"/>
         </index>
         <index name="erm_eholdings_titles_ibfk_2" unique="false">
            <column ascending="true" name="biblio_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="title_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_licenses" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="license_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="license_id" foreignKey="erm_agreement_licenses_ibfk_2" implied="false" onDeleteCascade="true" table="erm_agreement_licenses"/>
            <child catalog="koha_25_11" column="license_id" foreignKey="erm_documents_ibfk_2" implied="false" onDeleteCascade="true" table="erm_documents"/>
            <child catalog="koha_25_11" column="license_id" foreignKey="erm_user_roles_ibfk_2" implied="false" onDeleteCascade="true" table="erm_user_roles"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="vendor_id" nullable="true" remarks="foreign key to aqbooksellers" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="erm_licenses_ibfk_1" implied="false" onDeleteCascade="false" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="name of the license" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="description of the license" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="type" nullable="false" remarks="type of the license" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="status" nullable="false" remarks="current status of the license" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="started_on" nullable="true" remarks="start of the license" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="ended_on" nullable="true" remarks="end of the license" size="10" type="DATE" typeCode="91"/>
         <primaryKey column="license_id" sequenceNumberInPK="1"/>
         <index name="erm_licenses_s_pk" unique="true">
            <column ascending="true" name="license_id"/>
         </index>
         <index name="erm_licenses_ibfk_1" unique="false">
            <column ascending="true" name="vendor_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="license_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_usage_data_providers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="erm_usage_data_provider_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="usage_data_provider_id" foreignKey="erm_counter_files_ibfk_1" implied="false" onDeleteCascade="true" table="erm_counter_files"/>
            <child catalog="koha_25_11" column="usage_data_provider_id" foreignKey="erm_counter_log_ibfk_3" implied="false" onDeleteCascade="true" table="erm_counter_logs"/>
            <child catalog="koha_25_11" column="usage_data_provider_id" foreignKey="erm_usage_databases_ibfk_1" implied="false" onDeleteCascade="true" table="erm_usage_databases"/>
            <child catalog="koha_25_11" column="usage_data_provider_id" foreignKey="erm_usage_items_ibfk_1" implied="false" onDeleteCascade="true" table="erm_usage_items"/>
            <child catalog="koha_25_11" column="usage_data_provider_id" foreignKey="erm_usage_mus_ibfk_2" implied="false" onDeleteCascade="true" table="erm_usage_mus"/>
            <child catalog="koha_25_11" column="usage_data_provider_id" foreignKey="erm_usage_platforms_ibfk_1" implied="false" onDeleteCascade="true" table="erm_usage_platforms"/>
            <child catalog="koha_25_11" column="usage_data_provider_id" foreignKey="erm_usage_titles_ibfk_1" implied="false" onDeleteCascade="true" table="erm_usage_titles"/>
            <child catalog="koha_25_11" column="usage_data_provider_id" foreignKey="erm_usage_yus_ibfk_2" implied="false" onDeleteCascade="true" table="erm_usage_yus"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="name of the data provider" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="description of the data provider" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="3" name="active" nullable="false" remarks="current status of the harvester - active/inactive" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="method" nullable="true" remarks="method of the harvester" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="aggregator" nullable="true" remarks="aggregator of the harvester" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="service_type" nullable="true" remarks="service_type of the harvester" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="service_url" nullable="true" remarks="service_url of the harvester" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="report_release" nullable="true" remarks="report_release of the harvester" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="customer_id" nullable="true" remarks="SUSHI customer ID" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="requestor_id" nullable="true" remarks="SUSHI requestor ID" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="api_key" nullable="true" remarks="SUSHI API key" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="requestor_name" nullable="true" remarks="requestor name" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="requestor_email" nullable="true" remarks="requestor email" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="report_types" nullable="true" remarks="report types provided by the harvester" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="service_platform" nullable="true" remarks="platform if provider requires it" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="erm_usage_data_provider_id" sequenceNumberInPK="1"/>
         <index name="erm_usage_data_providers_s_pk" unique="true">
            <column ascending="true" name="erm_usage_data_provider_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="erm_usage_data_provider_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_usage_databases" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="database_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="database_id" foreignKey="erm_usage_mus_ibfk_4" implied="false" onDeleteCascade="true" table="erm_usage_mus"/>
            <child catalog="koha_25_11" column="database_id" foreignKey="erm_usage_yus_ibfk_4" implied="false" onDeleteCascade="true" table="erm_usage_yus"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="database" nullable="true" remarks="item title" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="platform" nullable="true" remarks="database platform" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="publisher" nullable="true" remarks="Publisher for the database" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="publisher_id" nullable="true" remarks="Publisher ID for the database" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="usage_data_provider_id" nullable="false" remarks="data provider the database is harvested by" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="erm_usage_data_provider_id" foreignKey="erm_usage_databases_ibfk_1" implied="false" onDeleteCascade="true" table="erm_usage_data_providers"/>
         </column>
         <primaryKey column="database_id" sequenceNumberInPK="1"/>
         <index name="erm_usage_databases_s_pk" unique="true">
            <column ascending="true" name="database_id"/>
         </index>
         <index name="erm_usage_databases_ibfk_1" unique="false">
            <column ascending="true" name="usage_data_provider_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="database_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_usage_items" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="item_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="item_id" foreignKey="erm_usage_mus_ibfk_5" implied="false" onDeleteCascade="true" table="erm_usage_mus"/>
            <child catalog="koha_25_11" column="item_id" foreignKey="erm_usage_yus_ibfk_5" implied="false" onDeleteCascade="true" table="erm_usage_yus"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="item" nullable="true" remarks="item title" size="500" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="platform" nullable="true" remarks="item platform" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="publisher" nullable="true" remarks="Publisher for the item" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="usage_data_provider_id" nullable="false" remarks="data provider the database is harvested by" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="erm_usage_data_provider_id" foreignKey="erm_usage_items_ibfk_1" implied="false" onDeleteCascade="true" table="erm_usage_data_providers"/>
         </column>
         <primaryKey column="item_id" sequenceNumberInPK="1"/>
         <index name="erm_usage_items_s_pk" unique="true">
            <column ascending="true" name="item_id"/>
         </index>
         <index name="erm_usage_items_ibfk_1" unique="false">
            <column ascending="true" name="usage_data_provider_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="item_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_usage_mus" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="monthly_usage_summary_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="title_id" nullable="true" remarks="item title id number" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="title_id" foreignKey="erm_usage_mus_ibfk_1" implied="false" onDeleteCascade="true" table="erm_usage_titles"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="platform_id" nullable="true" remarks="platform id number" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="platform_id" foreignKey="erm_usage_mus_ibfk_3" implied="false" onDeleteCascade="true" table="erm_usage_platforms"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="database_id" nullable="true" remarks="database id number" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="database_id" foreignKey="erm_usage_mus_ibfk_4" implied="false" onDeleteCascade="true" table="erm_usage_databases"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="item_id" nullable="true" remarks="item id number" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="item_id" foreignKey="erm_usage_mus_ibfk_5" implied="false" onDeleteCascade="true" table="erm_usage_items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="usage_data_provider_id" nullable="true" remarks="item title id number" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="erm_usage_data_provider_id" foreignKey="erm_usage_mus_ibfk_2" implied="false" onDeleteCascade="true" table="erm_usage_data_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="year" nullable="true" remarks="year of usage statistics" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="month" nullable="true" remarks="month of usage statistics" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="usage_count" nullable="true" remarks="usage count for the title" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="metric_type" nullable="true" remarks="metric type for the usage statistic" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="access_type" nullable="true" remarks="access type for the usage statistic" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="yop" nullable="true" remarks="year of publication for the usage statistic" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="report_type" nullable="true" remarks="report type for the usage statistic" size="50" type="VARCHAR" typeCode="12"/>
         <primaryKey column="monthly_usage_summary_id" sequenceNumberInPK="1"/>
         <index name="erm_usage_mus_s_pk" unique="true">
            <column ascending="true" name="monthly_usage_summary_id"/>
         </index>
         <index name="erm_usage_mus_ibfk_1" unique="false">
            <column ascending="true" name="title_id"/>
         </index>
         <index name="erm_usage_mus_ibfk_2" unique="false">
            <column ascending="true" name="usage_data_provider_id"/>
         </index>
         <index name="erm_usage_mus_ibfk_3" unique="false">
            <column ascending="true" name="platform_id"/>
         </index>
         <index name="erm_usage_mus_ibfk_4" unique="false">
            <column ascending="true" name="database_id"/>
         </index>
         <index name="erm_usage_mus_ibfk_5" unique="false">
            <column ascending="true" name="item_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="monthly_usage_summary_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_usage_platforms" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="platform_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="platform_id" foreignKey="erm_usage_mus_ibfk_3" implied="false" onDeleteCascade="true" table="erm_usage_mus"/>
            <child catalog="koha_25_11" column="platform_id" foreignKey="erm_usage_yus_ibfk_3" implied="false" onDeleteCascade="true" table="erm_usage_yus"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="platform" nullable="true" remarks="item title" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="usage_data_provider_id" nullable="false" remarks="data provider the platform is harvested by" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="erm_usage_data_provider_id" foreignKey="erm_usage_platforms_ibfk_1" implied="false" onDeleteCascade="true" table="erm_usage_data_providers"/>
         </column>
         <primaryKey column="platform_id" sequenceNumberInPK="1"/>
         <index name="erm_usage_platforms_s_pk" unique="true">
            <column ascending="true" name="platform_id"/>
         </index>
         <index name="erm_usage_platforms_ibfk_1" unique="false">
            <column ascending="true" name="usage_data_provider_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="platform_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_usage_titles" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="title_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="title_id" foreignKey="erm_usage_mus_ibfk_1" implied="false" onDeleteCascade="true" table="erm_usage_mus"/>
            <child catalog="koha_25_11" column="title_id" foreignKey="erm_usage_yus_ibfk_1" implied="false" onDeleteCascade="true" table="erm_usage_yus"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="title" nullable="true" remarks="item title" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="usage_data_provider_id" nullable="false" remarks="platform the title is harvested by" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="erm_usage_data_provider_id" foreignKey="erm_usage_titles_ibfk_1" implied="false" onDeleteCascade="true" table="erm_usage_data_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="title_doi" nullable="true" remarks="DOI number for the title" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="proprietary_id" nullable="true" remarks="Proprietary_ID for the title" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="platform" nullable="true" remarks="platform for the title" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="print_issn" nullable="true" remarks="Print ISSN number for the title" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="online_issn" nullable="true" remarks="Online ISSN number for the title" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="title_uri" nullable="true" remarks="URI number for the title" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="publisher" nullable="true" remarks="Publisher for the title" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="publisher_id" nullable="true" remarks="Publisher ID for the title" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="isbn" nullable="true" remarks="ISBN of the title" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="title_id" sequenceNumberInPK="1"/>
         <index name="erm_usage_titles_s_pk" unique="true">
            <column ascending="true" name="title_id"/>
         </index>
         <index name="erm_usage_titles_ibfk_1" unique="false">
            <column ascending="true" name="usage_data_provider_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="title_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_usage_yus" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="yearly_usage_summary_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="title_id" nullable="true" remarks="item title id number" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="title_id" foreignKey="erm_usage_yus_ibfk_1" implied="false" onDeleteCascade="true" table="erm_usage_titles"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="platform_id" nullable="true" remarks="platform id number" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="platform_id" foreignKey="erm_usage_yus_ibfk_3" implied="false" onDeleteCascade="true" table="erm_usage_platforms"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="database_id" nullable="true" remarks="database id number" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="database_id" foreignKey="erm_usage_yus_ibfk_4" implied="false" onDeleteCascade="true" table="erm_usage_databases"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="item_id" nullable="true" remarks="item id number" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="item_id" foreignKey="erm_usage_yus_ibfk_5" implied="false" onDeleteCascade="true" table="erm_usage_items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="usage_data_provider_id" nullable="true" remarks="item title id number" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="erm_usage_data_provider_id" foreignKey="erm_usage_yus_ibfk_2" implied="false" onDeleteCascade="true" table="erm_usage_data_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="year" nullable="true" remarks="year of usage statistics" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="totalcount" nullable="true" remarks="usage count for the title" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="metric_type" nullable="true" remarks="metric type for the usage statistic" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="access_type" nullable="true" remarks="access type for the usage statistic" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="yop" nullable="true" remarks="year of publication for the usage statistic" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="report_type" nullable="true" remarks="report type for the usage statistic" size="50" type="VARCHAR" typeCode="12"/>
         <primaryKey column="yearly_usage_summary_id" sequenceNumberInPK="1"/>
         <index name="erm_usage_yus_s_pk" unique="true">
            <column ascending="true" name="yearly_usage_summary_id"/>
         </index>
         <index name="erm_usage_yus_ibfk_1" unique="false">
            <column ascending="true" name="title_id"/>
         </index>
         <index name="erm_usage_yus_ibfk_2" unique="false">
            <column ascending="true" name="usage_data_provider_id"/>
         </index>
         <index name="erm_usage_yus_ibfk_3" unique="false">
            <column ascending="true" name="platform_id"/>
         </index>
         <index name="erm_usage_yus_ibfk_4" unique="false">
            <column ascending="true" name="database_id"/>
         </index>
         <index name="erm_usage_yus_ibfk_5" unique="false">
            <column ascending="true" name="item_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="yearly_usage_summary_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="erm_user_roles" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="user_role_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="agreement_id" nullable="true" remarks="link to the agreement" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="agreement_id" foreignKey="erm_user_roles_ibfk_1" implied="false" onDeleteCascade="true" table="erm_agreements"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="license_id" nullable="true" remarks="link to the license" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="license_id" foreignKey="erm_user_roles_ibfk_2" implied="false" onDeleteCascade="true" table="erm_licenses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="user_id" nullable="false" remarks="link to the user" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="erm_user_roles_ibfk_3" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="role" nullable="false" remarks="role of the user" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="user_role_id" sequenceNumberInPK="1"/>
         <index name="erm_user_roles_s_pk" unique="true">
            <column ascending="true" name="user_role_id"/>
         </index>
         <index name="erm_user_roles_ibfk_1" unique="false">
            <column ascending="true" name="agreement_id"/>
         </index>
         <index name="erm_user_roles_ibfk_2" unique="false">
            <column ascending="true" name="license_id"/>
         </index>
         <index name="erm_user_roles_ibfk_3" unique="false">
            <column ascending="true" name="user_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="user_role_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="export_format" numRows="0" remarks="Used for CSV export" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="export_format_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="profile" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="description" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="content" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="','" digits="0" id="4" name="csv_separator" nullable="false" remarks="" size="2" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="field_separator" nullable="true" remarks="" size="2" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="subfield_separator" nullable="true" remarks="" size="2" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'utf8'" digits="0" id="7" name="encoding" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'marc'" digits="0" id="8" name="type" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'export_records'" digits="0" id="9" name="used_for" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="staff_only" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="export_format_id" sequenceNumberInPK="1"/>
         <index name="export_format_s_pk" unique="true">
            <column ascending="true" name="export_format_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="export_format_id"/>
         </index>
         <index name="staff_only_idx" unique="false">
            <column ascending="true" name="staff_only"/>
         </index>
         <index name="used_for_idx" unique="false">
            <column ascending="true" name="used_for"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="file_transports" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="file_transport_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="file_transport_id" foreignKey="vendor_edi_accounts_ibfk_file_transport" implied="false" onDeleteCascade="false" table="vendor_edi_accounts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'localhost'" digits="0" id="2" name="host" nullable="false" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="22" digits="0" id="3" name="port" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="'sftp'" digits="0" id="4" name="transport" nullable="false" remarks="" size="5" type="enum('ftp', 'sftp', 'local')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="5" name="passive" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="user_name" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="password" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="key_file" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="'password'" digits="0" id="9" name="auth_mode" nullable="false" remarks="" size="8" type="enum('password', 'key_file', 'noauth')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="download_directory" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="upload_directory" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="status" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="13" name="debug" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="file_transport_id" sequenceNumberInPK="1"/>
         <index name="file_transports_s_pk" unique="true">
            <column ascending="true" name="file_transport_id"/>
         </index>
         <index name="host_idx" unique="false">
            <column ascending="true" name="host"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="file_transport_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="hold_cancellation_requests" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="hold_cancellation_request_id" nullable="false" remarks="Unique ID of the cancellation request" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="hold_id" nullable="false" remarks="ID of the hold" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="2" name="creation_date" nullable="false" remarks="Time and date the cancellation request was created" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="hold_cancellation_request_id" sequenceNumberInPK="1"/>
         <index name="hold_cancellation_requests_s_pk" unique="true">
            <column ascending="true" name="hold_cancellation_request_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="hold_cancellation_request_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="hold_fill_targets" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="borrowernumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="hold_fill_targets_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="biblionumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="hold_fill_targets_ibfk_2" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="itemnumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="hold_fill_targets_ibfk_3" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="source_branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="hold_fill_targets_ibfk_4" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="item_level_request" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="reserve_id" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="itemnumber" sequenceNumberInPK="1"/>
         <index name="hold_fill_targets_s_pk" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="bib_branch" unique="false">
            <column ascending="true" name="biblionumber"/>
            <column ascending="true" name="source_branchcode"/>
         </index>
         <index name="hold_fill_targets_ibfk_1" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="hold_fill_targets_ibfk_4" unique="false">
            <column ascending="true" name="source_branchcode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="hold_groups" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="hold_group_id" nullable="false" remarks="" size="10" type="INT UNSIGNED" typeCode="4">
            <child catalog="koha_25_11" column="hold_group_id" foreignKey="hold_group_target_holds_ibfk_1" implied="false" onDeleteCascade="true" table="hold_groups_target_holds"/>
            <child catalog="koha_25_11" column="hold_group_id" foreignKey="old_reserves_ibfk_hg" implied="false" onDeleteCascade="false" table="old_reserves"/>
            <child catalog="koha_25_11" column="hold_group_id" foreignKey="reserves_ibfk_hg" implied="false" onDeleteCascade="false" table="reserves"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="borrowernumber" nullable="true" remarks="foreign key, linking this to the borrowers table" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="hold_groups_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="visual_hold_group_id" nullable="true" remarks="visual ID for this hold group, in the context of the related patron" size="10" type="INT" typeCode="4"/>
         <primaryKey column="hold_group_id" sequenceNumberInPK="1"/>
         <index name="hold_groups_s_pk" unique="true">
            <column ascending="true" name="hold_group_id"/>
         </index>
         <index name="hold_groups_borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="hold_group_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="hold_groups_target_holds" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hold_group_id" nullable="false" remarks="foreign key, linking this to the hold_groups table" size="10" type="INT UNSIGNED" typeCode="4">
            <parent catalog="koha_25_11" column="hold_group_id" foreignKey="hold_group_target_holds_ibfk_1" implied="false" onDeleteCascade="true" table="hold_groups"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="reserve_id" nullable="false" remarks="foreign key, linking this to the reserves table" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="reserve_id" foreignKey="hold_group_target_holds_ibfk_2" implied="false" onDeleteCascade="true" table="reserves"/>
         </column>
         <primaryKey column="hold_group_id" sequenceNumberInPK="1"/>
         <primaryKey column="reserve_id" sequenceNumberInPK="2"/>
         <index name="hold_groups_target_holds_s_pk" unique="true">
            <column ascending="true" name="hold_group_id"/>
            <column ascending="true" name="reserve_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="hold_group_id"/>
            <column ascending="true" name="reserve_id"/>
         </index>
         <index name="uq_hold_group_target_holds_hold_group_id" unique="true">
            <column ascending="true" name="hold_group_id"/>
         </index>
         <index name="uq_hold_group_target_holds_reserve_id" unique="true">
            <column ascending="true" name="reserve_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="housebound_profile" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="borrowernumber" nullable="false" remarks="Number of the borrower associated with this profile." size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="borrowernumber" foreignKey="houseboundvisit_bnfk" implied="false" onDeleteCascade="true" table="housebound_visit"/>
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="housebound_profile_bnfk" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="day" nullable="false" remarks="The preferred day of the week for delivery." size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="frequency" nullable="false" remarks="The Authorised_Value defining the pattern for delivery." size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="fav_itemtypes" nullable="true" remarks="Free text describing preferred itemtypes." size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="fav_subjects" nullable="true" remarks="Free text describing preferred subjects." size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="fav_authors" nullable="true" remarks="Free text describing preferred authors." size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="referral" nullable="true" remarks="Free text indicating how the borrower was added to the service." size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="notes" nullable="true" remarks="Free text for additional notes." size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="borrowernumber" sequenceNumberInPK="1"/>
         <index name="housebound_profile_s_pk" unique="true">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="borrowernumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="housebound_role" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="borrowernumber_id" nullable="false" remarks="borrowernumber link" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="houseboundrole_bnfk" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="housebound_chooser" nullable="false" remarks="set to 1 to indicate this patron is a housebound chooser volunteer" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="housebound_deliverer" nullable="false" remarks="set to 1 to indicate this patron is a housebound deliverer volunteer" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="borrowernumber_id" sequenceNumberInPK="1"/>
         <index name="housebound_role_s_pk" unique="true">
            <column ascending="true" name="borrowernumber_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="borrowernumber_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="housebound_visit" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="ID of the visit." size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="Number of the borrower, &amp; the profile, linked to this visit." size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="houseboundvisit_bnfk" implied="false" onDeleteCascade="true" table="housebound_profile"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="appointment_date" nullable="true" remarks="Date of visit." size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="day_segment" nullable="true" remarks="Rough time frame: 'morning', 'afternoon' 'evening'" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="chooser_brwnumber" nullable="true" remarks="Number of the borrower to choose items  for delivery." size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="houseboundvisit_bnfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="deliverer_brwnumber" nullable="true" remarks="Number of the borrower to deliver items." size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="houseboundvisit_bnfk_2" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="housebound_visit_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="houseboundvisit_bnfk" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="houseboundvisit_bnfk_1" unique="false">
            <column ascending="true" name="chooser_brwnumber"/>
         </index>
         <index name="houseboundvisit_bnfk_2" unique="false">
            <column ascending="true" name="deliverer_brwnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="identity_provider_domains" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="identity_provider_domain_id" nullable="false" remarks="unique key, used to identify providers domain" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="identity_provider_id" nullable="false" remarks="Reference to provider" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="identity_provider_id" foreignKey="identity_provider_domain_ibfk_1" implied="false" onDeleteCascade="true" table="identity_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="domain" nullable="true" remarks="Domain name. If null means all domains" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="update_on_auth" nullable="false" remarks="Update user data on auth login" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="default_library_id" nullable="true" remarks="Default library to create user if auto register is enabled" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="identity_provider_domain_ibfk_2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="default_category_id" nullable="true" remarks="Default category to create user if auto register is enabled" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="categorycode" foreignKey="identity_provider_domain_ibfk_3" implied="false" onDeleteCascade="true" table="categories"/>
         </column>
         <column autoUpdated="false" defaultValue="1" digits="0" id="6" name="allow_opac" nullable="false" remarks="Allow provider from opac interface" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="allow_staff" nullable="false" remarks="Allow provider from staff interface" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="8" name="auto_register_opac" nullable="false" remarks="Allow user auto register (OPAC)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="9" name="auto_register_staff" nullable="false" remarks="Allow user auto register (Staff interface)" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="identity_provider_domain_id" sequenceNumberInPK="1"/>
         <index name="identity_provider_domains_s_pk" unique="true">
            <column ascending="true" name="identity_provider_domain_id"/>
         </index>
         <index name="allow_opac" unique="false">
            <column ascending="true" name="allow_opac"/>
         </index>
         <index name="allow_staff" unique="false">
            <column ascending="true" name="allow_staff"/>
         </index>
         <index name="domain" unique="false">
            <column ascending="true" name="domain"/>
         </index>
         <index name="identity_provider_domain_ibfk_2" unique="false">
            <column ascending="true" name="default_library_id"/>
         </index>
         <index name="identity_provider_domain_ibfk_3" unique="false">
            <column ascending="true" name="default_category_id"/>
         </index>
         <index name="identity_provider_id" unique="true">
            <column ascending="true" name="identity_provider_id"/>
            <column ascending="true" name="domain"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="identity_provider_domain_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="identity_providers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="identity_provider_id" nullable="false" remarks="unique key, used to identify the provider" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="identity_provider_id" foreignKey="identity_provider_domain_ibfk_1" implied="false" onDeleteCascade="true" table="identity_provider_domains"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="code" nullable="false" remarks="Provider code" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="description" nullable="false" remarks="Description for the provider" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="protocol" nullable="false" remarks="Protocol provider speaks" size="5" type="enum('OAuth', 'OIDC', 'LDAP', 'CAS')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="config" nullable="false" remarks="Configuration of the provider in JSON format" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="mapping" nullable="false" remarks="Configuration to map provider data to Koha user" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="matchpoint" nullable="false" remarks="The patron attribute to be used as matchpoint" size="10" type="enum('email', 'userid', 'cardnumber')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="icon_url" nullable="true" remarks="Provider icon URL" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="identity_provider_id" sequenceNumberInPK="1"/>
         <index name="identity_providers_s_pk" unique="true">
            <column ascending="true" name="identity_provider_id"/>
         </index>
         <index name="code" unique="true">
            <column ascending="true" name="code"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="identity_provider_id"/>
         </index>
         <index name="protocol" unique="false">
            <column ascending="true" name="protocol"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="illbatch_statuses" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="Status ID" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="Name of status" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="code" nullable="false" remarks="Unique, immutable code for status" size="20" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="status_code" foreignKey="illbatches_sfk" implied="false" onDeleteCascade="false" table="illbatches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="is_system" nullable="true" remarks="Is this status required for system operation" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="illbatch_statuses_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="u_illbatchstatuses__code" unique="true">
            <column ascending="true" name="code"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="illbatches" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="ill_batch_id" nullable="false" remarks="Batch ID" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="batch_id" foreignKey="illrequests_ibfk" implied="false" onDeleteCascade="false" table="illrequests"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="Unique name of batch" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="backend" nullable="false" remarks="Name of batch backend" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="patron_id" nullable="true" remarks="Patron associated with batch" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="illbatches_bnfk" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="library_id" nullable="true" remarks="Branch associated with batch" size="50" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="illbatches_bcfk" implied="false" onDeleteCascade="false" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="status_code" nullable="true" remarks="Status of batch" size="20" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="code" foreignKey="illbatches_sfk" implied="false" onDeleteCascade="false" table="illbatch_statuses"/>
         </column>
         <primaryKey column="ill_batch_id" sequenceNumberInPK="1"/>
         <index name="illbatches_s_pk" unique="true">
            <column ascending="true" name="ill_batch_id"/>
         </index>
         <index name="illbatches_bcfk" unique="false">
            <column ascending="true" name="library_id"/>
         </index>
         <index name="illbatches_bnfk" unique="false">
            <column ascending="true" name="patron_id"/>
         </index>
         <index name="illbatches_sfk" unique="false">
            <column ascending="true" name="status_code"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="ill_batch_id"/>
         </index>
         <index name="u_illbatches__name" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="illcomments" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="illcomment_id" nullable="false" remarks="Unique ID of the comment" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="illrequest_id" nullable="false" remarks="ILL request number" size="20" type="BIGINT UNSIGNED" typeCode="-5">
            <parent catalog="koha_25_11" column="illrequest_id" foreignKey="illcomments_ifk" implied="false" onDeleteCascade="true" table="illrequests"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="borrowernumber" nullable="true" remarks="Link to the user who made the comment (could be librarian, patron or ILL partner library)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="illcomments_bnfk" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="comment" nullable="true" remarks="The text of the comment" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="4" name="timestamp" nullable="false" remarks="Date and time when the comment was made" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="illcomment_id" sequenceNumberInPK="1"/>
         <index name="illcomments_s_pk" unique="true">
            <column ascending="true" name="illcomment_id"/>
         </index>
         <index name="illcomments_bnfk" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="illcomments_ifk" unique="false">
            <column ascending="true" name="illrequest_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="illcomment_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="illrequestattributes" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="illrequest_id" nullable="false" remarks="ILL request number" size="20" type="BIGINT UNSIGNED" typeCode="-5">
            <parent catalog="koha_25_11" column="illrequest_id" foreignKey="illrequestattributes_ifk" implied="false" onDeleteCascade="true" table="illrequests"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="backend" nullable="false" remarks="API ILL backend name" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="type" nullable="false" remarks="API ILL property name" size="200" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="value" nullable="false" remarks="API ILL property value" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="4" name="readonly" nullable="false" remarks="Is this attribute read only" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="illrequest_id" sequenceNumberInPK="1"/>
         <primaryKey column="backend" sequenceNumberInPK="2"/>
         <primaryKey column="type" sequenceNumberInPK="3"/>
         <index name="illrequestattributes_s_pk" unique="true">
            <column ascending="true" name="illrequest_id"/>
            <column ascending="true" name="backend"/>
            <column ascending="true" name="type"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="illrequest_id"/>
            <column ascending="true" name="backend"/>
            <column ascending="true" name="type"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="illrequests" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="illrequest_id" nullable="false" remarks="ILL request number" size="20" type="BIGINT UNSIGNED" typeCode="-5">
            <child catalog="koha_25_11" column="illrequest_id" foreignKey="illcomments_ifk" implied="false" onDeleteCascade="true" table="illcomments"/>
            <child catalog="koha_25_11" column="illrequest_id" foreignKey="illrequestattributes_ifk" implied="false" onDeleteCascade="true" table="illrequestattributes"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="borrowernumber" nullable="true" remarks="Patron associated with request" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="illrequests_bnfk" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="biblio_id" nullable="true" remarks="Potential bib linked to request" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="illrequests_bibfk" implied="false" onDeleteCascade="false" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="deleted_biblio_id" nullable="true" remarks="Deleted bib linked to request" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="due_date" nullable="true" remarks="Custom date due specified by backend, leave NULL for default date_due calculation" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="branchcode" nullable="false" remarks="The branch associated with the request" size="50" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="illrequests_bcfk_2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="status" nullable="true" remarks="Current Koha status of request" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="status_alias" nullable="true" remarks="Foreign key to relevant authorised_values.authorised_value" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="placed" nullable="true" remarks="Date the request was placed" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="replied" nullable="true" remarks="Last API response" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="10" name="updated" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="completed" nullable="true" remarks="Date the request was completed" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="medium" nullable="true" remarks="The Koha request type" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="accessurl" nullable="true" remarks="Potential URL for accessing item" size="500" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="cost" nullable="true" remarks="Quotes cost of request" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="price_paid" nullable="true" remarks="Final cost of request" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="notesopac" nullable="true" remarks="Patron notes attached to request" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="notesstaff" nullable="true" remarks="Staff notes attached to request" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="orderid" nullable="true" remarks="Backend id attached to request" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="backend" nullable="true" remarks="The backend used to create request" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="batch_id" nullable="true" remarks="Optional ID of batch that this request belongs to" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="ill_batch_id" foreignKey="illrequests_ibfk" implied="false" onDeleteCascade="false" table="illbatches"/>
         </column>
         <primaryKey column="illrequest_id" sequenceNumberInPK="1"/>
         <index name="illrequests_s_pk" unique="true">
            <column ascending="true" name="illrequest_id"/>
         </index>
         <index name="illrequests_bcfk_2" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="illrequests_bibfk" unique="false">
            <column ascending="true" name="biblio_id"/>
         </index>
         <index name="illrequests_bnfk" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="illrequests_ibfk" unique="false">
            <column ascending="true" name="batch_id"/>
         </index>
         <index name="illrequests_safk" unique="false">
            <column ascending="true" name="status_alias"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="illrequest_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="import_auths" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="import_record_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="import_record_id" foreignKey="import_auths_ibfk_1" implied="false" onDeleteCascade="true" table="import_records"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="matched_authid" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="control_number" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="authorized_heading" nullable="true" remarks="" size="128" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="original_source" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <primaryKey column="import_record_id" sequenceNumberInPK="1"/>
         <index name="import_auths_s_pk" unique="true">
            <column ascending="true" name="import_record_id"/>
         </index>
         <index name="import_auths_ibfk_1" unique="false">
            <column ascending="true" name="import_record_id"/>
         </index>
         <index name="matched_authid" unique="false">
            <column ascending="true" name="matched_authid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="import_record_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="import_batch_profiles" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique identifier and primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="profile_id" foreignKey="import_batches_ibfk_1" implied="false" onDeleteCascade="false" table="import_batches"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="name of this profile" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="matcher_id" nullable="true" remarks="the id of the match rule used (matchpoints.matcher_id)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="template_id" nullable="true" remarks="the id of the marc modification template" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="overlay_action" nullable="true" remarks="how to handle duplicate records" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="nomatch_action" nullable="true" remarks="how to handle records where no match is found" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="item_action" nullable="true" remarks="what to do with item records" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="parse_items" nullable="true" remarks="should items be parsed" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="record_type" nullable="true" remarks="type of record in the batch" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="encoding" nullable="true" remarks="file encoding" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="format" nullable="true" remarks="marc format" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="comments" nullable="true" remarks="any comments added when the file was uploaded" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="import_batch_profiles_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="u_import_batch_profiles__name" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="import_batches" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="import_batch_id" nullable="false" remarks="unique identifier and primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="import_batch_id" foreignKey="import_records_ifbk_1" implied="false" onDeleteCascade="true" table="import_records"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="matcher_id" nullable="true" remarks="the id of the match rule used (matchpoints.matcher_id)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="template_id" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="num_records" nullable="false" remarks="number of records in the file" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="num_items" nullable="false" remarks="number of items in the file" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="6" name="upload_timestamp" nullable="false" remarks="date and time the file was uploaded" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="'create_new'" digits="0" id="7" name="overlay_action" nullable="false" remarks="how to handle duplicate records" size="12" type="enum('replace', 'create_new', 'use_template', 'ignore')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'create_new'" digits="0" id="8" name="nomatch_action" nullable="false" remarks="how to handle records where no match is found" size="10" type="enum('create_new', 'ignore')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'always_add'" digits="0" id="9" name="item_action" nullable="false" remarks="what to do with item records" size="20" type="enum('always_add', 'add_only_for_matches', 'add_only_for_new', 'ignore', 'replace')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'staging'" digits="0" id="10" name="import_status" nullable="false" remarks="the status of the imported file" size="9" type="enum('staging', 'staged', 'importing', 'imported', 'reverting', 'reverted', 'cleaned')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'batch'" digits="0" id="11" name="batch_type" nullable="false" remarks="where this batch has come from" size="10" type="enum('batch', 'z3950', 'webservice')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'biblio'" digits="0" id="12" name="record_type" nullable="false" remarks="type of record in the batch" size="8" type="enum('biblio', 'auth', 'holdings')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="file_name" nullable="true" remarks="the name of the file uploaded" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="comments" nullable="true" remarks="any comments added when the file was uploaded" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="profile_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="import_batches_ibfk_1" implied="false" onDeleteCascade="false" table="import_batch_profiles"/>
         </column>
         <primaryKey column="import_batch_id" sequenceNumberInPK="1"/>
         <index name="import_batches_s_pk" unique="true">
            <column ascending="true" name="import_batch_id"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="import_batches_ibfk_1" unique="false">
            <column ascending="true" name="profile_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="import_batch_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="import_biblios" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="import_record_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="import_record_id" foreignKey="import_biblios_ibfk_1" implied="false" onDeleteCascade="true" table="import_records"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="matched_biblionumber" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="control_number" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="original_source" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="title" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="author" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="isbn" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="issn" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="8" name="has_items" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="import_record_id" sequenceNumberInPK="1"/>
         <index name="import_biblios_s_pk" unique="true">
            <column ascending="true" name="import_record_id"/>
         </index>
         <index name="import_biblios_ibfk_1" unique="false">
            <column ascending="true" name="import_record_id"/>
         </index>
         <index name="isbn" unique="false">
            <column ascending="true" name="isbn"/>
         </index>
         <index name="matched_biblionumber" unique="false">
            <column ascending="true" name="matched_biblionumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="import_record_id"/>
         </index>
         <index name="title" unique="false">
            <column ascending="true" name="title"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="import_items" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="import_items_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="import_record_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="import_record_id" foreignKey="import_items_ibfk_1" implied="false" onDeleteCascade="true" table="import_records"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="itemnumber" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'staged'" digits="0" id="4" name="status" nullable="false" remarks="" size="8" type="enum('error', 'staged', 'imported', 'reverted', 'ignored')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="marcxml" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="import_error" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="import_items_id" sequenceNumberInPK="1"/>
         <index name="import_items_s_pk" unique="true">
            <column ascending="true" name="import_items_id"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="import_items_ibfk_1" unique="false">
            <column ascending="true" name="import_record_id"/>
         </index>
         <index name="itemnumber" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="import_items_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="import_oai_authorities" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="import_oai_authority_id" nullable="false" remarks="unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="authid" nullable="false" remarks="unique identifier assigned to each koha record" size="20" type="BIGINT UNSIGNED" typeCode="-5">
            <parent catalog="koha_25_11" column="authid" foreignKey="FK_import_oai_authorities_1" implied="false" onDeleteCascade="true" table="auth_header"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="identifier" nullable="false" remarks="OAI record identifier" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="repository" nullable="false" remarks="OAI repository" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'biblio'" digits="0" id="4" name="recordtype" nullable="false" remarks="is the record bibliographic or authority" size="9" type="enum('authority', 'biblio')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="datestamp" nullable="true" remarks="OAI set to harvest" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="6" name="last_modified" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="import_oai_authority_id" sequenceNumberInPK="1"/>
         <index name="import_oai_authorities_s_pk" unique="true">
            <column ascending="true" name="import_oai_authority_id"/>
         </index>
         <index name="authid" unique="false">
            <column ascending="true" name="authid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="import_oai_authority_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="import_oai_biblios" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="import_oai_biblio_id" nullable="false" remarks="unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="biblionumber" nullable="false" remarks="unique identifier assigned to each koha record" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="FK_import_oai_biblios_1" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="identifier" nullable="false" remarks="OAI record identifier" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="repository" nullable="false" remarks="OAI repository" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'biblio'" digits="0" id="4" name="recordtype" nullable="false" remarks="is the record bibliographic or authority" size="9" type="enum('authority', 'biblio')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="datestamp" nullable="true" remarks="OAI set to harvest" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="6" name="last_modified" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="import_oai_biblio_id" sequenceNumberInPK="1"/>
         <index name="import_oai_biblios_s_pk" unique="true">
            <column ascending="true" name="import_oai_biblio_id"/>
         </index>
         <index name="biblionumber" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="import_oai_biblio_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="import_record_matches" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="import_record_id" nullable="false" remarks="the id given to the imported bib record (import_records.import_record_id)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="import_record_id" foreignKey="import_record_matches_ibfk_1" implied="false" onDeleteCascade="true" table="import_records"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="candidate_match_id" nullable="false" remarks="the biblio the imported record matches (biblio.biblionumber)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="score" nullable="false" remarks="the match score" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="chosen" nullable="true" remarks="whether this match has been allowed or denied" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="import_record_id" sequenceNumberInPK="1"/>
         <primaryKey column="candidate_match_id" sequenceNumberInPK="2"/>
         <index name="import_record_matches_s_pk" unique="true">
            <column ascending="true" name="import_record_id"/>
            <column ascending="true" name="candidate_match_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="import_record_id"/>
            <column ascending="true" name="candidate_match_id"/>
         </index>
         <index name="record_score" unique="false">
            <column ascending="true" name="import_record_id"/>
            <column ascending="true" name="score"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="import_records" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="import_record_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="import_record_id" foreignKey="import_auths_ibfk_1" implied="false" onDeleteCascade="true" table="import_auths"/>
            <child catalog="koha_25_11" column="import_record_id" foreignKey="import_biblios_ibfk_1" implied="false" onDeleteCascade="true" table="import_biblios"/>
            <child catalog="koha_25_11" column="import_record_id" foreignKey="import_items_ibfk_1" implied="false" onDeleteCascade="true" table="import_items"/>
            <child catalog="koha_25_11" column="import_record_id" foreignKey="import_record_matches_ibfk_1" implied="false" onDeleteCascade="true" table="import_record_matches"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="import_batch_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="import_batch_id" foreignKey="import_records_ifbk_1" implied="false" onDeleteCascade="true" table="import_batches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="record_sequence" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="4" name="upload_timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="import_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="marc" nullable="false" remarks="" size="2147483647" type="LONGBLOB" typeCode="-4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="marcxml" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="marcxml_old" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="'biblio'" digits="0" id="9" name="record_type" nullable="false" remarks="" size="8" type="enum('biblio', 'auth', 'holdings')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'no_match'" digits="0" id="10" name="overlay_status" nullable="false" remarks="" size="13" type="enum('no_match', 'auto_match', 'manual_match', 'match_applied')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'staged'" digits="0" id="11" name="status" nullable="false" remarks="" size="14" type="enum('error', 'staged', 'imported', 'reverted', 'items_reverted', 'ignored')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="import_error" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="13" name="encoding" nullable="false" remarks="" size="40" type="VARCHAR" typeCode="12"/>
         <primaryKey column="import_record_id" sequenceNumberInPK="1"/>
         <index name="import_records_s_pk" unique="true">
            <column ascending="true" name="import_record_id"/>
         </index>
         <index name="batch_id_record_type" unique="false">
            <column ascending="true" name="import_batch_id"/>
            <column ascending="true" name="record_type"/>
         </index>
         <index name="batch_sequence" unique="false">
            <column ascending="true" name="import_batch_id"/>
            <column ascending="true" name="record_sequence"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="import_record_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="issues" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="issue_id" nullable="false" remarks="primary key for issues table" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="issue_id" foreignKey="accountlines_ibfk_issues" implied="false" onDeleteCascade="false" table="accountlines"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="foreign key, linking this to the borrowers table for the patron this item was checked out to" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="issues_ibfk_1" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="issuer_id" nullable="true" remarks="foreign key, linking this to the borrowers table for the user who checked out this item" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="issues_ibfk_borrowers_borrowernumber" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="itemnumber" nullable="false" remarks="foreign key, linking this to the items table for the item that was checked out" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="issues_ibfk_2" implied="false" onDeleteCascade="false" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="booking_id" nullable="true" remarks="foreign key linking this checkout to the booking it fulfills" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="booking_id" foreignKey="issues_booking_id_fk" implied="false" onDeleteCascade="false" table="bookings"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="date_due" nullable="true" remarks="datetime the item is due (yyyy-mm-dd hh:mm::ss)" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="branchcode" nullable="true" remarks="foreign key, linking to the branches table for the location the item was checked out" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="returndate" nullable="true" remarks="date the item was returned, will be NULL until moved to old_issues" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="checkin_library" nullable="true" remarks="library the item was checked in at" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="lastreneweddate" nullable="true" remarks="date the item was last renewed" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="renewals_count" nullable="false" remarks="lists the number of times the item was renewed" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="11" name="unseen_renewals" nullable="false" remarks="lists the number of consecutive times the item was renewed without being seen" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="12" name="auto_renew" nullable="true" remarks="automatic renewal" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="auto_renew_error" nullable="true" remarks="automatic renewal error" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="14" name="timestamp" nullable="false" remarks="the date and time this record was last touched" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="issuedate" nullable="true" remarks="date the item was checked out or issued" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="16" name="onsite_checkout" nullable="false" remarks="in house use flag" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="note" nullable="true" remarks="issue note text" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="notedate" nullable="true" remarks="datetime of issue note (yyyy-mm-dd hh:mm::ss)" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="noteseen" nullable="true" remarks="describes whether checkout note has been seen 1, not been seen 0 or doesn't exist null" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="issue_id" sequenceNumberInPK="1"/>
         <index name="issues_s_pk" unique="true">
            <column ascending="true" name="issue_id"/>
         </index>
         <index name="bordate" unique="false">
            <column ascending="true" name="borrowernumber"/>
            <column ascending="true" name="timestamp"/>
         </index>
         <index name="branchcode_idx" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="issues_booking_id_fk" unique="false">
            <column ascending="true" name="booking_id"/>
         </index>
         <index name="issues_ibfk_borrowers_borrowernumber" unique="false">
            <column ascending="true" name="issuer_id"/>
         </index>
         <index name="issuesborridx" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="itemnumber" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="itemnumber_idx" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="issue_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="item_bundles" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="item" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="item_bundles_ibfk_1" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="host" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="item_bundles_ibfk_2" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <primaryKey column="host" sequenceNumberInPK="1"/>
         <primaryKey column="item" sequenceNumberInPK="2"/>
         <index name="item_bundles_s_pk" unique="true">
            <column ascending="true" name="host"/>
            <column ascending="true" name="item"/>
         </index>
         <index name="item_bundles_uniq_1" unique="true">
            <column ascending="true" name="item"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="host"/>
            <column ascending="true" name="item"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="item_circulation_alert_preferences" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="branchcode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="categorycode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="categorycode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="categories"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="item_type" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="notification" nullable="false" remarks="" size="16" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="item_circulation_alert_preferences_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
            <column ascending="true" name="categorycode"/>
            <column ascending="true" name="item_type"/>
            <column ascending="true" name="notification"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="item_editor_templates" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="id for the template" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="patron_id" nullable="true" remarks="creator of this template" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="bn" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="template name" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="is_shared" nullable="false" remarks="controls if template is shared" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="contents" nullable="false" remarks="json encoded template data" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="item_editor_templates_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="bn" unique="false">
            <column ascending="true" name="patron_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="item_group_items" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="item_group_items_id" nullable="false" remarks="id for the group/item link" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="item_group_id" nullable="false" remarks="foreign key making this table a 1 to 1 join from items to item groups" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="item_group_id" foreignKey="item_group_items_gifk_1" implied="false" onDeleteCascade="true" table="item_groups"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="item_id" nullable="false" remarks="foreign key linking this table to the items table" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="item_group_items_iifk_1" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <primaryKey column="item_group_items_id" sequenceNumberInPK="1"/>
         <index name="item_group_items_s_pk" unique="true">
            <column ascending="true" name="item_group_items_id"/>
         </index>
         <index name="item_group_items_gifk_1" unique="false">
            <column ascending="true" name="item_group_id"/>
         </index>
         <index name="item_id" unique="true">
            <column ascending="true" name="item_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="item_group_items_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="item_groups" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="item_group_id" nullable="false" remarks="id for the items group" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="item_group_id" foreignKey="item_group_items_gifk_1" implied="false" onDeleteCascade="true" table="item_group_items"/>
            <child catalog="koha_25_11" column="item_group_id" foreignKey="old_reserves_ibfk_ig" implied="false" onDeleteCascade="false" table="old_reserves"/>
            <child catalog="koha_25_11" column="item_group_id" foreignKey="reserves_ibfk_ig" implied="false" onDeleteCascade="false" table="reserves"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="biblio_id" nullable="false" remarks="id for the bibliographic record the group belongs to" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="item_groups_ibfk_1" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="display_order" nullable="false" remarks="The 'sort order' for item_groups" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="A group description" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="created_on" nullable="true" remarks="Time and date the group was created" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="updated_on" nullable="false" remarks="Time and date of the latest change on the group" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="item_group_id" sequenceNumberInPK="1"/>
         <index name="item_groups_s_pk" unique="true">
            <column ascending="true" name="item_group_id"/>
         </index>
         <index name="item_groups_ibfk_1" unique="false">
            <column ascending="true" name="biblio_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="item_group_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="items" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="itemnumber" nullable="false" remarks="primary key and unique identifier added by Koha" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="itemnumber" foreignKey="accountlines_ibfk_items" implied="false" onDeleteCascade="false" table="accountlines"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="article_requests_ibfk_3" implied="false" onDeleteCascade="false" table="article_requests"/>
            <child catalog="koha_25_11" column="item_id" foreignKey="bookings_ibfk_3" implied="false" onDeleteCascade="true" table="bookings"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="branchtransfers_ibfk_3" implied="false" onDeleteCascade="true" table="branchtransfers"/>
            <child catalog="koha_25_11" column="item_id" foreignKey="clubs_holds_ibfk_3" implied="false" onDeleteCascade="true" table="club_holds"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="course_items_ibfk_1" implied="false" onDeleteCascade="true" table="course_items"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="bibliocoverimage_fk2" implied="false" onDeleteCascade="true" table="cover_images"/>
            <child catalog="koha_25_11" column="item_number" foreignKey="creator_batches_ibfk_3" implied="false" onDeleteCascade="true" table="creator_batches"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="hold_fill_targets_ibfk_3" implied="false" onDeleteCascade="true" table="hold_fill_targets"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="issues_ibfk_2" implied="false" onDeleteCascade="false" table="issues"/>
            <child catalog="koha_25_11" column="host" foreignKey="item_bundles_ibfk_2" implied="false" onDeleteCascade="true" table="item_bundles"/>
            <child catalog="koha_25_11" column="item" foreignKey="item_bundles_ibfk_1" implied="false" onDeleteCascade="true" table="item_bundles"/>
            <child catalog="koha_25_11" column="item_id" foreignKey="item_group_items_iifk_1" implied="false" onDeleteCascade="true" table="item_group_items"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="items_last_borrower_ibfk_1" implied="false" onDeleteCascade="true" table="items_last_borrower"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="linktracker_item_ibfk" implied="false" onDeleteCascade="false" table="linktracker"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="old_issues_ibfk_2" implied="false" onDeleteCascade="false" table="old_issues"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="old_reserves_ibfk_3" implied="false" onDeleteCascade="false" table="old_reserves"/>
            <child catalog="koha_25_11" column="item_id" foreignKey="preservation_item_ibfk_2" implied="false" onDeleteCascade="true" table="preservation_trains_items"/>
            <child catalog="koha_25_11" column="item_id" foreignKey="recalls_ibfk_3" implied="false" onDeleteCascade="true" table="recalls"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="reserves_ibfk_3" implied="false" onDeleteCascade="true" table="reserves"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="rc_items_ibfk" implied="false" onDeleteCascade="true" table="return_claims"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="serialitems_sfk_2" implied="false" onDeleteCascade="true" table="serialitems"/>
            <child catalog="koha_25_11" column="itemnumber_id" foreignKey="stockrotationitems_iifk" implied="false" onDeleteCascade="true" table="stockrotationitems"/>
            <child catalog="koha_25_11" column="itemnumber" foreignKey="tmp_holdsqueue_ibfk_1" implied="false" onDeleteCascade="true" table="tmp_holdsqueue"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="biblionumber" nullable="false" remarks="foreign key from biblio table used to link this item to the right bib record" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="items_ibfk_4" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="biblioitemnumber" nullable="false" remarks="foreign key from the biblioitems table to link to item to additional information" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblioitemnumber" foreignKey="items_ibfk_1" implied="false" onDeleteCascade="true" table="biblioitems"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="barcode" nullable="true" remarks="item barcode (MARC21 952$p)" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="bookable" nullable="true" remarks="nullable boolean value defining whether this this item is available for bookings or not" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="dateaccessioned" nullable="true" remarks="date the item was acquired or added to Koha (MARC21 952$d)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="booksellerid" nullable="true" remarks="where the item was purchased (MARC21 952$e)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="homebranch" nullable="true" remarks="foreign key from the branches table for the library that owns this item (MARC21 952$a)" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="items_ibfk_2" implied="false" onDeleteCascade="false" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="2" id="8" name="price" nullable="true" remarks="purchase price (MARC21 952$g)" size="8" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="2" id="9" name="replacementprice" nullable="true" remarks="cost the library charges to replace the item if it has been marked lost (MARC21 952$v)" size="8" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="replacementpricedate" nullable="true" remarks="the date the price is effective from (MARC21 952$w)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="datelastborrowed" nullable="true" remarks="the date the item was last checked out/issued" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="datelastseen" nullable="true" remarks="the date the item was last see (usually the last time the barcode was scanned or inventory was done)" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="stack" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="14" name="notforloan" nullable="false" remarks="authorized value defining why this item is not for loan (MARC21 952$7)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="15" name="damaged" nullable="false" remarks="authorized value defining this item as damaged (MARC21 952$4)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="damaged_on" nullable="true" remarks="the date and time an item was last marked as damaged, NULL if not damaged" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="17" name="itemlost" nullable="false" remarks="authorized value defining this item as lost (MARC21 952$1)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="itemlost_on" nullable="true" remarks="the date and time an item was last marked as lost, NULL if not lost" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="19" name="withdrawn" nullable="false" remarks="authorized value defining this item as withdrawn (MARC21 952$0)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="withdrawn_on" nullable="true" remarks="the date and time an item was last marked as withdrawn, NULL if not withdrawn" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="itemcallnumber" nullable="true" remarks="call number for this item (MARC21 952$o)" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="coded_location_qualifier" nullable="true" remarks="coded location qualifier(MARC21 952$f)" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="23" name="issues" nullable="true" remarks="number of times this item has been checked out/issued" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="renewals" nullable="true" remarks="number of times this item has been renewed" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="localuse" nullable="true" remarks="number of times this item has been recorded as localuse" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="reserves" nullable="true" remarks="number of times this item has been placed on hold/reserved" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="restricted" nullable="true" remarks="authorized value defining use restrictions for this item (MARC21 952$5)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="itemnotes" nullable="true" remarks="public notes on this item (MARC21 952$z)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="itemnotes_nonpublic" nullable="true" remarks="non-public notes on this item (MARC21 952$x)" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="30" name="holdingbranch" nullable="true" remarks="foreign key from the branches table for the library that is currently in possession item (MARC21 952$b)" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="items_ibfk_3" implied="false" onDeleteCascade="false" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="31" name="timestamp" nullable="false" remarks="date and time this item was last altered" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="32" name="deleted_on" nullable="true" remarks="date/time of deletion" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="33" name="location" nullable="true" remarks="authorized value for the shelving location for this item (MARC21 952$c)" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="34" name="permanent_location" nullable="true" remarks="linked to the CART and PROC temporary locations feature, stores the permanent shelving location" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="35" name="onloan" nullable="true" remarks="defines if item is checked out (NULL for not checked out, and due date for checked out)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="36" name="cn_source" nullable="true" remarks="classification source used on this item (MARC21 952$2)" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="cn_source" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="class_sources"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="37" name="cn_sort" nullable="true" remarks="normalized form of the call number (MARC21 952$o) used for sorting" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="38" name="ccode" nullable="true" remarks="authorized value for the collection code associated with this item (MARC21 952$8)" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="39" name="materials" nullable="true" remarks="materials specified (MARC21 952$3)" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="40" name="uri" nullable="true" remarks="URL for the item (MARC21 952$u)" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="41" name="itype" nullable="true" remarks="foreign key from the itemtypes table defining the type for this item (MARC21 952$y)" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="42" name="more_subfields_xml" nullable="true" remarks="additional 952 subfields in XML format" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="43" name="enumchron" nullable="true" remarks="serial enumeration/chronology for the item (MARC21 952$h)" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="44" name="copynumber" nullable="true" remarks="copy number (MARC21 952$t)" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="45" name="stocknumber" nullable="true" remarks="inventory number (MARC21 952$i)" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="46" name="new_status" nullable="true" remarks="'new' value, you can put whatever free-text information. This field is intended to be managed by the automatic_item_modification_by_age cronjob." size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="47" name="exclude_from_local_holds_priority" nullable="true" remarks="Exclude this item from local holds priority" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="itemnumber" sequenceNumberInPK="1"/>
         <index name="items_s_pk" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="holdingbranch" unique="false">
            <column ascending="true" name="holdingbranch"/>
         </index>
         <index name="homebranch" unique="false">
            <column ascending="true" name="homebranch"/>
         </index>
         <index name="itembarcodeidx" unique="true">
            <column ascending="true" name="barcode"/>
         </index>
         <index name="itembibnoidx" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="itembinoidx" unique="false">
            <column ascending="true" name="biblioitemnumber"/>
         </index>
         <index name="itemcallnumber" unique="false">
            <column ascending="true" name="itemcallnumber"/>
         </index>
         <index name="items_ccode" unique="false">
            <column ascending="true" name="ccode"/>
         </index>
         <index name="items_location" unique="false">
            <column ascending="true" name="location"/>
         </index>
         <index name="itemstocknumberidx" unique="false">
            <column ascending="true" name="stocknumber"/>
         </index>
         <index name="itype_idx" unique="false">
            <column ascending="true" name="itype"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="timestamp" unique="false">
            <column ascending="true" name="timestamp"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="items_last_borrower" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="itemnumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="items_last_borrower_ibfk_1" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="borrowernumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="items_last_borrower_ibfk_2" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="3" name="created_on" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="items_last_borrower_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="itemnumber" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="items_search_fields" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="name" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="additional_fields"/>
            <child catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="aqbookseller_interfaces"/>
            <child catalog="koha_25_11" column="file_name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="borrower_files"/>
            <child catalog="koha_25_11" column="course_name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="courses"/>
            <child catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="erm_agreements"/>
            <child catalog="koha_25_11" column="file_name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="erm_documents"/>
            <child catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="erm_eholdings_packages"/>
            <child catalog="koha_25_11" column="publisher_name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="erm_eholdings_titles"/>
            <child catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="erm_licenses"/>
            <child catalog="koha_25_11" column="file_name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="misc_files"/>
            <child catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="patron_lists"/>
            <child catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="reports_dictionary"/>
            <child catalog="koha_25_11" column="report_name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="saved_sql"/>
            <child catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="search_field"/>
            <child catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="search_filters"/>
            <child catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="sms_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="label" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="tagfield" nullable="false" remarks="" size="3" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="tagsubfield" nullable="true" remarks="" size="1" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="authorised_values_category" nullable="true" remarks="" size="32" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="category_name" foreignKey="items_search_fields_authorised_values_category" implied="false" onDeleteCascade="false" table="authorised_value_categories"/>
         </column>
         <primaryKey column="name" sequenceNumberInPK="1"/>
         <index name="items_search_fields_s_pk" unique="true">
            <column ascending="true" name="name"/>
         </index>
         <index name="items_search_fields_authorised_values_category" unique="false">
            <column ascending="true" name="authorised_values_category"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="itemtypes" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="itemtype" nullable="false" remarks="unique key, a code associated with the item type" size="10" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="itemtype" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="biblioitems"/>
            <child catalog="koha_25_11" column="itemtype" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="branch_transfer_limits"/>
            <child catalog="koha_25_11" column="itemtype" foreignKey="circ_rules_ibfk_3" implied="false" onDeleteCascade="true" table="circulation_rules"/>
            <child catalog="koha_25_11" column="itemtype" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="deletedbiblioitems"/>
            <child catalog="koha_25_11" column="parent_type" foreignKey="itemtypes_ibfk_1" implied="false" onDeleteCascade="false" table="itemtypes"/>
            <child catalog="koha_25_11" column="itemtype" foreignKey="itemtypes_branches_ibfk_1" implied="false" onDeleteCascade="true" table="itemtypes_branches"/>
            <child catalog="koha_25_11" column="itemtype" foreignKey="old_reserves_ibfk_4" implied="false" onDeleteCascade="false" table="old_reserves"/>
            <child catalog="koha_25_11" column="itemtype" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="pseudonymized_transactions"/>
            <child catalog="koha_25_11" column="itemtype" foreignKey="reserves_ibfk_5" implied="false" onDeleteCascade="true" table="reserves"/>
            <child catalog="koha_25_11" column="itemtype" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="statistics"/>
            <child catalog="koha_25_11" column="itemtype" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="subscription"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="parent_type" nullable="true" remarks="unique key, a code associated with the item type" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="itemtype" foreignKey="itemtypes_ibfk_1" implied="false" onDeleteCascade="false" table="itemtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="a plain text explanation of the item type" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="3" name="rentalcharge" nullable="true" remarks="the amount charged when this item is checked out/issued" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="4" name="rentalcharge_daily" nullable="true" remarks="the amount charged for each day between checkout date and due date" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="5" name="rentalcharge_daily_calendar" nullable="false" remarks="controls if the daily rental fee is calculated directly or using finesCalendar" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="rentalcharge_hourly" nullable="true" remarks="the amount charged for each hour between checkout date and due date" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="7" name="rentalcharge_hourly_calendar" nullable="false" remarks="controls if the hourly rental fee is calculated directly or using finesCalendar" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="8" name="defaultreplacecost" nullable="true" remarks="default replacement cost" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="9" name="processfee" nullable="true" remarks="default text be recorded in the column note when the processing fee is applied" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="notforloan" nullable="false" remarks="1 if the item is not for loan, 0 if the item is available for loan" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="imageurl" nullable="true" remarks="URL for the item type icon" size="200" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="summary" nullable="true" remarks="information from the summary field, may include HTML" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="checkinmsg" nullable="true" remarks="message that is displayed when an item with the given item type is checked in" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'message'" digits="0" id="14" name="checkinmsgtype" nullable="false" remarks="type (CSS class) for the checkinmsg, can be 'alert' or 'message'" size="16" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="sip_media_type" nullable="true" remarks="SIP2 protocol media type for this itemtype" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="16" name="hideinopac" nullable="false" remarks="Hide the item type from the search options in OPAC" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="searchcategory" nullable="true" remarks="Group this item type with others with the same value on OPAC search options" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="18" name="automatic_checkin" nullable="false" remarks="If automatic checkin is enabled for items of this type" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="19" name="bookable" nullable="false" remarks="Activate bookable feature for items related to this item type" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="'inherit'" digits="0" id="20" name="checkprevcheckout" nullable="false" remarks="produce a warning for a patron if a item of this type has previously been checked out to the same patron if 'yes', not if 'no', defer to category setting if 'inherit'." size="7" type="enum('yes', 'no', 'inherit')" typeCode="12"/>
         <primaryKey column="itemtype" sequenceNumberInPK="1"/>
         <index name="itemtypes_s_pk" unique="true">
            <column ascending="true" name="itemtype"/>
         </index>
         <index name="itemtype" unique="true">
            <column ascending="true" name="itemtype"/>
         </index>
         <index name="itemtypes_ibfk_1" unique="false">
            <column ascending="true" name="parent_type"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="itemtype"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="itemtypes_branches" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="itemtype" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="itemtype" foreignKey="itemtypes_branches_ibfk_1" implied="false" onDeleteCascade="true" table="itemtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="branchcode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="itemtypes_branches_ibfk_2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="itemtype" unique="false">
            <column ascending="true" name="itemtype"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="keyboard_shortcuts" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="shortcut_name" nullable="false" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="shortcut_keys" nullable="false" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="shortcut_name" sequenceNumberInPK="1"/>
         <index name="keyboard_shortcuts_s_pk" unique="true">
            <column ascending="true" name="shortcut_name"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="shortcut_name"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="language_descriptions" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="0" name="subtag" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="type" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="lang" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="true" defaultValue="null" digits="0" id="4" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="language_descriptions_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="lang" unique="false">
            <column ascending="true" name="lang"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="uniq_desc" unique="true">
            <column ascending="true" name="subtag"/>
            <column ascending="true" name="type"/>
            <column ascending="true" name="lang"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="language_rfc4646_to_iso639" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="0" name="rfc4646_subtag" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="iso639_2_code" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="true" defaultValue="null" digits="0" id="2" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="language_rfc4646_to_iso639_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="rfc4646_subtag" unique="false">
            <column ascending="true" name="rfc4646_subtag"/>
         </index>
         <index name="uniq_code" unique="true">
            <column ascending="true" name="rfc4646_subtag"/>
            <column ascending="true" name="iso639_2_code"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="language_script_bidi" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="0" name="rfc4646_subtag" nullable="true" remarks="script subtag, Arab, Hebr, etc." size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="bidi" nullable="true" remarks="rtl ltr" size="3" type="VARCHAR" typeCode="12"/>
         <index name="rfc4646_subtag" unique="false">
            <column ascending="true" name="rfc4646_subtag"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="language_script_mapping" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="language_subtag" nullable="false" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="script_subtag" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <primaryKey column="language_subtag" sequenceNumberInPK="1"/>
         <index name="language_script_mapping_s_pk" unique="true">
            <column ascending="true" name="language_subtag"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="language_subtag"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="language_subtag_registry" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="0" name="subtag" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="type" nullable="true" remarks="language-script-region-variant-extension-privateuse" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="only one of the possible descriptions for ease of reference, see language_descriptions for the complete list" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="added" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="true" defaultValue="null" digits="0" id="4" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="language_subtag_registry_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="subtag" unique="false">
            <column ascending="true" name="subtag"/>
         </index>
         <index name="uniq_lang" unique="true">
            <column ascending="true" name="subtag"/>
            <column ascending="true" name="type"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="letter" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="primary key identifier" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="letter_id" foreignKey="letter_fk" implied="false" onDeleteCascade="false" table="message_queue"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="module" nullable="false" remarks="Koha module that triggers this notice or slip" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="code" nullable="false" remarks="unique identifier for this notice or slip" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="3" name="branchcode" nullable="false" remarks="the branch this notice or slip is used at (branches.branchcode)" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="4" name="name" nullable="false" remarks="plain text name for this notice or slip" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="is_html" nullable="true" remarks="does this notice or slip use HTML (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="6" name="title" nullable="false" remarks="subject line of the notice" size="200" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="content" nullable="true" remarks="body text for the notice or slip" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="'email'" digits="0" id="8" name="message_transport_type" nullable="false" remarks="transport type for this notice" size="20" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="message_transport_type" foreignKey="message_transport_type_fk" implied="false" onDeleteCascade="true" table="message_transport_types"/>
         </column>
         <column autoUpdated="false" defaultValue="'default'" digits="0" id="9" name="lang" nullable="false" remarks="lang of the notice" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="10" name="updated_on" nullable="false" remarks="last modification" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="style" nullable="true" remarks="custom styles for this notice" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="letter_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="letter_uniq_1" unique="true">
            <column ascending="true" name="module"/>
            <column ascending="true" name="code"/>
            <column ascending="true" name="branchcode"/>
            <column ascending="true" name="message_transport_type"/>
            <column ascending="true" name="lang"/>
         </index>
         <index name="message_transport_type_fk" unique="false">
            <column ascending="true" name="message_transport_type"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="library_groups" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique id for each group" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="parent_id" foreignKey="library_groups_ibfk_1" implied="false" onDeleteCascade="true" table="library_groups"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="parent_id" nullable="true" remarks="if this is a child group, the id of the parent group" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="library_groups_ibfk_1" implied="false" onDeleteCascade="true" table="library_groups"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="branchcode" nullable="true" remarks="The branchcode of a branch belonging to the parent group" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="library_groups_ibfk_2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="title" nullable="true" remarks="Short description of the group" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="description" nullable="true" remarks="Longer explanation of the group, if necessary" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="ft_hide_patron_info" nullable="false" remarks="Turn on the feature 'Hide patron's info' for this group" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="ft_limit_item_editing" nullable="false" remarks="Turn on the feature &quot;Limit item editing by group&quot; for this group" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="ft_search_groups_opac" nullable="false" remarks="Use this group for staff side search groups" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="8" name="ft_search_groups_staff" nullable="false" remarks="Use this group for opac side search groups" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="9" name="ft_local_hold_group" nullable="false" remarks="Use this group to identify libraries as pick up location for holds" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="ft_local_float_group" nullable="false" remarks="Use this group to identify libraries as part of float group" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="created_on" nullable="true" remarks="Date and time of creation" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="12" name="updated_on" nullable="false" remarks="Date and time of last" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="library_groups_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="library_groups_uniq_2" unique="true">
            <column ascending="true" name="parent_id"/>
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="title" unique="true">
            <column ascending="true" name="title"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="library_hours" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="library_id" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="library_hours_ibfk_1" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="'0'" digits="0" id="1" name="day" nullable="false" remarks="" size="1" type="enum('0', '1', '2', '3', '4', '5', '6')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="open_time" nullable="true" remarks="" size="8" type="TIME" typeCode="92"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="close_time" nullable="true" remarks="" size="8" type="TIME" typeCode="92"/>
         <primaryKey column="library_id" sequenceNumberInPK="1"/>
         <primaryKey column="day" sequenceNumberInPK="2"/>
         <index name="library_hours_s_pk" unique="true">
            <column ascending="true" name="library_id"/>
            <column ascending="true" name="day"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="library_id"/>
            <column ascending="true" name="day"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="library_smtp_servers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="library_id" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="library_smtp_servers_library_fk" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="smtp_server_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="library_smtp_servers_smtp_servers_fk" implied="false" onDeleteCascade="true" table="smtp_servers"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="library_smtp_servers_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="library_id_idx" unique="true">
            <column ascending="true" name="library_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="smtp_server_id_idx" unique="false">
            <column ascending="true" name="smtp_server_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="linktracker" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="primary key identifier" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="biblionumber" nullable="true" remarks="biblionumber of the record the link is from" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="linktracker_biblio_ibfk" implied="false" onDeleteCascade="false" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="itemnumber" nullable="true" remarks="itemnumber if applicable that the link was from" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="linktracker_item_ibfk" implied="false" onDeleteCascade="false" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="borrowernumber" nullable="true" remarks="borrowernumber who clicked the link" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="linktracker_borrower_ibfk" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="url" nullable="true" remarks="the link itself" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="timeclicked" nullable="true" remarks="the date and time the link was clicked" size="19" type="DATETIME" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="linktracker_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="bibidx" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="borridx" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="dateidx" unique="false">
            <column ascending="true" name="timeclicked"/>
         </index>
         <index name="itemidx" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="localization" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="localization_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="entity" nullable="false" remarks="" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="code" nullable="false" remarks="" size="64" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="code" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="borrower_attribute_types"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="lang" nullable="false" remarks="could be a foreign key" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="translation" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="localization_id" sequenceNumberInPK="1"/>
         <index name="localization_s_pk" unique="true">
            <column ascending="true" name="localization_id"/>
         </index>
         <index name="entity_code_lang" unique="true">
            <column ascending="true" name="entity"/>
            <column ascending="true" name="code"/>
            <column ascending="true" name="lang"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="localization_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="marc_matchers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="matcher_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="matcher_id" foreignKey="matcher_matchchecks_ifbk_1" implied="false" onDeleteCascade="true" table="matchchecks"/>
            <child catalog="koha_25_11" column="matcher_id" foreignKey="matcher_matchpoints_ifbk_1" implied="false" onDeleteCascade="true" table="matcher_matchpoints"/>
            <child catalog="koha_25_11" column="matcher_id" foreignKey="matchpoints_ifbk_1" implied="false" onDeleteCascade="true" table="matchpoints"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="code" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="description" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'biblio'" digits="0" id="3" name="record_type" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="threshold" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="matcher_id" sequenceNumberInPK="1"/>
         <index name="marc_matchers_s_pk" unique="true">
            <column ascending="true" name="matcher_id"/>
         </index>
         <index name="code" unique="false">
            <column ascending="true" name="code"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="matcher_id"/>
         </index>
         <index name="record_type" unique="false">
            <column ascending="true" name="record_type"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="marc_modification_template_actions" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="mmta_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="template_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="template_id" foreignKey="mmta_ibfk_1" implied="false" onDeleteCascade="true" table="marc_modification_templates"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="ordering" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="action" nullable="false" remarks="" size="22" type="enum('delete_field', 'add_field', 'update_field', 'move_field', 'copy_field', 'copy_and_replace_field')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="field_number" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="from_field" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="from_subfield" nullable="true" remarks="" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="field_value" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="to_field" nullable="true" remarks="" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="to_subfield" nullable="true" remarks="" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="to_regex_search" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="to_regex_replace" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="12" name="to_regex_modifiers" nullable="true" remarks="" size="8" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="conditional" nullable="true" remarks="" size="6" type="enum('if', 'unless')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="conditional_field" nullable="true" remarks="" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="conditional_subfield" nullable="true" remarks="" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="conditional_comparison" nullable="true" remarks="" size="10" type="enum('exists', 'not_exists', 'equals', 'not_equals')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="conditional_value" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="18" name="conditional_regex" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="description" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="mmta_id" sequenceNumberInPK="1"/>
         <index name="marc_modification_template_actions_s_pk" unique="true">
            <column ascending="true" name="mmta_id"/>
         </index>
         <index name="mmta_ibfk_1" unique="false">
            <column ascending="true" name="template_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="mmta_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="marc_modification_templates" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="template_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="template_id" foreignKey="mmta_ibfk_1" implied="false" onDeleteCascade="true" table="marc_modification_template_actions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="template_id" sequenceNumberInPK="1"/>
         <index name="marc_modification_templates_s_pk" unique="true">
            <column ascending="true" name="template_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="template_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="marc_order_accounts" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique identifier and primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="description" nullable="false" remarks="description of this account" size="250" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="vendor_id" nullable="true" remarks="vendor id for this account" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="marc_ordering_account_ibfk_1" implied="false" onDeleteCascade="true" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="budget_id" nullable="true" remarks="budget id for this account" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="budget_id" foreignKey="marc_ordering_account_ibfk_2" implied="false" onDeleteCascade="true" table="aqbudgets"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="download_directory" nullable="true" remarks="download directory for this account" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="matcher_id" nullable="true" remarks="the id of the match rule used (matchpoints.matcher_id)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="overlay_action" nullable="true" remarks="how to handle duplicate records" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="nomatch_action" nullable="true" remarks="how to handle records where no match is found" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="item_action" nullable="true" remarks="what to do with item records" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="parse_items" nullable="true" remarks="should items be parsed" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="record_type" nullable="true" remarks="type of record in the file" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="encoding" nullable="true" remarks="file encoding" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="match_field" nullable="true" remarks="the field that a vendor account has been mapped to in a marc record" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="match_value" nullable="true" remarks="the value to be matched against the marc record" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="basket_name_field" nullable="true" remarks="the field that a vendor can use to include a basket name that will be used to create the basket for the file" size="10" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="marc_order_accounts_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="marc_ordering_account_ibfk_1" unique="false">
            <column ascending="true" name="vendor_id"/>
         </index>
         <index name="marc_ordering_account_ibfk_2" unique="false">
            <column ascending="true" name="budget_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="marc_overlay_rules" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="tag" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="module" nullable="false" remarks="" size="127" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="filter" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="add" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="append" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="remove" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="delete" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="marc_overlay_rules_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="marc_subfield_structure" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="tagfield" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="tagsubfield" nullable="false" remarks="" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="liblibrarian" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="3" name="libopac" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="repeatable" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="mandatory" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="important" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="kohafield" nullable="true" remarks="" size="40" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="tab" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="authorised_value" nullable="true" remarks="" size="32" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="category_name" foreignKey="marc_subfield_structure_ibfk_1" implied="false" onDeleteCascade="false" table="authorised_value_categories"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="authtypecode" nullable="true" remarks="" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="value_builder" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="isurl" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="8" digits="0" id="13" name="hidden" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="14" name="frameworkcode" nullable="false" remarks="" size="4" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="seealso" nullable="true" remarks="" size="1100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="link" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="defaultvalue" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="9999" digits="0" id="18" name="maxlength" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="19" name="display_order" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="frameworkcode" sequenceNumberInPK="1"/>
         <primaryKey column="tagfield" sequenceNumberInPK="2"/>
         <primaryKey column="tagsubfield" sequenceNumberInPK="3"/>
         <index name="marc_subfield_structure_s_pk" unique="true">
            <column ascending="true" name="frameworkcode"/>
            <column ascending="true" name="tagfield"/>
            <column ascending="true" name="tagsubfield"/>
         </index>
         <index name="kohafield" unique="false">
            <column ascending="true" name="frameworkcode"/>
            <column ascending="true" name="kohafield"/>
         </index>
         <index name="kohafield_2" unique="false">
            <column ascending="true" name="kohafield"/>
         </index>
         <index name="marc_subfield_structure_ibfk_1" unique="false">
            <column ascending="true" name="authorised_value"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="frameworkcode"/>
            <column ascending="true" name="tagfield"/>
            <column ascending="true" name="tagsubfield"/>
         </index>
         <index name="tab" unique="false">
            <column ascending="true" name="frameworkcode"/>
            <column ascending="true" name="tab"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="marc_tag_structure" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="tagfield" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="liblibrarian" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="libopac" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="repeatable" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="mandatory" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="important" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="authorised_value" nullable="true" remarks="" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="7" name="ind1_defaultvalue" nullable="false" remarks="" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="8" name="ind2_defaultvalue" nullable="false" remarks="" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="9" name="frameworkcode" nullable="false" remarks="" size="4" type="VARCHAR" typeCode="12"/>
         <primaryKey column="frameworkcode" sequenceNumberInPK="1"/>
         <primaryKey column="tagfield" sequenceNumberInPK="2"/>
         <index name="marc_tag_structure_s_pk" unique="true">
            <column ascending="true" name="frameworkcode"/>
            <column ascending="true" name="tagfield"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="frameworkcode"/>
            <column ascending="true" name="tagfield"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="matchchecks" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="matcher_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="matcher_id" foreignKey="matcher_matchchecks_ifbk_1" implied="false" onDeleteCascade="true" table="marc_matchers"/>
         </column>
         <column autoUpdated="true" defaultValue="null" digits="0" id="1" name="matchcheck_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="source_matchpoint_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="matchpoint_id" foreignKey="matcher_matchchecks_ifbk_2" implied="false" onDeleteCascade="true" table="matchpoints"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="target_matchpoint_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="matchpoint_id" foreignKey="matcher_matchchecks_ifbk_3" implied="false" onDeleteCascade="true" table="matchpoints"/>
         </column>
         <primaryKey column="matchcheck_id" sequenceNumberInPK="1"/>
         <index name="matchchecks_s_pk" unique="true">
            <column ascending="true" name="matchcheck_id"/>
         </index>
         <index name="matcher_matchchecks_ifbk_1" unique="false">
            <column ascending="true" name="matcher_id"/>
         </index>
         <index name="matcher_matchchecks_ifbk_2" unique="false">
            <column ascending="true" name="source_matchpoint_id"/>
         </index>
         <index name="matcher_matchchecks_ifbk_3" unique="false">
            <column ascending="true" name="target_matchpoint_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="matchcheck_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="matcher_matchpoints" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="matcher_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="matcher_id" foreignKey="matcher_matchpoints_ifbk_1" implied="false" onDeleteCascade="true" table="marc_matchers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="matchpoint_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="matchpoint_id" foreignKey="matcher_matchpoints_ifbk_2" implied="false" onDeleteCascade="true" table="matchpoints"/>
         </column>
         <index name="matcher_matchpoints_ifbk_1" unique="false">
            <column ascending="true" name="matcher_id"/>
         </index>
         <index name="matcher_matchpoints_ifbk_2" unique="false">
            <column ascending="true" name="matchpoint_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="matchpoint_component_norms" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="matchpoint_component_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="matchpoint_component_id" foreignKey="matchpoint_component_norms_ifbk_1" implied="false" onDeleteCascade="true" table="matchpoint_components"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="sequence" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="norm_routine" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
         <index name="matchpoint_component_norms" unique="false">
            <column ascending="true" name="matchpoint_component_id"/>
            <column ascending="true" name="sequence"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="matchpoint_components" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="matchpoint_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="matchpoint_id" foreignKey="matchpoint_components_ifbk_1" implied="false" onDeleteCascade="true" table="matchpoints"/>
         </column>
         <column autoUpdated="true" defaultValue="null" digits="0" id="1" name="matchpoint_component_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="matchpoint_component_id" foreignKey="matchpoint_component_norms_ifbk_1" implied="false" onDeleteCascade="true" table="matchpoint_component_norms"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="sequence" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="3" name="tag" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="4" name="subfields" nullable="false" remarks="" size="40" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="offset" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="length" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="matchpoint_component_id" sequenceNumberInPK="1"/>
         <index name="matchpoint_components_s_pk" unique="true">
            <column ascending="true" name="matchpoint_component_id"/>
         </index>
         <index name="by_sequence" unique="false">
            <column ascending="true" name="matchpoint_id"/>
            <column ascending="true" name="sequence"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="matchpoint_component_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="matchpoints" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="matcher_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="matcher_id" foreignKey="matchpoints_ifbk_1" implied="false" onDeleteCascade="true" table="marc_matchers"/>
         </column>
         <column autoUpdated="true" defaultValue="null" digits="0" id="1" name="matchpoint_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="source_matchpoint_id" foreignKey="matcher_matchchecks_ifbk_2" implied="false" onDeleteCascade="true" table="matchchecks"/>
            <child catalog="koha_25_11" column="target_matchpoint_id" foreignKey="matcher_matchchecks_ifbk_3" implied="false" onDeleteCascade="true" table="matchchecks"/>
            <child catalog="koha_25_11" column="matchpoint_id" foreignKey="matcher_matchpoints_ifbk_2" implied="false" onDeleteCascade="true" table="matcher_matchpoints"/>
            <child catalog="koha_25_11" column="matchpoint_id" foreignKey="matchpoint_components_ifbk_1" implied="false" onDeleteCascade="true" table="matchpoint_components"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="search_index" nullable="false" remarks="" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="score" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="matchpoint_id" sequenceNumberInPK="1"/>
         <index name="matchpoints_s_pk" unique="true">
            <column ascending="true" name="matchpoint_id"/>
         </index>
         <index name="matchpoints_ifbk_1" unique="false">
            <column ascending="true" name="matcher_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="matchpoint_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="message_attributes" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="message_attribute_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="message_attribute_id" foreignKey="borrower_message_preferences_ibfk_2" implied="false" onDeleteCascade="true" table="borrower_message_preferences"/>
            <child catalog="koha_25_11" column="message_attribute_id" foreignKey="message_transports_ibfk_1" implied="false" onDeleteCascade="true" table="message_transports"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="message_name" nullable="false" remarks="" size="40" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="takes_days" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="message_attribute_id" sequenceNumberInPK="1"/>
         <index name="message_attributes_s_pk" unique="true">
            <column ascending="true" name="message_attribute_id"/>
         </index>
         <index name="message_name" unique="true">
            <column ascending="true" name="message_name"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="message_attribute_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="message_queue" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="message_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="letter_id" nullable="true" remarks="Foreign key to the letters table" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="letter_fk" implied="false" onDeleteCascade="false" table="letter"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="borrowernumber" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="messageq_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="subject" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="content" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="metadata" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="letter_code" nullable="true" remarks="" size="64" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="code" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="borrower_attribute_types"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="message_transport_type" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="message_transport_type" foreignKey="messageq_ibfk_2" implied="false" onDeleteCascade="false" table="message_transport_types"/>
         </column>
         <column autoUpdated="false" defaultValue="'pending'" digits="0" id="8" name="status" nullable="false" remarks="" size="7" type="enum('sent', 'pending', 'failed', 'deleted')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="time_queued" nullable="true" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="10" name="updated_on" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="to_address" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="cc_address" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="from_address" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="reply_address" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="content_type" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="failure_code" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="message_id" sequenceNumberInPK="1"/>
         <index name="message_queue_s_pk" unique="true">
            <column ascending="true" name="message_id"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="letter_fk" unique="false">
            <column ascending="true" name="letter_id"/>
         </index>
         <index name="message_transport_type" unique="false">
            <column ascending="true" name="message_transport_type"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="message_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="message_transport_types" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="message_transport_type" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="message_transport_type" foreignKey="borrower_message_transport_preferences_ibfk_2" implied="false" onDeleteCascade="true" table="borrower_message_transport_preferences"/>
            <child catalog="koha_25_11" column="message_transport_type" foreignKey="message_transport_type_fk" implied="false" onDeleteCascade="true" table="letter"/>
            <child catalog="koha_25_11" column="message_transport_type" foreignKey="messageq_ibfk_2" implied="false" onDeleteCascade="false" table="message_queue"/>
            <child catalog="koha_25_11" column="message_transport_type" foreignKey="message_transports_ibfk_2" implied="false" onDeleteCascade="true" table="message_transports"/>
            <child catalog="koha_25_11" column="message_transport_type" foreignKey="mtt_fk" implied="false" onDeleteCascade="true" table="overduerules_transport_types"/>
         </column>
         <primaryKey column="message_transport_type" sequenceNumberInPK="1"/>
         <index name="message_transport_types_s_pk" unique="true">
            <column ascending="true" name="message_transport_type"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="message_transport_type"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="message_transports" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="message_attribute_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="message_attribute_id" foreignKey="message_transports_ibfk_1" implied="false" onDeleteCascade="true" table="message_attributes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="message_transport_type" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="message_transport_type" foreignKey="message_transports_ibfk_2" implied="false" onDeleteCascade="true" table="message_transport_types"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="is_digest" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="3" name="letter_module" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="4" name="letter_code" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="5" name="branchcode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <primaryKey column="message_attribute_id" sequenceNumberInPK="1"/>
         <primaryKey column="message_transport_type" sequenceNumberInPK="2"/>
         <primaryKey column="is_digest" sequenceNumberInPK="3"/>
         <index name="message_transports_s_pk" unique="true">
            <column ascending="true" name="message_attribute_id"/>
            <column ascending="true" name="message_transport_type"/>
            <column ascending="true" name="is_digest"/>
         </index>
         <index name="letter_module" unique="false">
            <column ascending="true" name="letter_module"/>
            <column ascending="true" name="letter_code"/>
         </index>
         <index name="message_transport_type" unique="false">
            <column ascending="true" name="message_transport_type"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="message_attribute_id"/>
            <column ascending="true" name="message_transport_type"/>
            <column ascending="true" name="is_digest"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="messages" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="message_id" nullable="false" remarks="unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="foreign key linking this message to the borrowers table" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="messages_borrowernumber" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="branchcode" nullable="true" remarks="foreign key linking the message to the branches table" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="message_type" nullable="false" remarks="whether the message is for the librarians (L) or the patron (B)" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="message" nullable="false" remarks="the text of the message" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="message_date" nullable="false" remarks="the date and time the message was written" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="manager_id" nullable="true" remarks="creator of message" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="messages_ibfk_1" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="patron_read_date" nullable="true" remarks="the date and time the patron dismissed the message" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="message_id" sequenceNumberInPK="1"/>
         <index name="messages_s_pk" unique="true">
            <column ascending="true" name="message_id"/>
         </index>
         <index name="messages_borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="messages_ibfk_1" unique="false">
            <column ascending="true" name="manager_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="message_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="misc_files" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="file_id" nullable="false" remarks="unique id for the file record" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="table_tag" nullable="false" remarks="usually table name, or arbitrary unique tag" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="record_id" nullable="false" remarks="record id from the table this file is associated to" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="file_name" nullable="false" remarks="file name" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="file_type" nullable="false" remarks="MIME type of the file" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="file_description" nullable="true" remarks="description given to the file" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="file_content" nullable="false" remarks="file content" size="2147483647" type="LONGBLOB" typeCode="-4"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="7" name="date_uploaded" nullable="false" remarks="date and time the file was added" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="file_id" sequenceNumberInPK="1"/>
         <index name="misc_files_s_pk" unique="true">
            <column ascending="true" name="file_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="file_id"/>
         </index>
         <index name="record_id" unique="false">
            <column ascending="true" name="record_id"/>
         </index>
         <index name="table_tag" unique="false">
            <column ascending="true" name="table_tag"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="need_merge_authorities" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique id" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="authid" nullable="false" remarks="reference to original authority record" size="19" type="BIGINT" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="authid_new" nullable="true" remarks="reference to optional new authority record" size="19" type="BIGINT" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="reportxml" nullable="true" remarks="xml showing original reporting tag" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="4" name="timestamp" nullable="false" remarks="date and time last modified" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="done" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="need_merge_authorities_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="oai_servers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="oai_server_id" nullable="false" remarks="unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="endpoint" nullable="false" remarks="OAI endpoint (host + port + path)" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="oai_set" nullable="true" remarks="OAI set to harvest" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="servername" nullable="false" remarks="name given to the target by the library" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="'oai_dc'" digits="0" id="4" name="dataformat" nullable="false" remarks="data format" size="8" type="enum('oai_dc', 'marc-xml', 'marcxml')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'biblio'" digits="0" id="5" name="recordtype" nullable="false" remarks="server contains bibliographic or authority records" size="9" type="enum('authority', 'biblio')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="add_xslt" nullable="true" remarks="zero or more paths to XSLT files to be processed on the search results" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="oai_server_id" sequenceNumberInPK="1"/>
         <index name="oai_servers_s_pk" unique="true">
            <column ascending="true" name="oai_server_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="oai_server_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="oai_sets" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="set_id" foreignKey="oai_sets_biblios_ibfk_2" implied="false" onDeleteCascade="true" table="oai_sets_biblios"/>
            <child catalog="koha_25_11" column="set_id" foreignKey="oai_sets_descriptions_ibfk_1" implied="false" onDeleteCascade="true" table="oai_sets_descriptions"/>
            <child catalog="koha_25_11" column="set_id" foreignKey="oai_sets_mappings_ibfk_1" implied="false" onDeleteCascade="true" table="oai_sets_mappings"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="spec" nullable="false" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="oai_sets_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="spec" unique="true">
            <column ascending="true" name="spec"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="oai_sets_biblios" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="biblionumber" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="set_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="oai_sets_biblios_ibfk_2" implied="false" onDeleteCascade="true" table="oai_sets"/>
         </column>
         <primaryKey column="biblionumber" sequenceNumberInPK="1"/>
         <primaryKey column="set_id" sequenceNumberInPK="2"/>
         <index name="oai_sets_biblios_s_pk" unique="true">
            <column ascending="true" name="biblionumber"/>
            <column ascending="true" name="set_id"/>
         </index>
         <index name="oai_sets_biblios_ibfk_2" unique="false">
            <column ascending="true" name="set_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="biblionumber"/>
            <column ascending="true" name="set_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="oai_sets_descriptions" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="set_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="oai_sets_descriptions_ibfk_1" implied="false" onDeleteCascade="true" table="oai_sets"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="description" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <index name="oai_sets_descriptions_ibfk_1" unique="false">
            <column ascending="true" name="set_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="oai_sets_mappings" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="set_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="oai_sets_mappings_ibfk_1" implied="false" onDeleteCascade="true" table="oai_sets"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="rule_order" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="rule_operator" nullable="true" remarks="" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="marcfield" nullable="false" remarks="" size="3" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="marcsubfield" nullable="false" remarks="" size="1" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="'equal'" digits="0" id="5" name="operator" nullable="false" remarks="" size="8" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="marcvalue" nullable="false" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <index name="oai_sets_mappings_ibfk_1" unique="false">
            <column ascending="true" name="set_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="oauth_access_tokens" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="access_token" nullable="false" remarks="generarated access token" size="191" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="client_id" nullable="false" remarks="the client id the access token belongs to" size="191" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="client_id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="api_keys"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="expires" nullable="false" remarks="expiration time in seconds" size="10" type="INT" typeCode="4"/>
         <primaryKey column="access_token" sequenceNumberInPK="1"/>
         <index name="oauth_access_tokens_s_pk" unique="true">
            <column ascending="true" name="access_token"/>
         </index>
         <index name="expires" unique="false">
            <column ascending="true" name="expires"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="access_token"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="old_issues" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="issue_id" nullable="false" remarks="primary key for issues table" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="old_issue_id" foreignKey="accountlines_ibfk_old_issues" implied="false" onDeleteCascade="false" table="accountlines"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="borrowernumber" nullable="true" remarks="foreign key, linking this to the borrowers table for the patron this item was checked out to" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="old_issues_ibfk_1" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="issuer_id" nullable="true" remarks="foreign key, linking this to the borrowers table for the user who checked out this item" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="old_issues_ibfk_borrowers_borrowernumber" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="itemnumber" nullable="true" remarks="foreign key, linking this to the items table for the item that was checked out" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="old_issues_ibfk_2" implied="false" onDeleteCascade="false" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="booking_id" nullable="true" remarks="foreign key linking this checkout to the booking it fulfills" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="booking_id" foreignKey="old_issues_booking_id_fk" implied="false" onDeleteCascade="false" table="bookings"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="date_due" nullable="true" remarks="date the item is due (yyyy-mm-dd)" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="branchcode" nullable="true" remarks="foreign key, linking to the branches table for the location the item was checked out" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="returndate" nullable="true" remarks="date the item was returned" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="checkin_library" nullable="true" remarks="library the item was checked in at" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="lastreneweddate" nullable="true" remarks="date the item was last renewed" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="renewals_count" nullable="false" remarks="lists the number of times the item was renewed" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="11" name="unseen_renewals" nullable="false" remarks="lists the number of consecutive times the item was renewed without being seen" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="12" name="auto_renew" nullable="true" remarks="automatic renewal" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="auto_renew_error" nullable="true" remarks="automatic renewal error" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="14" name="timestamp" nullable="false" remarks="the date and time this record was last touched" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="issuedate" nullable="true" remarks="date the item was checked out or issued" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="16" name="onsite_checkout" nullable="false" remarks="in house use flag" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="note" nullable="true" remarks="issue note text" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="notedate" nullable="true" remarks="datetime of issue note (yyyy-mm-dd hh:mm::ss)" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="noteseen" nullable="true" remarks="describes whether checkout note has been seen 1, not been seen 0 or doesn't exist null" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="issue_id" sequenceNumberInPK="1"/>
         <index name="old_issues_s_pk" unique="true">
            <column ascending="true" name="issue_id"/>
         </index>
         <index name="branchcode_idx" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="old_bordate" unique="false">
            <column ascending="true" name="borrowernumber"/>
            <column ascending="true" name="timestamp"/>
         </index>
         <index name="old_issues_booking_id_fk" unique="false">
            <column ascending="true" name="booking_id"/>
         </index>
         <index name="old_issues_ibfk_borrowers_borrowernumber" unique="false">
            <column ascending="true" name="issuer_id"/>
         </index>
         <index name="old_issuesborridx" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="old_issuesitemidx" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="issue_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="old_reserves" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="reserve_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="borrowernumber" nullable="true" remarks="foreign key from the borrowers table defining which patron this hold is for" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="old_reserves_ibfk_1" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="reservedate" nullable="true" remarks="the date the hold was places" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="biblionumber" nullable="true" remarks="foreign key from the biblio table defining which bib record this hold is on" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="old_reserves_ibfk_2" implied="false" onDeleteCascade="false" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="deleted_biblionumber" nullable="true" remarks="links the hold to the deleted bibliographic record (deletedbiblio.biblionumber)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="item_group_id" nullable="true" remarks="foreign key from the item_groups table defining if this is an item group level hold" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="item_group_id" foreignKey="old_reserves_ibfk_ig" implied="false" onDeleteCascade="false" table="item_groups"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="branchcode" nullable="true" remarks="foreign key from the branches table defining which branch the patron wishes to pick this hold up at" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="old_reserves_ibfk_branchcode" implied="false" onDeleteCascade="false" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="desk_id" nullable="true" remarks="foreign key from the desks table defining which desk the patron should pick this hold up at" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="notificationdate" nullable="true" remarks="currently unused" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="reminderdate" nullable="true" remarks="currently unused" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="cancellationdate" nullable="true" remarks="the date this hold was cancelled" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="cancellation_reason" nullable="true" remarks="optional authorised value CANCELLATION_REASON" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="reservenotes" nullable="true" remarks="notes related to this hold" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="13" name="priority" nullable="false" remarks="where in the queue the patron sits" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="found" nullable="true" remarks="a one letter code defining what the status is of the hold is after it has been confirmed" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="15" name="timestamp" nullable="false" remarks="the date and time this hold was last updated" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="itemnumber" nullable="true" remarks="foreign key from the items table defining the specific item the patron has placed on hold or the item this hold was filled with" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="old_reserves_ibfk_3" implied="false" onDeleteCascade="false" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="waitingdate" nullable="true" remarks="the date the item was marked as waiting for the patron at the library" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="expirationdate" nullable="true" remarks="the date the hold expires (usually the date entered by the patron to say they don't need the hold after a certain date)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="patron_expiration_date" nullable="true" remarks="the date the hold expires - usually the date entered by the patron to say they don't need the hold after a certain date" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="20" name="lowestPriority" nullable="false" remarks="has this hold been pinned to the lowest priority in the holds queue (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="21" name="suspend" nullable="false" remarks="in this hold suspended (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="suspend_until" nullable="true" remarks="the date this hold is suspended until (NULL for infinitely)" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="itemtype" nullable="true" remarks="If record level hold, the optional itemtype of the item the patron is requesting" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="itemtype" foreignKey="old_reserves_ibfk_4" implied="false" onDeleteCascade="false" table="itemtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="24" name="item_level_hold" nullable="false" remarks="Is the hold placed at item level" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="25" name="non_priority" nullable="false" remarks="Is this a non priority hold" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="hold_group_id" nullable="true" remarks="The id of a group of titles reservations fulfilled when one title is picked" size="10" type="INT UNSIGNED" typeCode="4">
            <parent catalog="koha_25_11" column="hold_group_id" foreignKey="old_reserves_ibfk_hg" implied="false" onDeleteCascade="false" table="hold_groups"/>
         </column>
         <primaryKey column="reserve_id" sequenceNumberInPK="1"/>
         <index name="old_reserves_s_pk" unique="true">
            <column ascending="true" name="reserve_id"/>
         </index>
         <index name="old_reserves_biblionumber" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="old_reserves_borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="old_reserves_branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="old_reserves_ibfk_hg" unique="false">
            <column ascending="true" name="hold_group_id"/>
         </index>
         <index name="old_reserves_ibfk_ig" unique="false">
            <column ascending="true" name="item_group_id"/>
         </index>
         <index name="old_reserves_itemnumber" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="old_reserves_itemtype" unique="false">
            <column ascending="true" name="itemtype"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="reserve_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="overduerules" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="overduerules_id" nullable="false" remarks="unique identifier for the overduerules" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="overduerules_id" foreignKey="overduerules_fk" implied="false" onDeleteCascade="true" table="overduerules_transport_types"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="branchcode" nullable="false" remarks="foreign key from the branches table to define which branch this rule is for (if blank it's all libraries)" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="categorycode" nullable="false" remarks="foreign key from the categories table to define which patron category this rule is for" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="categorycode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="categories"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="delay1" nullable="true" remarks="number of days after the item is overdue that the first notice is sent" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="letter1" nullable="true" remarks="foreign key from the letter table to define which notice should be sent as the first notice" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="debarred1" nullable="true" remarks="is the patron restricted when the first notice is sent (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="delay2" nullable="true" remarks="number of days after the item is overdue that the second notice is sent" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="debarred2" nullable="true" remarks="is the patron restricted when the second notice is sent (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="letter2" nullable="true" remarks="foreign key from the letter table to define which notice should be sent as the second notice" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="delay3" nullable="true" remarks="number of days after the item is overdue that the third notice is sent" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="letter3" nullable="true" remarks="foreign key from the letter table to define which notice should be sent as the third notice" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="11" name="debarred3" nullable="true" remarks="is the patron restricted when the third notice is sent (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="overduerules_id" sequenceNumberInPK="1"/>
         <index name="overduerules_s_pk" unique="true">
            <column ascending="true" name="overduerules_id"/>
         </index>
         <index name="overduerules_branch_cat" unique="true">
            <column ascending="true" name="branchcode"/>
            <column ascending="true" name="categorycode"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="overduerules_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="overduerules_transport_types" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="1" name="letternumber" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="'email'" digits="0" id="2" name="message_transport_type" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="message_transport_type" foreignKey="mtt_fk" implied="false" onDeleteCascade="true" table="message_transport_types"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="overduerules_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="overduerules_id" foreignKey="overduerules_fk" implied="false" onDeleteCascade="true" table="overduerules"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="overduerules_transport_types_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="mtt_fk" unique="false">
            <column ascending="true" name="message_transport_type"/>
         </index>
         <index name="overduerules_fk" unique="false">
            <column ascending="true" name="overduerules_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="patron_consent" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="patron_consent_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="type" nullable="true" remarks="consent type, could be custom type" size="255" type="TINYTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="given_on" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="refused_on" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="patron_consent_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="patron_list_patrons" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="patron_list_patron_id" nullable="false" remarks="unique identifier" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="patron_list_id" nullable="false" remarks="the list this entry is part of" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="patron_list_id" foreignKey="patron_list_patrons_ibfk_1" implied="false" onDeleteCascade="true" table="patron_lists"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="borrowernumber" nullable="false" remarks="the borrower that is part of this list" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="patron_list_patrons_ibfk_2" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <primaryKey column="patron_list_patron_id" sequenceNumberInPK="1"/>
         <index name="patron_list_patrons_s_pk" unique="true">
            <column ascending="true" name="patron_list_patron_id"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="patron_list_id" unique="false">
            <column ascending="true" name="patron_list_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="patron_list_patron_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="patron_lists" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="patron_list_id" nullable="false" remarks="unique identifier" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="patron_list_id" foreignKey="patron_list_patrons_ibfk_1" implied="false" onDeleteCascade="true" table="patron_list_patrons"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="the list's name" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="owner" nullable="false" remarks="borrowernumber of the list creator" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="patron_lists_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="shared" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="patron_list_id" sequenceNumberInPK="1"/>
         <index name="patron_lists_s_pk" unique="true">
            <column ascending="true" name="patron_list_id"/>
         </index>
         <index name="owner" unique="false">
            <column ascending="true" name="owner"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="patron_list_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="patronimage" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="borrowernumber" nullable="false" remarks="the borrowernumber of the patron this image is attached to (borrowers.borrowernumber)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="patronimage_fk1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="mimetype" nullable="false" remarks="the format of the image (png, jpg, etc)" size="15" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="imagefile" nullable="false" remarks="the image" size="16777215" type="MEDIUMBLOB" typeCode="-4"/>
         <primaryKey column="borrowernumber" sequenceNumberInPK="1"/>
         <index name="patronimage_s_pk" unique="true">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="borrowernumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="pending_offline_operations" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="operationid" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="userid" nullable="false" remarks="" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="branchcode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="3" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="action" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="barcode" nullable="true" remarks="" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="cardnumber" nullable="true" remarks="" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="7" name="amount" nullable="true" remarks="" size="28" type="DECIMAL" typeCode="3"/>
         <primaryKey column="operationid" sequenceNumberInPK="1"/>
         <index name="pending_offline_operations_s_pk" unique="true">
            <column ascending="true" name="operationid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="operationid"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="permissions" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="0" digits="0" id="0" name="module_bit" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="module_bit" foreignKey="user_permissions_ibfk_2" implied="false" onDeleteCascade="true" table="user_permissions"/>
            <parent catalog="koha_25_11" column="bit" foreignKey="permissions_ibfk_1" implied="false" onDeleteCascade="true" table="userflags"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="code" nullable="false" remarks="" size="64" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="code" foreignKey="user_permissions_ibfk_2" implied="false" onDeleteCascade="true" table="user_permissions"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="module_bit" sequenceNumberInPK="1"/>
         <primaryKey column="code" sequenceNumberInPK="2"/>
         <index name="permissions_s_pk" unique="true">
            <column ascending="true" name="module_bit"/>
            <column ascending="true" name="code"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="module_bit"/>
            <column ascending="true" name="code"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="plugin_data" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="plugin_class" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="plugin_key" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="plugin_value" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="plugin_class" sequenceNumberInPK="1"/>
         <primaryKey column="plugin_key" sequenceNumberInPK="2"/>
         <index name="plugin_data_s_pk" unique="true">
            <column ascending="true" name="plugin_class"/>
            <column ascending="true" name="plugin_key"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="plugin_class"/>
            <column ascending="true" name="plugin_key"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="plugin_methods" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="plugin_class" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="plugin_method" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="plugin_class" sequenceNumberInPK="1"/>
         <primaryKey column="plugin_method" sequenceNumberInPK="2"/>
         <index name="plugin_methods_s_pk" unique="true">
            <column ascending="true" name="plugin_class"/>
            <column ascending="true" name="plugin_method"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="plugin_class"/>
            <column ascending="true" name="plugin_method"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="preservation_processing_attributes" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="processing_attribute_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="processing_attribute_id" foreignKey="preservation_processing_attributes_items_ibfk_1" implied="false" onDeleteCascade="true" table="preservation_processing_attributes_items"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="processing_id" nullable="false" remarks="link to the processing" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="processing_id" foreignKey="preservation_processing_attributes_ibfk_1" implied="false" onDeleteCascade="true" table="preservation_processings"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="name of the processing attribute" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="type" nullable="false" remarks="Type of the processing attribute" size="16" type="enum('authorised_value', 'free_text', 'db_column')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="option_source" nullable="true" remarks="source of the possible options for this attribute" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="processing_attribute_id" sequenceNumberInPK="1"/>
         <index name="preservation_processing_attributes_s_pk" unique="true">
            <column ascending="true" name="processing_attribute_id"/>
         </index>
         <index name="preservation_processing_attributes_ibfk_1" unique="false">
            <column ascending="true" name="processing_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="processing_attribute_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="preservation_processing_attributes_items" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="processing_attribute_item_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="processing_attribute_id" nullable="false" remarks="link with preservation_processing_attributes" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="processing_attribute_id" foreignKey="preservation_processing_attributes_items_ibfk_1" implied="false" onDeleteCascade="true" table="preservation_processing_attributes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="train_item_id" nullable="false" remarks="link with preservation_trains_items" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="train_item_id" foreignKey="preservation_processing_attributes_items_ibfk_2" implied="false" onDeleteCascade="true" table="preservation_trains_items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="value" nullable="true" remarks="value for this attribute" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="processing_attribute_item_id" sequenceNumberInPK="1"/>
         <index name="preservation_processing_attributes_items_s_pk" unique="true">
            <column ascending="true" name="processing_attribute_item_id"/>
         </index>
         <index name="preservation_processing_attributes_items_ibfk_1" unique="false">
            <column ascending="true" name="processing_attribute_id"/>
         </index>
         <index name="preservation_processing_attributes_items_ibfk_2" unique="false">
            <column ascending="true" name="train_item_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="processing_attribute_item_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="preservation_processings" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="processing_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="processing_id" foreignKey="preservation_processing_attributes_ibfk_1" implied="false" onDeleteCascade="true" table="preservation_processing_attributes"/>
            <child catalog="koha_25_11" column="default_processing_id" foreignKey="preservation_trains_ibfk_1" implied="false" onDeleteCascade="false" table="preservation_trains"/>
            <child catalog="koha_25_11" column="processing_id" foreignKey="preservation_item_ibfk_3" implied="false" onDeleteCascade="false" table="preservation_trains_items"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="name of the processing" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="letter_code" nullable="true" remarks="Foreign key to the letters table" size="20" type="VARCHAR" typeCode="12"/>
         <primaryKey column="processing_id" sequenceNumberInPK="1"/>
         <index name="preservation_processings_s_pk" unique="true">
            <column ascending="true" name="processing_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="processing_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="preservation_trains" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="train_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="train_id" foreignKey="preservation_item_ibfk_1" implied="false" onDeleteCascade="true" table="preservation_trains_items"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="name of the train" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="description of the train" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="default_processing_id" nullable="true" remarks="default processing, link to preservation_processings.processing_id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="processing_id" foreignKey="preservation_trains_ibfk_1" implied="false" onDeleteCascade="false" table="preservation_processings"/>
         </column>
         <column autoUpdated="false" defaultValue="'0'" digits="0" id="4" name="not_for_loan" nullable="false" remarks="NOT_LOAN authorised value to apply toitem added to this train" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="created_on" nullable="false" remarks="creation date" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="closed_on" nullable="true" remarks="closing date" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="sent_on" nullable="true" remarks="sending date" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="received_on" nullable="true" remarks="receiving date" size="19" type="DATETIME" typeCode="93"/>
         <primaryKey column="train_id" sequenceNumberInPK="1"/>
         <index name="preservation_trains_s_pk" unique="true">
            <column ascending="true" name="train_id"/>
         </index>
         <index name="preservation_trains_ibfk_1" unique="false">
            <column ascending="true" name="default_processing_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="train_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="preservation_trains_items" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="train_item_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="train_item_id" foreignKey="preservation_processing_attributes_items_ibfk_2" implied="false" onDeleteCascade="true" table="preservation_processing_attributes_items"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="train_id" nullable="false" remarks="link with preservation_train" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="train_id" foreignKey="preservation_item_ibfk_1" implied="false" onDeleteCascade="true" table="preservation_trains"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="item_id" nullable="false" remarks="link with items" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="preservation_item_ibfk_2" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="processing_id" nullable="true" remarks="specific processing for this item" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="processing_id" foreignKey="preservation_item_ibfk_3" implied="false" onDeleteCascade="false" table="preservation_processings"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="user_train_item_id" nullable="false" remarks="train item id for this train, starts from 1" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="added_on" nullable="true" remarks="added date" size="19" type="DATETIME" typeCode="93"/>
         <primaryKey column="train_item_id" sequenceNumberInPK="1"/>
         <index name="preservation_trains_items_s_pk" unique="true">
            <column ascending="true" name="train_item_id"/>
         </index>
         <index name="preservation_item_ibfk_2" unique="false">
            <column ascending="true" name="item_id"/>
         </index>
         <index name="preservation_item_ibfk_3" unique="false">
            <column ascending="true" name="processing_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="train_item_id"/>
         </index>
         <index name="train_id" unique="true">
            <column ascending="true" name="train_id"/>
            <column ascending="true" name="item_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="printers_profile" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="profile_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="'Default Printer'" digits="0" id="1" name="printer_name" nullable="false" remarks="" size="40" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="template_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="'Bypass'" digits="0" id="3" name="paper_bin" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="offset_horz" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="offset_vert" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="creep_horz" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="creep_vert" nullable="false" remarks="" size="12" type="FLOAT" typeCode="7"/>
         <column autoUpdated="false" defaultValue="'POINT'" digits="0" id="8" name="units" nullable="false" remarks="" size="20" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="'Labels'" digits="0" id="9" name="creator" nullable="false" remarks="" size="15" type="CHAR" typeCode="1"/>
         <primaryKey column="profile_id" sequenceNumberInPK="1"/>
         <index name="printers_profile_s_pk" unique="true">
            <column ascending="true" name="profile_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="profile_id"/>
         </index>
         <index name="printername" unique="true">
            <column ascending="true" name="printer_name"/>
            <column ascending="true" name="template_id"/>
            <column ascending="true" name="paper_bin"/>
            <column ascending="true" name="creator"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="problem_reports" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="reportid" nullable="false" remarks="unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="title" nullable="false" remarks="report subject line" size="40" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="content" nullable="false" remarks="report message content" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="borrowernumber" nullable="false" remarks="the user who created the problem report" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="problem_reports_ibfk1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="4" name="branchcode" nullable="false" remarks="borrower's branch" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="problem_reports_ibfk2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="username" nullable="true" remarks="OPAC username" size="75" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="problempage" nullable="true" remarks="page the user triggered the problem report form from" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="'library'" digits="0" id="7" name="recipient" nullable="false" remarks="the 'to-address' of the problem report" size="7" type="enum('admin', 'library')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="8" name="created_on" nullable="false" remarks="timestamp of report submission" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="'New'" digits="0" id="9" name="status" nullable="false" remarks="status of the report. New, Viewed, Closed" size="6" type="VARCHAR" typeCode="12"/>
         <primaryKey column="reportid" sequenceNumberInPK="1"/>
         <index name="problem_reports_s_pk" unique="true">
            <column ascending="true" name="reportid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="reportid"/>
         </index>
         <index name="problem_reports_ibfk1" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="problem_reports_ibfk2" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="pseudonymized_metadata_values" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="Row id field" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="transaction_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="pseudonymized_metadata_values_ibfk_1" implied="false" onDeleteCascade="true" table="pseudonymized_transactions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="tablename" nullable="false" remarks="Name of the related table" size="64" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="key" nullable="false" remarks="key for the metadata" size="64" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="value" nullable="true" remarks="value for the metadata" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="pseudonymized_metadata_values_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="pseudonymized_metadata_values_ibfk_1" unique="false">
            <column ascending="true" name="transaction_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="pseudonymized_transactions" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="transaction_id" foreignKey="pseudonymized_metadata_values_ibfk_1" implied="false" onDeleteCascade="true" table="pseudonymized_metadata_values"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="hashed_borrowernumber" nullable="false" remarks="" size="60" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="has_cardnumber" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="title" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="city" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="state" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="zipcode" nullable="true" remarks="" size="25" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="country" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="8" name="branchcode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="9" name="categorycode" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="categorycode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="categories"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="dateenrolled" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="sex" nullable="true" remarks="" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="sort1" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="sort2" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="datetime" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="transaction_branchcode" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="transaction_type" nullable="true" remarks="" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="itemnumber" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="itemtype" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="itemtype" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="itemtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="holdingbranch" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="homebranch" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="location" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="itemcallnumber" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="ccode" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="pseudonymized_transactions_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="pseudonymized_transactions_borrowers_ibfk_2" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="pseudonymized_transactions_borrowers_ibfk_3" unique="false">
            <column ascending="true" name="transaction_branchcode"/>
         </index>
         <index name="pseudonymized_transactions_ibfk_1" unique="false">
            <column ascending="true" name="categorycode"/>
         </index>
         <index name="pseudonymized_transactions_ibfk_5" unique="false">
            <column ascending="true" name="transaction_type"/>
         </index>
         <index name="pseudonymized_transactions_ibfk_6" unique="false">
            <column ascending="true" name="datetime"/>
         </index>
         <index name="pseudonymized_transactions_items_ibfk_4" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="quotes" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique id for the quote" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="source" nullable="true" remarks="source/credit for the quote" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="text" nullable="false" remarks="text of the quote" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="timestamp" nullable="true" remarks="date and time that the quote last appeared in the opac" size="19" type="DATETIME" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="quotes_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="ratings" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="borrowernumber" nullable="false" remarks="the borrowernumber of the patron who left this rating (borrowers.borrowernumber)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="ratings_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="biblionumber" nullable="false" remarks="the biblio this rating is for (biblio.biblionumber)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="ratings_ibfk_2" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="rating_value" nullable="false" remarks="the rating, from 1 to 5" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="3" name="timestamp" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="borrowernumber" sequenceNumberInPK="1"/>
         <primaryKey column="biblionumber" sequenceNumberInPK="2"/>
         <index name="ratings_s_pk" unique="true">
            <column ascending="true" name="borrowernumber"/>
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="borrowernumber"/>
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="ratings_ibfk_2" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="recalls" numRows="0" remarks="Information related to recalls in Koha" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="recall_id" nullable="false" remarks="Unique identifier for this recall" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="patron_id" nullable="false" remarks="Identifier for patron who requested recall" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="recalls_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="created_date" nullable="true" remarks="Date the recall was requested" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="biblio_id" nullable="false" remarks="Identifier for bibliographic record that has been recalled" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="recalls_ibfk_2" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="pickup_library_id" nullable="true" remarks="Identifier for recall pickup library" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="recalls_ibfk_4" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="completed_date" nullable="true" remarks="Date the recall is completed (fulfilled, cancelled or expired)" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="notes" nullable="true" remarks="Notes related to the recall" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="priority" nullable="true" remarks="Where in the queue the patron sits" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="'requested'" digits="0" id="8" name="status" nullable="true" remarks="Status of recall" size="10" type="enum('requested', 'overdue', 'waiting', 'in_transit', 'cancelled', 'expired', 'fulfilled')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="9" name="timestamp" nullable="false" remarks="Date and time the recall was last updated" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="item_id" nullable="true" remarks="Identifier for item record that was recalled, if an item-level recall" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="recalls_ibfk_3" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="waiting_date" nullable="true" remarks="Date an item was marked as waiting for the patron at the library" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="expiration_date" nullable="true" remarks="Date recall is no longer required, or date recall will expire after waiting on shelf for pickup" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="13" name="completed" nullable="false" remarks="Flag if recall is old and no longer active, i.e. expired, cancelled or completed" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="14" name="item_level" nullable="false" remarks="Flag if recall is for a specific item" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="recall_id" sequenceNumberInPK="1"/>
         <index name="recalls_s_pk" unique="true">
            <column ascending="true" name="recall_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="recall_id"/>
         </index>
         <index name="recalls_ibfk_1" unique="false">
            <column ascending="true" name="patron_id"/>
         </index>
         <index name="recalls_ibfk_2" unique="false">
            <column ascending="true" name="biblio_id"/>
         </index>
         <index name="recalls_ibfk_3" unique="false">
            <column ascending="true" name="item_id"/>
         </index>
         <index name="recalls_ibfk_4" unique="false">
            <column ascending="true" name="pickup_library_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="record_sources" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="record_source_id" nullable="false" remarks="Primary key for the `record_sources` table" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="record_source_id" foreignKey="record_metadata_fk_2" implied="false" onDeleteCascade="false" table="biblio_metadata"/>
            <child catalog="koha_25_11" column="record_source_id" foreignKey="deletedrecord_metadata_fk_2" implied="false" onDeleteCascade="true" table="deletedbiblio_metadata"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="User defined name for the record source" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="can_be_edited" nullable="false" remarks="If records from this source can be edited" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="is_system" nullable="false" remarks="If this record source is system-defined and cannot be deleted" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="record_source_id" sequenceNumberInPK="1"/>
         <index name="record_sources_s_pk" unique="true">
            <column ascending="true" name="record_source_id"/>
         </index>
         <index name="name" unique="true">
            <column ascending="true" name="name"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="record_source_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="repeatable_holidays" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="branchcode" nullable="false" remarks="foreign key from the branches table, defines which branch this closing is for" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="repeatable_holidays_ibfk_1" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="weekday" nullable="true" remarks="day of the week (0=Sunday, 1=Monday, etc) this closing is repeated on" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="day" nullable="true" remarks="day of the month this closing is on" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="month" nullable="true" remarks="month this closing is in" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="5" name="title" nullable="false" remarks="title of this closing" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="description" nullable="false" remarks="description for this closing" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="repeatable_holidays_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="repeatable_holidays_ibfk_1" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="reports_dictionary" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="name" nullable="true" remarks="name for this definition" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="description for this definition" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="date_created" nullable="true" remarks="date and time this definition was created" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="date_modified" nullable="true" remarks="date and time this definition was last modified" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="saved_sql" nullable="true" remarks="SQL snippet for us in reports" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="report_area" nullable="true" remarks="Koha module this definition is for Circulation, Catalog, Patrons, Acquistions, Accounts)" size="6" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="reports_dictionary_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="dictionary_area_idx" unique="false">
            <column ascending="true" name="report_area"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="reserves" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="reserve_id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="hold_id" foreignKey="clubs_holds_paton_holds_ibfk_3" implied="false" onDeleteCascade="true" table="club_holds_to_patron_holds"/>
            <child catalog="koha_25_11" column="reserve_id" foreignKey="hold_group_target_holds_ibfk_2" implied="false" onDeleteCascade="true" table="hold_groups_target_holds"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="borrowernumber" nullable="false" remarks="foreign key from the borrowers table defining which patron this hold is for" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="reserves_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="reservedate" nullable="true" remarks="the date the hold was placed" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="biblionumber" nullable="false" remarks="foreign key from the biblio table defining which bib record this hold is on" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="reserves_ibfk_2" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="deleted_biblionumber" nullable="true" remarks="links the hold to the deleted bibliographic record (deletedbiblio.biblionumber)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="item_group_id" nullable="true" remarks="foreign key from the item_groups table defining if this is an item group level hold" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="item_group_id" foreignKey="reserves_ibfk_ig" implied="false" onDeleteCascade="false" table="item_groups"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="branchcode" nullable="false" remarks="foreign key from the branches table defining which branch the patron wishes to pick this hold up at" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="reserves_ibfk_4" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="desk_id" nullable="true" remarks="foreign key from the desks table defining which desk the patron should pick this hold up at" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="desk_id" foreignKey="reserves_ibfk_6" implied="false" onDeleteCascade="false" table="desks"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="notificationdate" nullable="true" remarks="currently unused" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="reminderdate" nullable="true" remarks="currently unused" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="cancellationdate" nullable="true" remarks="the date this hold was cancelled" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="cancellation_reason" nullable="true" remarks="optional authorised value CANCELLATION_REASON" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="reservenotes" nullable="true" remarks="notes related to this hold" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="13" name="priority" nullable="false" remarks="where in the queue the patron sits" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="found" nullable="true" remarks="a one letter code defining what the status is of the hold is after it has been confirmed" size="1" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="15" name="timestamp" nullable="false" remarks="the date and time this hold was last updated" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="itemnumber" nullable="true" remarks="foreign key from the items table defining the specific item the patron has placed on hold or the item this hold was filled with" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="reserves_ibfk_3" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="waitingdate" nullable="true" remarks="the date the item was marked as waiting for the patron at the library" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="expirationdate" nullable="true" remarks="the date the hold expires (calculated value)" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="patron_expiration_date" nullable="true" remarks="the date the hold expires - usually the date entered by the patron to say they don't need the hold after a certain date" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="20" name="lowestPriority" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="21" name="suspend" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="suspend_until" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="itemtype" nullable="true" remarks="If record level hold, the optional itemtype of the item the patron is requesting" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="itemtype" foreignKey="reserves_ibfk_5" implied="false" onDeleteCascade="true" table="itemtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="24" name="item_level_hold" nullable="false" remarks="Is the hold placed at item level" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="25" name="non_priority" nullable="false" remarks="Is this a non priority hold" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="hold_group_id" nullable="true" remarks="The id of a group of titles reservations fulfilled when one title is picked" size="10" type="INT UNSIGNED" typeCode="4">
            <parent catalog="koha_25_11" column="hold_group_id" foreignKey="reserves_ibfk_hg" implied="false" onDeleteCascade="false" table="hold_groups"/>
         </column>
         <primaryKey column="reserve_id" sequenceNumberInPK="1"/>
         <index name="reserves_s_pk" unique="true">
            <column ascending="true" name="reserve_id"/>
         </index>
         <index name="biblionumber" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="borrowernumber" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="desk_id" unique="false">
            <column ascending="true" name="desk_id"/>
         </index>
         <index name="itemnumber" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="itemtype" unique="false">
            <column ascending="true" name="itemtype"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="reserve_id"/>
         </index>
         <index name="priorityfoundidx" unique="false">
            <column ascending="true" name="priority"/>
            <column ascending="true" name="found"/>
         </index>
         <index name="reserves_ibfk_hg" unique="false">
            <column ascending="true" name="hold_group_id"/>
         </index>
         <index name="reserves_ibfk_ig" unique="false">
            <column ascending="true" name="item_group_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="restriction_types" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="code" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="type" foreignKey="borrower_debarments_ibfk_2" implied="false" onDeleteCascade="false" table="borrower_debarments"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="display_text" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="is_system" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="is_default" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="lift_after_payment" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="5" name="fee_limit" nullable="true" remarks="" size="28" type="DECIMAL" typeCode="3"/>
         <primaryKey column="code" sequenceNumberInPK="1"/>
         <index name="restriction_types_s_pk" unique="true">
            <column ascending="true" name="code"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="code"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="return_claims" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="Unique ID of the return claim" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="itemnumber" nullable="false" remarks="ID of the item" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="rc_items_ibfk" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="issue_id" nullable="true" remarks="ID of the checkout that triggered the claim" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="borrowernumber" nullable="false" remarks="ID of the patron" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="rc_borrowers_ibfk" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="notes" nullable="true" remarks="Notes about the claim" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="created_on" nullable="true" remarks="Time and date the claim was created" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="created_by" nullable="true" remarks="ID of the staff member that registered the claim" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="rc_created_by_ibfk" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="updated_on" nullable="true" remarks="Time and date of the latest change on the claim (notes)" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="updated_by" nullable="true" remarks="ID of the staff member that updated the claim" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="rc_updated_by_ibfk" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="resolution" nullable="true" remarks="Resolution code (RETURN_CLAIM_RESOLUTION AVs)" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="resolved_on" nullable="true" remarks="Time and date the claim was resolved" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="resolved_by" nullable="true" remarks="ID of the staff member that resolved the claim" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="rc_resolved_by_ibfk" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="return_claims_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="item_issue" unique="true">
            <column ascending="true" name="itemnumber"/>
            <column ascending="true" name="issue_id"/>
         </index>
         <index name="itemnumber" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="rc_borrowers_ibfk" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="rc_created_by_ibfk" unique="false">
            <column ascending="true" name="created_by"/>
         </index>
         <index name="rc_resolved_by_ibfk" unique="false">
            <column ascending="true" name="resolved_by"/>
         </index>
         <index name="rc_updated_by_ibfk" unique="false">
            <column ascending="true" name="updated_by"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="reviews" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="reviewid" nullable="false" remarks="unique identifier for this comment" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="borrowernumber" nullable="true" remarks="foreign key from the borrowers table defining which patron left this comment" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="reviews_ibfk_1" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="biblionumber" nullable="true" remarks="foreign key from the biblio table defining which bibliographic record this comment is for" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="reviews_ibfk_2" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="review" nullable="true" remarks="the body of the comment" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="approved" nullable="true" remarks="whether this comment has been approved by a librarian (1 for yes, 0 for no)" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="datereviewed" nullable="true" remarks="the date the comment was left" size="19" type="DATETIME" typeCode="93"/>
         <primaryKey column="reviewid" sequenceNumberInPK="1"/>
         <index name="reviews_s_pk" unique="true">
            <column ascending="true" name="reviewid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="reviewid"/>
         </index>
         <index name="reviews_ibfk_1" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="reviews_ibfk_2" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="saved_reports" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="report_id" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="report" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="date_run" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="saved_reports_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="saved_sql" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique id and primary key assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="borrowernumber" nullable="true" remarks="the staff member who created this report (borrowers.borrowernumber)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="date_created" nullable="true" remarks="the date this report was created" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="last_modified" nullable="true" remarks="the date this report was last edited" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="savedsql" nullable="true" remarks="the SQL for this report" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="last_run" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="6" name="report_name" nullable="false" remarks="the name of this report" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="type" nullable="true" remarks="always 1 for tabular" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="notes" nullable="true" remarks="the notes or description given to this report" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="300" digits="0" id="9" name="cache_expiry" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="public" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="report_area" nullable="true" remarks="" size="6" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="report_group" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="report_subgroup" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="mana_id" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="saved_sql_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="boridx" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="sql_area_group_idx" unique="false">
            <column ascending="true" name="report_group"/>
            <column ascending="true" name="report_subgroup"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="search_field" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="search_field_id" foreignKey="search_marc_to_field_ibfk_2" implied="false" onDeleteCascade="true" table="search_marc_to_field"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="the name of the field as it will be stored in the search engine" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="label" nullable="false" remarks="the human readable name of the field, for display" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="type" nullable="false" remarks="what type of data this holds, relevant when storing it in the search engine" size="10" type="enum('', 'string', 'date', 'number', 'boolean', 'sum', 'isbn', 'stdno', 'year', 'callnumber', 'geo_point')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="2" id="4" name="weight" nullable="true" remarks="" size="5" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="facet_order" nullable="true" remarks="the order place of the field in facet list if faceted" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="6" name="staff_client" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="7" name="opac" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="mandatory" nullable="true" remarks="if marked this field is not editable or removable" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="authorised_value_category" nullable="true" remarks="link to authorised value category" size="32" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="search_field_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="name" unique="true">
            <column ascending="true" name="name"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="search_filters" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="search_filter_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="filter name" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="query" nullable="true" remarks="filter query part" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="limits" nullable="true" remarks="filter limits part" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="opac" nullable="false" remarks="whether this filter is shown on OPAC" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="staff_client" nullable="false" remarks="whether this filter is shown in staff client" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="search_filter_id" sequenceNumberInPK="1"/>
         <index name="search_filters_s_pk" unique="true">
            <column ascending="true" name="search_filter_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="search_filter_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="search_history" numRows="0" remarks="Opac search history results" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="search history id" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="userid" nullable="false" remarks="the patron who performed the search (borrowers.borrowernumber)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="sessionid" nullable="false" remarks="a system generated session id" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="query_desc" nullable="false" remarks="the search that was performed" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="query_cgi" nullable="false" remarks="the string to append to the search url to rerun the search" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="'biblio'" digits="0" id="5" name="type" nullable="false" remarks="search type, must be 'biblio' or 'authority'" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="total" nullable="false" remarks="the total of results found" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="7" name="time" nullable="false" remarks="the date and time the search was run" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="search_history_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="sessionid" unique="false">
            <column ascending="true" name="sessionid"/>
         </index>
         <index name="userid" unique="false">
            <column ascending="true" name="userid"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="search_marc_map" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="search_marc_map_id" foreignKey="search_marc_to_field_ibfk_1" implied="false" onDeleteCascade="true" table="search_marc_to_field"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="index_name" nullable="false" remarks="what storage index this map is for" size="11" type="enum('biblios', 'authorities')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="marc_type" nullable="false" remarks="what MARC type this map is for" size="7" type="enum('marc21', 'unimarc')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="marc_field" nullable="false" remarks="the MARC specifier for this field" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="search_marc_map_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="index_name" unique="true">
            <column ascending="true" name="index_name"/>
            <column ascending="true" name="marc_field"/>
            <column ascending="true" name="marc_type"/>
         </index>
         <index name="index_name_2" unique="false">
            <column ascending="true" name="index_name"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="search_marc_to_field" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="1" digits="0" id="0" name="search" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="1" name="filter" nullable="false" remarks="specify a filter to be applied to field" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="search_marc_map_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="search_marc_to_field_ibfk_1" implied="false" onDeleteCascade="true" table="search_marc_map"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="search_field_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="search_marc_to_field_ibfk_2" implied="false" onDeleteCascade="true" table="search_field"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="facet" nullable="true" remarks="true if a facet field should be generated for this" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="suggestible" nullable="true" remarks="true if this field can be used to generate suggestions for browse" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="6" name="sort" nullable="false" remarks="Sort defaults to 1 (Yes) and creates sort fields in the index, 0 (no) will prevent this" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="search_marc_map_id" sequenceNumberInPK="1"/>
         <primaryKey column="search_field_id" sequenceNumberInPK="2"/>
         <primaryKey column="filter" sequenceNumberInPK="3"/>
         <index name="search_marc_to_field_s_pk" unique="true">
            <column ascending="true" name="search_marc_map_id"/>
            <column ascending="true" name="search_field_id"/>
            <column ascending="true" name="filter"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="search_marc_map_id"/>
            <column ascending="true" name="search_field_id"/>
            <column ascending="true" name="filter"/>
         </index>
         <index name="search_field_id" unique="false">
            <column ascending="true" name="search_field_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="serial" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="serialid" nullable="false" remarks="unique key for the issue" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="serialid" foreignKey="serialitems_sfk_1" implied="false" onDeleteCascade="true" table="serialitems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="biblionumber" nullable="false" remarks="foreign key for the biblio.biblionumber that this issue is attached to" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="serial_ibfk_1" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="subscriptionid" nullable="false" remarks="foreign key to the subscription.subscriptionid that this issue is part of" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="subscriptionid" foreignKey="serial_ibfk_2" implied="false" onDeleteCascade="true" table="subscription"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="3" name="serialseq" nullable="false" remarks="issue information (volume, number, etc)" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="serialseq_x" nullable="true" remarks="first part of issue information" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="serialseq_y" nullable="true" remarks="second part of issue information" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="serialseq_z" nullable="true" remarks="third part of issue information" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="status" nullable="false" remarks="status code for this issue (see manual for full descriptions)" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="planneddate" nullable="true" remarks="date expected" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="notes" nullable="true" remarks="notes" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="publisheddate" nullable="true" remarks="date published" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="publisheddatetext" nullable="true" remarks="date published (descriptive)" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="claimdate" nullable="true" remarks="date claimed" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="13" name="claims_count" nullable="true" remarks="number of claims made related to this issue" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="routingnotes" nullable="true" remarks="notes from the routing list" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="serialid" sequenceNumberInPK="1"/>
         <index name="serial_s_pk" unique="true">
            <column ascending="true" name="serialid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="serialid"/>
         </index>
         <index name="serial_ibfk_1" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="serial_ibfk_2" unique="false">
            <column ascending="true" name="subscriptionid"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="serialitems" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="itemnumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="serialitems_sfk_2" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="serialid" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="serialid" foreignKey="serialitems_sfk_1" implied="false" onDeleteCascade="true" table="serial"/>
         </column>
         <primaryKey column="itemnumber" sequenceNumberInPK="1"/>
         <index name="serialitems_s_pk" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="serialitems_sfk_1" unique="false">
            <column ascending="true" name="serialid"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="sessions" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="a_session" nullable="false" remarks="" size="2147483647" type="LONGBLOB" typeCode="-4"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="sessions_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="sip_account_custom_item_fields" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="sip_account_custom_item_field_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sip_account_id" nullable="false" remarks="Foreign key to sip_accounts.sip_account_id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_custom_item_fields_ibfk_1" implied="false" onDeleteCascade="true" table="sip_accounts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="field" nullable="false" remarks="SIP field name e.g. XY" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="template" nullable="false" remarks="Template toolkit template" size="65535" type="TEXT" typeCode="-1"/>
         <primaryKey column="sip_account_custom_item_field_id" sequenceNumberInPK="1"/>
         <index name="sip_account_custom_item_fields_s_pk" unique="true">
            <column ascending="true" name="sip_account_custom_item_field_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="sip_account_custom_item_field_id"/>
         </index>
         <index name="sip_account" unique="true">
            <column ascending="true" name="sip_account_custom_item_field_id"/>
            <column ascending="true" name="sip_account_id"/>
         </index>
         <index name="sip_account_custom_item_fields_ibfk_1" unique="false">
            <column ascending="true" name="sip_account_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="sip_account_custom_patron_fields" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="sip_account_custom_patron_field_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sip_account_id" nullable="false" remarks="Foreign key to sip_accounts.sip_account_id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_custom_patron_fields_ibfk_1" implied="false" onDeleteCascade="true" table="sip_accounts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="field" nullable="false" remarks="SIP field name e.g. XY" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="template" nullable="false" remarks="Template toolkit template" size="65535" type="TEXT" typeCode="-1"/>
         <primaryKey column="sip_account_custom_patron_field_id" sequenceNumberInPK="1"/>
         <index name="sip_account_custom_patron_fields_s_pk" unique="true">
            <column ascending="true" name="sip_account_custom_patron_field_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="sip_account_custom_patron_field_id"/>
         </index>
         <index name="sip_account" unique="true">
            <column ascending="true" name="sip_account_custom_patron_field_id"/>
            <column ascending="true" name="sip_account_id"/>
         </index>
         <index name="sip_account_custom_patron_fields_ibfk_1" unique="false">
            <column ascending="true" name="sip_account_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="sip_account_item_fields" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="sip_account_item_field_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sip_account_id" nullable="false" remarks="Foreign key to sip_accounts.sip_account_id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_item_fields_ibfk_1" implied="false" onDeleteCascade="true" table="sip_accounts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="field" nullable="false" remarks="SIP field name e.g. XY" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="code" nullable="false" remarks="Item field e.g. &quot;permanent_location&quot;" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="sip_account_item_field_id" sequenceNumberInPK="1"/>
         <index name="sip_account_item_fields_s_pk" unique="true">
            <column ascending="true" name="sip_account_item_field_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="sip_account_item_field_id"/>
         </index>
         <index name="sip_account" unique="true">
            <column ascending="true" name="sip_account_item_field_id"/>
            <column ascending="true" name="sip_account_id"/>
         </index>
         <index name="sip_account_item_fields_ibfk_1" unique="false">
            <column ascending="true" name="sip_account_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="sip_account_patron_attributes" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="sip_account_patron_attribute_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sip_account_id" nullable="false" remarks="Foreign key to sip_accounts.sip_account_id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_patron_attributes_ibfk_1" implied="false" onDeleteCascade="true" table="sip_accounts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="field" nullable="false" remarks="SIP field name e.g. XY" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="code" nullable="false" remarks="Patron attribute code as in borrower_attribute_types.code" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="sip_account_patron_attribute_id" sequenceNumberInPK="1"/>
         <index name="sip_account_patron_attributes_s_pk" unique="true">
            <column ascending="true" name="sip_account_patron_attribute_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="sip_account_patron_attribute_id"/>
         </index>
         <index name="sip_account" unique="true">
            <column ascending="true" name="sip_account_patron_attribute_id"/>
            <column ascending="true" name="sip_account_id"/>
         </index>
         <index name="sip_account_patron_attributes_ibfk_1" unique="false">
            <column ascending="true" name="sip_account_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="sip_account_screen_msg_regexs" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="sip_account_screen_msg_regex_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sip_account_id" nullable="false" remarks="Foreign key to sip_accounts.sip_account_id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_sip_account_screen_msg_regexs_ibfk_1" implied="false" onDeleteCascade="true" table="sip_accounts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="find" nullable="false" remarks="Regex find" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="replace" nullable="false" remarks="Regex replace" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="sip_account_screen_msg_regex_id" sequenceNumberInPK="1"/>
         <index name="sip_account_screen_msg_regexs_s_pk" unique="true">
            <column ascending="true" name="sip_account_screen_msg_regex_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="sip_account_screen_msg_regex_id"/>
         </index>
         <index name="sip_account" unique="true">
            <column ascending="true" name="sip_account_screen_msg_regex_id"/>
            <column ascending="true" name="sip_account_id"/>
         </index>
         <index name="sip_account_sip_account_screen_msg_regexs_ibfk_1" unique="false">
            <column ascending="true" name="sip_account_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="sip_account_sort_bin_mappings" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="sip_account_sort_bin_mapping_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sip_account_id" nullable="false" remarks="Foreign key to sip_accounts.sip_account_id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_sort_bin_mappings_ibfk_1" implied="false" onDeleteCascade="true" table="sip_accounts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="mapping" nullable="false" remarks="The mapping definition" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="sip_account_sort_bin_mapping_id" sequenceNumberInPK="1"/>
         <index name="sip_account_sort_bin_mappings_s_pk" unique="true">
            <column ascending="true" name="sip_account_sort_bin_mapping_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="sip_account_sort_bin_mapping_id"/>
         </index>
         <index name="sip_account" unique="true">
            <column ascending="true" name="sip_account_sort_bin_mapping_id"/>
            <column ascending="true" name="sip_account_id"/>
         </index>
         <index name="sip_account_sort_bin_mappings_ibfk_1" unique="false">
            <column ascending="true" name="sip_account_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="sip_account_system_preference_overrides" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="sip_account_system_preference_override_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sip_account_id" nullable="false" remarks="Foreign key to sip_accounts.sip_account_id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_system_preference_overrides_ibfk_1" implied="false" onDeleteCascade="true" table="sip_accounts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="variable" nullable="false" remarks="System preference name" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="value" nullable="false" remarks="System preference value" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="sip_account_system_preference_override_id" sequenceNumberInPK="1"/>
         <index name="sip_account_system_preference_overrides_s_pk" unique="true">
            <column ascending="true" name="sip_account_system_preference_override_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="sip_account_system_preference_override_id"/>
         </index>
         <index name="sip_account" unique="true">
            <column ascending="true" name="sip_account_system_preference_override_id"/>
            <column ascending="true" name="sip_account_id"/>
         </index>
         <index name="sip_account_system_preference_overrides_ibfk_1" unique="false">
            <column ascending="true" name="sip_account_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="sip_accounts" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="sip_account_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_custom_item_fields_ibfk_1" implied="false" onDeleteCascade="true" table="sip_account_custom_item_fields"/>
            <child catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_custom_patron_fields_ibfk_1" implied="false" onDeleteCascade="true" table="sip_account_custom_patron_fields"/>
            <child catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_item_fields_ibfk_1" implied="false" onDeleteCascade="true" table="sip_account_item_fields"/>
            <child catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_patron_attributes_ibfk_1" implied="false" onDeleteCascade="true" table="sip_account_patron_attributes"/>
            <child catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_sip_account_screen_msg_regexs_ibfk_1" implied="false" onDeleteCascade="true" table="sip_account_screen_msg_regexs"/>
            <child catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_sort_bin_mappings_ibfk_1" implied="false" onDeleteCascade="true" table="sip_account_sort_bin_mappings"/>
            <child catalog="koha_25_11" column="sip_account_id" foreignKey="sip_account_system_preference_overrides_ibfk_1" implied="false" onDeleteCascade="true" table="sip_account_system_preference_overrides"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="sip_institution_id" nullable="false" remarks="Foreign key to sip_institutions.sip_institution_id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="sip_institution_id" foreignKey="sip_accounts_ibfk_1" implied="false" onDeleteCascade="true" table="sip_institutions"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="ae_field_template" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="allow_additional_materials_checkout" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="allow_empty_passwords" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="allow_fields" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="av_field_template" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="blocked_item_types" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="checked_in_ok" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="convert_nonprinting_characters" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="cr_item_field" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="ct_always_send" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="cv_send_00_on_success" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="cv_triggers_alert" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="da_field_template" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="'|'" digits="0" id="15" name="delimiter" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="disallow_overpayment" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="encoding" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="error_detect" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="format_due_date" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="hide_fields" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="holds_block_checkin" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="holds_get_captured" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="inhouse_item_types" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="inhouse_patron_categories" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="25" name="login_id" nullable="false" remarks="Staff userid for SIP2 authentication" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="lost_block_checkout" nullable="true" remarks="actual tinyint, not boolean" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="lost_block_checkout_value" nullable="true" remarks="actual tinyint, not boolean" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="lost_status_for_missing" nullable="true" remarks="actual tinyint, not boolean" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="overdues_block_checkout" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="30" name="payment_type_writeoff" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="31" name="prevcheckout_block_checkout" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="32" name="register_id" nullable="true" remarks="Foreign key to cash_registers.id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="sip_accounts_ibfk_2" implied="false" onDeleteCascade="false" table="cash_registers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="33" name="seen_on_item_information" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="34" name="send_patron_home_library_in_af" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="35" name="show_checkin_message" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="36" name="show_outstanding_amount" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="'CRLF'" digits="0" id="37" name="terminator" nullable="false" remarks="" size="4" type="enum('CR', 'CRLF')" typeCode="12"/>
         <primaryKey column="sip_account_id" sequenceNumberInPK="1"/>
         <index name="sip_accounts_s_pk" unique="true">
            <column ascending="true" name="sip_account_id"/>
         </index>
         <index name="account_login_id" unique="true">
            <column ascending="true" name="login_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="sip_account_id"/>
         </index>
         <index name="sip_accounts_ibfk_1" unique="false">
            <column ascending="true" name="sip_institution_id"/>
         </index>
         <index name="sip_accounts_ibfk_2" unique="false">
            <column ascending="true" name="register_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="sip_institutions" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="sip_institution_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="sip_institution_id" foreignKey="sip_accounts_ibfk_1" implied="false" onDeleteCascade="true" table="sip_accounts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="Unique varchar identifier. Previously &quot;id&quot; in SIPconfig.xml" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'ILS'" digits="0" id="2" name="implementation" nullable="false" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="3" name="checkin" nullable="false" remarks="Previously attribute of &quot;policy&quot; in SIPconfig.xml" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="4" name="checkout" nullable="false" remarks="Previously attribute of &quot;policy&quot; in SIPconfig.xml" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="offline" nullable="true" remarks="Previously attribute of &quot;policy&quot; in SIPconfig.xml" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="renewal" nullable="false" remarks="Previously attribute of &quot;policy&quot; in SIPconfig.xml" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="5" digits="0" id="7" name="retries" nullable="false" remarks="Previously attribute of &quot;policy&quot; in SIPconfig.xml" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="status_update" nullable="true" remarks="Previously attribute of &quot;policy&quot; in SIPconfig.xml" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="100" digits="0" id="9" name="timeout" nullable="false" remarks="Previously attribute of &quot;policy&quot; in SIPconfig.xml" size="10" type="INT" typeCode="4"/>
         <primaryKey column="sip_institution_id" sequenceNumberInPK="1"/>
         <index name="sip_institutions_s_pk" unique="true">
            <column ascending="true" name="sip_institution_id"/>
         </index>
         <index name="institution_name" unique="true">
            <column ascending="true" name="name"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="sip_institution_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="sip_system_preference_overrides" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="sip_system_preference_override_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="variable" nullable="false" remarks="System preference name" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="value" nullable="false" remarks="System preference value" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="sip_system_preference_override_id" sequenceNumberInPK="1"/>
         <index name="sip_system_preference_overrides_s_pk" unique="true">
            <column ascending="true" name="sip_system_preference_override_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="sip_system_preference_override_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="sms_providers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="sms_provider_id" foreignKey="borrowers_ibfk_3" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="items_search_fields"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="domain" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="sms_providers_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="name" unique="true">
            <column ascending="true" name="name"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="smtp_servers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="smtp_server_id" foreignKey="library_smtp_servers_smtp_servers_fk" implied="false" onDeleteCascade="true" table="library_smtp_servers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'localhost'" digits="0" id="2" name="host" nullable="false" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="25" digits="0" id="3" name="port" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="120" digits="0" id="4" name="timeout" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="ssl_mode" nullable="false" remarks="" size="8" type="enum('disabled', 'ssl', 'starttls')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="user_name" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="password" nullable="true" remarks="" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="8" name="debug" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="9" name="is_default" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="smtp_servers_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="host_idx" unique="false">
            <column ascending="true" name="host"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="social_data" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="isbn" nullable="false" remarks="" size="30" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="isbn" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="suggestions"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="num_critics" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="num_critics_pro" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="num_quotations" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="num_videos" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="2" id="5" name="score_avg" nullable="true" remarks="" size="5" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="num_scores" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="isbn" sequenceNumberInPK="1"/>
         <index name="social_data_s_pk" unique="true">
            <column ascending="true" name="isbn"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="isbn"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="special_holidays" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="branchcode" nullable="false" remarks="foreign key from the branches table, defines which branch this closing is for" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="special_holidays_ibfk_1" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="day" nullable="false" remarks="day of the month this closing is on" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="month" nullable="false" remarks="month this closing is in" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="year" nullable="false" remarks="year this closing is in" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="5" name="isexception" nullable="false" remarks="is this a holiday exception to a repeatable holiday (1 for yes, 0 for no)" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="6" name="title" nullable="false" remarks="title for this closing" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="description" nullable="false" remarks="description of this closing" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="special_holidays_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="special_holidays_ibfk_1" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="statistics" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="0" name="datetime" nullable="true" remarks="date and time of the transaction" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="branch" nullable="true" remarks="foreign key, branch where the transaction occurred" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="4" id="2" name="value" nullable="true" remarks="monetary value associated with the transaction" size="16" type="DOUBLE" typeCode="8"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="type" nullable="true" remarks="transaction type (localuse, issue, return, renew, writeoff, payment)" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="other" nullable="true" remarks="used by SIP" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="illrequest_id" nullable="true" remarks="foreign key from the illrequests table, links transaction to a specific illrequest" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="itemnumber" nullable="true" remarks="foreign key from the items table, links transaction to a specific item" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="itemtype" nullable="true" remarks="foreign key from the itemtypes table, links transaction to a specific item type" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="itemtype" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="itemtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="location" nullable="true" remarks="authorized value for the shelving location for this item (MARC21 952$c)" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="borrowernumber" nullable="true" remarks="foreign key from the borrowers table, links transaction to a specific borrower" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="ccode" nullable="true" remarks="foreign key from the items table, links transaction to a specific collection code" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="categorycode" nullable="true" remarks="foreign key from the borrowers table, links transaction to a specific borrower category" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="categorycode" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="categories"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="interface" nullable="true" remarks="the context this action was taken in" size="30" type="VARCHAR" typeCode="12"/>
         <index name="borrowernumber_idx" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="branch_idx" unique="false">
            <column ascending="true" name="branch"/>
         </index>
         <index name="ccode_idx" unique="false">
            <column ascending="true" name="ccode"/>
         </index>
         <index name="illrequest_idx" unique="false">
            <column ascending="true" name="illrequest_id"/>
         </index>
         <index name="itemnumber_idx" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="itemtype_idx" unique="false">
            <column ascending="true" name="itemtype"/>
         </index>
         <index name="timeidx" unique="false">
            <column ascending="true" name="datetime"/>
         </index>
         <index name="type_idx" unique="false">
            <column ascending="true" name="type"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="stockrotationitems" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="itemnumber_id" nullable="false" remarks="Itemnumber to link to a stage &amp; rota" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="stockrotationitems_iifk" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="stage_id" nullable="false" remarks="stage ID to link the item to" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="stage_id" foreignKey="stockrotationitems_sifk" implied="false" onDeleteCascade="true" table="stockrotationstages"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="indemand" nullable="false" remarks="Should this item be skipped for rotation?" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="fresh" nullable="false" remarks="Flag showing item is only just added to rota" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="itemnumber_id" sequenceNumberInPK="1"/>
         <index name="stockrotationitems_s_pk" unique="true">
            <column ascending="true" name="itemnumber_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="itemnumber_id"/>
         </index>
         <index name="stockrotationitems_sifk" unique="false">
            <column ascending="true" name="stage_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="stockrotationrotas" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="rota_id" nullable="false" remarks="Stockrotation rota ID" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="rota_id" foreignKey="stockrotationstages_rifk" implied="false" onDeleteCascade="true" table="stockrotationstages"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="title" nullable="false" remarks="Title for this rota" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="description" nullable="false" remarks="Description for this rota" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="cyclical" nullable="false" remarks="Should items on this rota keep cycling?" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="active" nullable="false" remarks="Is this rota currently active?" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="rota_id" sequenceNumberInPK="1"/>
         <index name="stockrotationrotas_s_pk" unique="true">
            <column ascending="true" name="rota_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="rota_id"/>
         </index>
         <index name="stockrotationrotas_title" unique="true">
            <column ascending="true" name="title"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="stockrotationstages" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="stage_id" nullable="false" remarks="Unique stage ID" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="stage_id" foreignKey="stockrotationitems_sifk" implied="false" onDeleteCascade="true" table="stockrotationitems"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="position" nullable="false" remarks="The position of this stage within its rota" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="rota_id" nullable="false" remarks="The rota this stage belongs to" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="rota_id" foreignKey="stockrotationstages_rifk" implied="false" onDeleteCascade="true" table="stockrotationrotas"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="branchcode_id" nullable="false" remarks="Branch this stage relates to" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="stockrotationstages_bifk" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="4" digits="0" id="4" name="duration" nullable="false" remarks="The number of days items should occupy this stage" size="10" type="INT" typeCode="4"/>
         <primaryKey column="stage_id" sequenceNumberInPK="1"/>
         <index name="stockrotationstages_s_pk" unique="true">
            <column ascending="true" name="stage_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="stage_id"/>
         </index>
         <index name="stockrotationstages_bifk" unique="false">
            <column ascending="true" name="branchcode_id"/>
         </index>
         <index name="stockrotationstages_rifk" unique="false">
            <column ascending="true" name="rota_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="subscription" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="biblionumber" nullable="false" remarks="foreign key for biblio.biblionumber that this subscription is attached to" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="subscription_ibfk_3" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="true" defaultValue="null" digits="0" id="1" name="subscriptionid" nullable="false" remarks="unique key for this subscription" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="subscriptionid" foreignKey="aqorders_subscriptionid" implied="false" onDeleteCascade="false" table="aqorders"/>
            <child catalog="koha_25_11" column="subscriptionid" foreignKey="serial_ibfk_2" implied="false" onDeleteCascade="true" table="serial"/>
            <child catalog="koha_25_11" column="subscriptionid" foreignKey="subscription_history_ibfk_2" implied="false" onDeleteCascade="true" table="subscriptionhistory"/>
            <child catalog="koha_25_11" column="subscriptionid" foreignKey="subscriptionroutinglist_ibfk_2" implied="false" onDeleteCascade="true" table="subscriptionroutinglist"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="librarian" nullable="true" remarks="the librarian's username from borrowers.userid" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="startdate" nullable="true" remarks="start date for this subscription" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="aqbooksellerid" nullable="true" remarks="foreign key for aqbooksellers.id to link to the vendor" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="subscription_ibfk_4" implied="false" onDeleteCascade="false" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="cost" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="aqbudgetid" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="weeklength" nullable="true" remarks="subscription length in weeks (will not be filled in if monthlength or numberlength is set)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="8" name="monthlength" nullable="true" remarks="subscription length in weeks (will not be filled in if weeklength or numberlength is set)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="9" name="numberlength" nullable="true" remarks="subscription length in weeks (will not be filled in if monthlength or weeklength is set)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="periodicity" nullable="true" remarks="frequency type links to subscription_frequencies.id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="subscription_ibfk_1" implied="false" onDeleteCascade="false" table="subscription_frequencies"/>
         </column>
         <column autoUpdated="false" defaultValue="1" digits="0" id="11" name="countissuesperunit" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="notes" nullable="true" remarks="notes" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="13" name="status" nullable="false" remarks="status of this subscription" size="100" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="lastvalue1" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="15" name="innerloop1" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="lastvalue2" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="17" name="innerloop2" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="lastvalue3" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="19" name="innerloop3" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="firstacquidate" nullable="true" remarks="first issue received date" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="21" name="manualhistory" nullable="false" remarks="yes or no to managing the history manually" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="irregularity" nullable="true" remarks="any irregularities in the subscription" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="23" name="skip_serialseq" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="letter" nullable="true" remarks="" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="numberpattern" nullable="true" remarks="the numbering pattern used links to subscription_numberpatterns.id" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="subscription_ibfk_2" implied="false" onDeleteCascade="false" table="subscription_numberpatterns"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="locale" nullable="true" remarks="for foreign language subscriptions to display months, seasons, etc correctly" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="distributedto" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="internalnotes" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="callnumber" nullable="true" remarks="default call number" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="30" name="location" nullable="true" remarks="default shelving location (items.location)" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="31" name="branchcode" nullable="false" remarks="default branches (items.homebranch)" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="32" name="lastbranch" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="33" name="serialsadditems" nullable="false" remarks="does receiving this serial create an item record" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="34" name="staffdisplaycount" nullable="true" remarks="how many issues to show to the staff" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="35" name="opacdisplaycount" nullable="true" remarks="how many issues to show to the public" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="36" name="graceperiod" nullable="false" remarks="grace period in days" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="37" name="enddate" nullable="true" remarks="subscription end date" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="38" name="closed" nullable="false" remarks="yes / no if the subscription is closed" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="39" name="reneweddate" nullable="true" remarks="date of last renewal for the subscription" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="40" name="itemtype" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="itemtype" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="itemtypes"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="41" name="previousitemtype" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="42" name="mana_id" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="43" name="ccode" nullable="true" remarks="collection code to assign to serial items" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="44" name="published_on_template" nullable="true" remarks="Template Toolkit syntax to generate the default &quot;Published on (text)&quot; field when receiving an issue this serial" size="65535" type="TEXT" typeCode="-1"/>
         <primaryKey column="subscriptionid" sequenceNumberInPK="1"/>
         <index name="subscription_s_pk" unique="true">
            <column ascending="true" name="subscriptionid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="subscriptionid"/>
         </index>
         <index name="subscription_ibfk_1" unique="false">
            <column ascending="true" name="periodicity"/>
         </index>
         <index name="subscription_ibfk_2" unique="false">
            <column ascending="true" name="numberpattern"/>
         </index>
         <index name="subscription_ibfk_3" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="subscription_ibfk_4" unique="false">
            <column ascending="true" name="aqbooksellerid"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="subscription_frequencies" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="periodicity" foreignKey="subscription_ibfk_1" implied="false" onDeleteCascade="false" table="subscription"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="description" nullable="false" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="displayorder" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="unit" nullable="true" remarks="" size="5" type="enum('day', 'week', 'month', 'year')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="4" name="unitsperissue" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="5" name="issuesperunit" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="subscription_frequencies_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="subscription_numberpatterns" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="numberpattern" foreignKey="subscription_ibfk_2" implied="false" onDeleteCascade="false" table="subscription"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="label" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="displayorder" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="numberingmethod" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="label1" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="add1" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="every1" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="whenmorethan1" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="setto1" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="numbering1" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="label2" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="add2" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="every2" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="whenmorethan2" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="setto2" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="numbering2" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="label3" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="add3" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="every3" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="whenmorethan3" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="setto3" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="numbering3" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="subscription_numberpatterns_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="subscriptionhistory" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="biblionumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="subscription_history_ibfk_1" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="subscriptionid" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="subscriptionid" foreignKey="subscription_history_ibfk_2" implied="false" onDeleteCascade="true" table="subscription"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="histstartdate" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="histenddate" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="missinglist" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recievedlist" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="opacnote" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="librariannote" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <primaryKey column="subscriptionid" sequenceNumberInPK="1"/>
         <index name="subscriptionhistory_s_pk" unique="true">
            <column ascending="true" name="subscriptionid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="subscriptionid"/>
         </index>
         <index name="subscription_history_ibfk_1" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="subscriptionroutinglist" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="routingid" nullable="false" remarks="unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="borrowernumber" nullable="false" remarks="foreign key from the borrowers table, defines with patron is on the routing list" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="subscriptionroutinglist_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="ranking" nullable="true" remarks="where the patron stands in line to receive the serial" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="subscriptionid" nullable="false" remarks="foreign key from the subscription table, defines which subscription this routing list is for" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="subscriptionid" foreignKey="subscriptionroutinglist_ibfk_2" implied="false" onDeleteCascade="true" table="subscription"/>
         </column>
         <primaryKey column="routingid" sequenceNumberInPK="1"/>
         <index name="subscriptionroutinglist_s_pk" unique="true">
            <column ascending="true" name="routingid"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="routingid"/>
         </index>
         <index name="subscriptionid" unique="true">
            <column ascending="true" name="subscriptionid"/>
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="subscriptionroutinglist_ibfk_1" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="suggestions" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="suggestionid" nullable="false" remarks="unique identifier assigned automatically by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="suggestedby" nullable="true" remarks="borrowernumber for the person making the suggestion, foreign key linking to the borrowers table" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="suggestions_ibfk_suggestedby" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="suggesteddate" nullable="false" remarks="date the suggestion was submitted" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="managedby" nullable="true" remarks="borrowernumber for the librarian managing the suggestion, foreign key linking to the borrowers table" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="suggestions_ibfk_managedby" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="manageddate" nullable="true" remarks="date the suggestion was updated" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="acceptedby" nullable="true" remarks="borrowernumber for the librarian who accepted the suggestion, foreign key linking to the borrowers table" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="suggestions_ibfk_acceptedby" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="accepteddate" nullable="true" remarks="date the suggestion was marked as accepted" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="rejectedby" nullable="true" remarks="borrowernumber for the librarian who rejected the suggestion, foreign key linking to the borrowers table" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="suggestions_ibfk_rejectedby" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="rejecteddate" nullable="true" remarks="date the suggestion was marked as rejected" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="lastmodificationby" nullable="true" remarks="borrowernumber for the librarian who edit the suggestion for the last time" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="suggestions_ibfk_lastmodificationby" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="lastmodificationdate" nullable="true" remarks="date of the last modification" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="11" name="STATUS" nullable="false" remarks="suggestion status (ASKED, CHECKED, ACCEPTED, REJECTED, ORDERED, AVAILABLE or a value from the SUGGEST_STATUS authorised value category)" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="12" name="archived" nullable="false" remarks="is the suggestion archived?" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="note" nullable="true" remarks="note entered on the suggestion" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="staff_note" nullable="true" remarks="non-public note entered on the suggestion" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="author" nullable="true" remarks="author of the suggested item" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="title" nullable="true" remarks="title of the suggested item" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="copyrightdate" nullable="true" remarks="copyright date of the suggested item" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="publishercode" nullable="true" remarks="publisher of the suggested item" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="19" name="date" nullable="false" remarks="date and time the suggestion was updated" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="volumedesc" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="21" name="publicationyear" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="place" nullable="true" remarks="publication place of the suggested item" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="isbn" nullable="true" remarks="isbn of the suggested item" size="30" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="isbn" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="social_data"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="biblionumber" nullable="true" remarks="foreign key linking the suggestion to the biblio table after the suggestion has been ordered" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="suggestions_ibfk_biblionumber" implied="false" onDeleteCascade="false" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="reason" nullable="true" remarks="reason for accepting or rejecting the suggestion" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="patronreason" nullable="true" remarks="reason for making the suggestion" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="budgetid" nullable="true" remarks="foreign key linking the suggested budget to the aqbudgets table" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="budget_id" foreignKey="suggestions_budget_id_fk" implied="false" onDeleteCascade="false" table="aqbudgets"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="branchcode" nullable="true" remarks="foreign key linking the suggested branch to the branches table" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="suggestions_ibfk_branchcode" implied="false" onDeleteCascade="false" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="collectiontitle" nullable="true" remarks="collection name for the suggested item" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="30" name="itemtype" nullable="true" remarks="suggested item type" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="31" name="quantity" nullable="true" remarks="suggested quantity to be purchased" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="32" name="currency" nullable="true" remarks="suggested currency for the suggested price" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="currency" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="currency"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="33" name="price" nullable="true" remarks="suggested price" size="28" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="NULL" digits="6" id="34" name="total" nullable="true" remarks="suggested total cost (price*quantity updated for currency)" size="28" type="DECIMAL" typeCode="3"/>
         <primaryKey column="suggestionid" sequenceNumberInPK="1"/>
         <index name="suggestions_s_pk" unique="true">
            <column ascending="true" name="suggestionid"/>
         </index>
         <index name="acceptedby" unique="false">
            <column ascending="true" name="acceptedby"/>
         </index>
         <index name="biblionumber" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="branchcode" unique="false">
            <column ascending="true" name="branchcode"/>
         </index>
         <index name="budgetid" unique="false">
            <column ascending="true" name="budgetid"/>
         </index>
         <index name="managedby" unique="false">
            <column ascending="true" name="managedby"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="suggestionid"/>
         </index>
         <index name="rejectedby" unique="false">
            <column ascending="true" name="rejectedby"/>
         </index>
         <index name="status" unique="false">
            <column ascending="true" name="STATUS"/>
         </index>
         <index name="suggestedby" unique="false">
            <column ascending="true" name="suggestedby"/>
         </index>
         <index name="suggestions_ibfk_lastmodificationby" unique="false">
            <column ascending="true" name="lastmodificationby"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="systempreferences" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="variable" nullable="false" remarks="system preference name" size="50" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="value" nullable="false" remarks="system preference values" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="options" nullable="true" remarks="options for multiple choice system preferences" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="explanation" nullable="true" remarks="descriptive text for the system preference" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="type" nullable="true" remarks="type of question this preference asks (multiple choice, plain text, yes or no, etc)" size="20" type="VARCHAR" typeCode="12"/>
         <primaryKey column="variable" sequenceNumberInPK="1"/>
         <index name="systempreferences_s_pk" unique="true">
            <column ascending="true" name="variable"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="variable"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="tables_settings" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="module" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="page" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="tablename" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="default_display_length" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="default_sort_order" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="5" name="default_save_state" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="default_save_state_search" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="module" sequenceNumberInPK="1"/>
         <primaryKey column="page" sequenceNumberInPK="2"/>
         <primaryKey column="tablename" sequenceNumberInPK="3"/>
         <index name="tables_settings_s_pk" unique="true">
            <column ascending="true" name="module"/>
            <column ascending="true" name="page"/>
            <column ascending="true" name="tablename"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="module"/>
            <column ascending="true" name="page"/>
            <column ascending="true" name="tablename"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="tags" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="''" digits="0" id="0" name="entry" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="weight" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
         <primaryKey column="entry" sequenceNumberInPK="1"/>
         <index name="tags_s_pk" unique="true">
            <column ascending="true" name="entry"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="entry"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="tags_all" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="tag_id" nullable="false" remarks="unique id and primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="borrowernumber" nullable="true" remarks="the patron who added the tag (borrowers.borrowernumber)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="tags_borrowers_fk_1" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="biblionumber" nullable="false" remarks="the bib record this tag was left on (biblio.biblionumber)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="tags_biblionumber_fk_1" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="term" nullable="false" remarks="the tag" size="191" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="term" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="tags_approval"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="language" nullable="true" remarks="the language the tag was left in" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="date_created" nullable="false" remarks="the date the tag was added" size="19" type="DATETIME" typeCode="93"/>
         <primaryKey column="tag_id" sequenceNumberInPK="1"/>
         <index name="tags_all_s_pk" unique="true">
            <column ascending="true" name="tag_id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="tag_id"/>
         </index>
         <index name="tags_biblionumber_fk_1" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="tags_borrowers_fk_1" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="tags_approval" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="term" nullable="false" remarks="the tag" size="191" type="VARCHAR" typeCode="12">
            <child catalog="koha_25_11" column="term" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="tags_all"/>
            <child catalog="koha_25_11" column="term" foreignKey="tags_index_term_fk_1" implied="false" onDeleteCascade="true" table="tags_index"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="approved" nullable="false" remarks="whether the tag is approved or not (1=yes, 0=pending, -1=rejected)" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="date_approved" nullable="true" remarks="the date this tag was approved" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="approved_by" nullable="true" remarks="the librarian who approved the tag (borrowers.borrowernumber)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="tags_approval_borrowers_fk_1" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="1" digits="0" id="4" name="weight_total" nullable="false" remarks="the total number of times this tag was used" size="10" type="INT" typeCode="4"/>
         <primaryKey column="term" sequenceNumberInPK="1"/>
         <index name="tags_approval_s_pk" unique="true">
            <column ascending="true" name="term"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="term"/>
         </index>
         <index name="tags_approval_borrowers_fk_1" unique="false">
            <column ascending="true" name="approved_by"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="tags_index" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="term" nullable="false" remarks="the tag" size="191" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="term" foreignKey="tags_index_term_fk_1" implied="false" onDeleteCascade="true" table="tags_approval"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="biblionumber" nullable="false" remarks="the bib record this tag was used on (biblio.biblionumber)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="tags_index_biblionumber_fk_1" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="1" digits="0" id="2" name="weight" nullable="false" remarks="the number of times this term was used on this bib record" size="10" type="INT" typeCode="4"/>
         <primaryKey column="term" sequenceNumberInPK="1"/>
         <primaryKey column="biblionumber" sequenceNumberInPK="2"/>
         <index name="tags_index_s_pk" unique="true">
            <column ascending="true" name="term"/>
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="term"/>
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="tags_index_biblionumber_fk_1" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="ticket_updates" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="ticket_id" nullable="false" remarks="id of catalog ticket the update relates to" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="ticket_updates_ibfk_1" implied="false" onDeleteCascade="true" table="tickets"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="user_id" nullable="false" remarks="id of the user who logged the update" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="ticket_updates_ibfk_2" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="assignee_id" nullable="true" remarks="id of the user who this ticket was assigned to at this update" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="ticket_updates_ibfk_3" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="public" nullable="false" remarks="boolean flag to denote whether this update is public" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="date" nullable="false" remarks="date and time this update was logged" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="message" nullable="false" remarks="update message content" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="status" nullable="true" remarks="status of ticket at this update" size="80" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="ticket_updates_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="ticket_updates_ibfk_1" unique="false">
            <column ascending="true" name="ticket_id"/>
         </index>
         <index name="ticket_updates_ibfk_2" unique="false">
            <column ascending="true" name="user_id"/>
         </index>
         <index name="ticket_updates_ibfk_3" unique="false">
            <column ascending="true" name="assignee_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="tickets" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="primary key" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="ticket_id" foreignKey="ticket_updates_ibfk_1" implied="false" onDeleteCascade="true" table="ticket_updates"/>
         </column>
         <column autoUpdated="false" defaultValue="'catalog'" digits="0" id="1" name="source" nullable="false" remarks="source of ticket" size="7" type="enum('catalog')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="reporter_id" nullable="false" remarks="id of the patron who reported the ticket" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="tickets_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="3" name="reported_date" nullable="false" remarks="date and time this ticket was reported" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="title" nullable="false" remarks="ticket title" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="body" nullable="false" remarks="ticket details" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="status" nullable="true" remarks="current status of the ticket" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="assignee_id" nullable="true" remarks="id of the user who this ticket is assigned to" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="tickets_ibfk_4" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="resolver_id" nullable="true" remarks="id of the user who resolved the ticket" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="tickets_ibfk_2" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="resolved_date" nullable="true" remarks="date and time this ticket was resolved" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="biblio_id" nullable="true" remarks="id of biblio linked" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="tickets_ibfk_3" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="tickets_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="tickets_ibfk_1" unique="false">
            <column ascending="true" name="reporter_id"/>
         </index>
         <index name="tickets_ibfk_2" unique="false">
            <column ascending="true" name="resolver_id"/>
         </index>
         <index name="tickets_ibfk_3" unique="false">
            <column ascending="true" name="biblio_id"/>
         </index>
         <index name="tickets_ibfk_4" unique="false">
            <column ascending="true" name="assignee_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="tmp_holdsqueue" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="0" name="biblionumber" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="tmp_holdsqueue_ibfk_2" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="itemnumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="itemnumber" foreignKey="tmp_holdsqueue_ibfk_1" implied="false" onDeleteCascade="true" table="items"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="barcode" nullable="true" remarks="" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="surname" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="firstname" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="phone" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="borrowernumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="tmp_holdsqueue_ibfk_3" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="cardnumber" nullable="true" remarks="" size="32" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="reservedate" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="title" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="itemcallnumber" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="holdingbranch" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="pickbranch" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="notes" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="14" name="item_level_request" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="15" name="timestamp" nullable="false" remarks="date and time this entry as added/last updated" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="itemnumber" sequenceNumberInPK="1"/>
         <index name="tmp_holdsqueue_s_pk" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="tmp_holdsqueue_ibfk_1" unique="false">
            <column ascending="true" name="itemnumber"/>
         </index>
         <index name="tmp_holdsqueue_ibfk_2" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="tmp_holdsqueue_ibfk_3" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="transport_cost" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="frombranch" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="transport_cost_ibfk_1" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="tobranch" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="branchcode" foreignKey="transport_cost_ibfk_2" implied="false" onDeleteCascade="true" table="branches"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="2" id="2" name="cost" nullable="false" remarks="" size="6" type="DECIMAL" typeCode="3"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="disable_transfer" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="frombranch" sequenceNumberInPK="1"/>
         <primaryKey column="tobranch" sequenceNumberInPK="2"/>
         <index name="transport_cost_s_pk" unique="true">
            <column ascending="true" name="frombranch"/>
            <column ascending="true" name="tobranch"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="frombranch"/>
            <column ascending="true" name="tobranch"/>
         </index>
         <index name="transport_cost_ibfk_2" unique="false">
            <column ascending="true" name="tobranch"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="uploaded_files" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="hashvalue" nullable="false" remarks="" size="40" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="filename" nullable="false" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="dir" nullable="false" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="filesize" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="dtcreated" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="uploadcategorycode" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="owner" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="public" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="permanent" nullable="true" remarks="" size="3" type="TINYINT" typeCode="-6"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="uploaded_files_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="user_permissions" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="0" digits="0" id="0" name="borrowernumber" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="user_permissions_ibfk_1" implied="false" onDeleteCascade="true" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="module_bit" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="module_bit" foreignKey="user_permissions_ibfk_2" implied="false" onDeleteCascade="true" table="permissions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="code" nullable="false" remarks="" size="64" type="VARCHAR" typeCode="12">
            <parent catalog="koha_25_11" column="code" foreignKey="user_permissions_ibfk_2" implied="false" onDeleteCascade="true" table="permissions"/>
         </column>
         <primaryKey column="borrowernumber" sequenceNumberInPK="1"/>
         <primaryKey column="module_bit" sequenceNumberInPK="2"/>
         <primaryKey column="code" sequenceNumberInPK="3"/>
         <index name="user_permissions_s_pk" unique="true">
            <column ascending="true" name="borrowernumber"/>
            <column ascending="true" name="module_bit"/>
            <column ascending="true" name="code"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="borrowernumber"/>
            <column ascending="true" name="module_bit"/>
            <column ascending="true" name="code"/>
         </index>
         <index name="user_permissions_ibfk_1" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="user_permissions_ibfk_2" unique="false">
            <column ascending="true" name="module_bit"/>
            <column ascending="true" name="code"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="userflags" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="0" digits="0" id="0" name="bit" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="module_bit" foreignKey="permissions_ibfk_1" implied="false" onDeleteCascade="true" table="permissions"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="flag" nullable="true" remarks="" size="30" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="flagdesc" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="defaulton" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
         <primaryKey column="bit" sequenceNumberInPK="1"/>
         <index name="userflags_s_pk" unique="true">
            <column ascending="true" name="bit"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="bit"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="vendor_edi_accounts" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="edi_acct" foreignKey="emfk_edi_acct" implied="false" onDeleteCascade="true" table="edifact_messages"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="description" nullable="false" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="last_activity" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="vendor_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="id" foreignKey="vfk_vendor_id" implied="false" onDeleteCascade="false" table="aqbooksellers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="san" nullable="true" remarks="" size="20" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'EUR'" digits="0" id="5" name="standard" nullable="true" remarks="" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'14'" digits="0" id="6" name="id_code_qualifier" nullable="true" remarks="" size="3" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="quotes_enabled" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="8" name="invoices_enabled" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="9" name="orders_enabled" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="responses_enabled" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="11" name="auto_orders" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="shipment_budget" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="budget_id" foreignKey="vfk_shipment_budget" implied="false" onDeleteCascade="false" table="aqbudgets"/>
         </column>
         <column autoUpdated="false" defaultValue="''" digits="0" id="13" name="plugin" nullable="false" remarks="" size="256" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="file_transport_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="file_transport_id" foreignKey="vendor_edi_accounts_ibfk_file_transport" implied="false" onDeleteCascade="false" table="file_transports"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="15" name="po_is_basketname" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="vendor_edi_accounts_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="shipmentbudget" unique="false">
            <column ascending="true" name="shipment_budget"/>
         </index>
         <index name="vendor_edi_accounts_file_transport_id" unique="false">
            <column ascending="true" name="file_transport_id"/>
         </index>
         <index name="vendorid" unique="false">
            <column ascending="true" name="vendor_id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="virtualshelfcontents" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="false" defaultValue="0" digits="0" id="0" name="shelfnumber" nullable="false" remarks="foreign key linking to the virtualshelves table, defines the list that this record has been added to" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="shelfnumber" foreignKey="virtualshelfcontents_ibfk_1" implied="false" onDeleteCascade="true" table="virtualshelves"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="biblionumber" nullable="false" remarks="foreign key linking to the biblio table, defines the bib record that has been added to the list" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="biblionumber" foreignKey="shelfcontents_ibfk_2" implied="false" onDeleteCascade="true" table="biblio"/>
         </column>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="2" name="dateadded" nullable="false" remarks="date and time this bib record was added to the list" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="borrowernumber" nullable="true" remarks="borrower number that created this list entry (only the first one is saved: no need for use in/as key)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="shelfcontents_ibfk_3" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <index name="biblionumber" unique="false">
            <column ascending="true" name="biblionumber"/>
         </index>
         <index name="shelfcontents_ibfk_3" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
         <index name="shelfnumber" unique="false">
            <column ascending="true" name="shelfnumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="virtualshelfshares" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique key" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="shelfnumber" nullable="false" remarks="foreign key for virtualshelves" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="shelfnumber" foreignKey="virtualshelfshares_ibfk_1" implied="false" onDeleteCascade="true" table="virtualshelves"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="borrowernumber" nullable="true" remarks="borrower that accepted access to this list" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="virtualshelfshares_ibfk_2" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="invitekey" nullable="true" remarks="temporary string used in accepting the invitation to access this list; not-empty means that the invitation has not been accepted yet" size="10" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="sharedate" nullable="true" remarks="date of invitation or acceptance of invitation" size="19" type="DATETIME" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="virtualshelfshares_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="virtualshelfshares_ibfk_1" unique="false">
            <column ascending="true" name="shelfnumber"/>
         </index>
         <index name="virtualshelfshares_ibfk_2" unique="false">
            <column ascending="true" name="borrowernumber"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="virtualshelves" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="shelfnumber" nullable="false" remarks="unique identifier assigned by Koha" size="10" type="INT" typeCode="4">
            <child catalog="koha_25_11" column="shelfnumber" foreignKey="virtualshelfcontents_ibfk_1" implied="false" onDeleteCascade="true" table="virtualshelfcontents"/>
            <child catalog="koha_25_11" column="shelfnumber" foreignKey="virtualshelfshares_ibfk_1" implied="false" onDeleteCascade="true" table="virtualshelfshares"/>
         </column>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="shelfname" nullable="true" remarks="name of the list" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="owner" nullable="true" remarks="foreign key linking to the borrowers table (using borrowernumber) for the creator of this list (changed from varchar(80) to int)" size="10" type="INT" typeCode="4">
            <parent catalog="koha_25_11" column="borrowernumber" foreignKey="virtualshelves_ibfk_1" implied="false" onDeleteCascade="false" table="borrowers"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="public" nullable="false" remarks="If the list is public" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="'title'" digits="0" id="4" name="sortfield" nullable="true" remarks="the field this list is sorted on" size="16" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="lastmodified" nullable="false" remarks="date and time the list was last modified" size="19" type="TIMESTAMP" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="created_on" nullable="false" remarks="creation time" size="19" type="DATETIME" typeCode="93"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="7" name="allow_change_from_owner" nullable="true" remarks="can owner change contents?" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="8" name="allow_change_from_others" nullable="true" remarks="can others change contents?" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="9" name="allow_change_from_staff" nullable="true" remarks="can staff change contents?" size="3" type="TINYINT" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="allow_change_from_permitted_staff" nullable="true" remarks="can staff with edit_public_list_contents permission change contents?" size="3" type="TINYINT" typeCode="-7"/>
         <primaryKey column="shelfnumber" sequenceNumberInPK="1"/>
         <index name="virtualshelves_s_pk" unique="true">
            <column ascending="true" name="shelfnumber"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="shelfnumber"/>
         </index>
         <index name="virtualshelves_ibfk_1" unique="false">
            <column ascending="true" name="owner"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="z3950servers" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="unique identifier assigned by Koha" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="host" nullable="false" remarks="target's host name" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="port" nullable="true" remarks="port number used to connect to target" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="db" nullable="true" remarks="target's database name" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="userid" nullable="true" remarks="username needed to log in to target" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="password" nullable="true" remarks="password needed to log in to target" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="servername" nullable="false" remarks="name given to the target by the library" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="checked" nullable="true" remarks="whether this target is checked by default  (1 for yes, 0 for no)" size="5" type="SMALLINT" typeCode="5"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="rank" nullable="true" remarks="where this target appears in the list of targets" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="syntax" nullable="false" remarks="MARC format provided by this target" size="80" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="timeout" nullable="false" remarks="number of seconds before Koha stops trying to access this server" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="'zed'" digits="0" id="11" name="servertype" nullable="false" remarks="zed means z39.50 server" size="3" type="enum('zed', 'sru')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="encoding" nullable="false" remarks="characters encoding provided by this target" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="'biblio'" digits="0" id="13" name="recordtype" nullable="false" remarks="server contains bibliographic or authority records" size="9" type="enum('authority', 'biblio')" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="sru_options" nullable="true" remarks="options like sru=get, sru_version=1.1; will be passed to the server via ZOOM" size="255" type="VARCHAR" typeCode="12"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="sru_fields" nullable="true" remarks="contains the mapping between the Z3950 search fields and the specific SRU server indexes" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="add_xslt" nullable="true" remarks="zero or more paths to XSLT files to be processed on the search results" size="2147483647" type="LONGTEXT" typeCode="-1"/>
         <column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="attributes" nullable="true" remarks="additional attributes passed to PQF queries" size="255" type="VARCHAR" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="z3950servers_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table catalog="koha_25_11" name="zebraqueue" numRows="0" remarks="" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="biblio_auth_number" nullable="false" remarks="" size="20" type="BIGINT UNSIGNED" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="2" name="operation" nullable="false" remarks="" size="20" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="''" digits="0" id="3" name="server" nullable="false" remarks="" size="20" type="CHAR" typeCode="1"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="done" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
         <column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="5" name="time" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="zebraqueue_s_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="PRIMARY" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="zebraqueue_lookup" unique="false">
            <column ascending="true" name="server"/>
            <column ascending="true" name="biblio_auth_number"/>
            <column ascending="true" name="operation"/>
            <column ascending="true" name="done"/>
         </index>
      </table>
   </tables>
</database>
