blob: d54aa6cdc829ee51c09ce31ad3cc517cb029f83b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<database name="fineract_default" schema="fineract_default" type="MariaDB - 10.6.7-MariaDB-1:10.6.7+maria~focal">
<tables>
<table catalog="fineract_default" name="acc_accounting_rule" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="acc_rule_id" foreignKey="FK_acc_accounting_rule_id" implied="false" onDeleteCascade="false" table="acc_rule_tags"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="name" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="office_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_accounting_rule_m_office" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="debit_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_accounting_rule_acc_gl_account_debit" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="4" name="allow_multiple_debits" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="credit_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_accounting_rule_acc_gl_account_credit" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="6" name="allow_multiple_credits" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="description" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="8" name="system_defined" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_acc_accounting_rule_acc_gl_account_credit" unique="false">
<column ascending="true" name="credit_account_id"/>
</index>
<index name="FK_acc_accounting_rule_acc_gl_account_debit" unique="false">
<column ascending="true" name="debit_account_id"/>
</index>
<index name="FK_acc_accounting_rule_m_office" unique="false">
<column ascending="true" name="office_id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="acc_gl_account" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="credit_account_id" foreignKey="FK_acc_accounting_rule_acc_gl_account_credit" implied="false" onDeleteCascade="false" table="acc_accounting_rule"/>
<child catalog="fineract_default" column="debit_account_id" foreignKey="FK_acc_accounting_rule_acc_gl_account_debit" implied="false" onDeleteCascade="false" table="acc_accounting_rule"/>
<child catalog="fineract_default" column="parent_id" foreignKey="FK_ACC_0000000001" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
<child catalog="fineract_default" column="gl_account_id" foreignKey="FK_office_mapping_acc_gl_account" implied="false" onDeleteCascade="false" table="acc_gl_financial_activity_account"/>
<child catalog="fineract_default" column="account_id" foreignKey="FK_acc_gl_journal_entry_acc_gl_account" implied="false" onDeleteCascade="false" table="acc_gl_journal_entry"/>
<child catalog="fineract_default" column="income_or_liability_account_id" foreignKey="FK_m_charge_acc_gl_account" implied="false" onDeleteCascade="false" table="m_charge"/>
<child catalog="fineract_default" column="expense_account" foreignKey="m_loanproduct_provisioning_entry_ibfk_7" implied="false" onDeleteCascade="false" table="m_loanproduct_provisioning_entry"/>
<child catalog="fineract_default" column="liability_account" foreignKey="m_loanproduct_provisioning_entry_ibfk_6" implied="false" onDeleteCascade="false" table="m_loanproduct_provisioning_entry"/>
<child catalog="fineract_default" column="expense_account" foreignKey="m_provisioning_criteria_definition_ibfk_4" implied="false" onDeleteCascade="false" table="m_provisioning_criteria_definition"/>
<child catalog="fineract_default" column="liability_account" foreignKey="m_provisioning_criteria_definition_ibfk_3" implied="false" onDeleteCascade="false" table="m_provisioning_criteria_definition"/>
<child catalog="fineract_default" column="credit_account_id" foreignKey="FK_tax_component_credit_gl_account" implied="false" onDeleteCascade="false" table="m_tax_component"/>
<child catalog="fineract_default" column="debit_account_id" foreignKey="FK_tax_component_debit_gl_account" implied="false" onDeleteCascade="false" table="m_tax_component"/>
<child catalog="fineract_default" column="credit_account_id" foreignKey="FK_m_tellers_gl_account_credit_account_id" implied="false" onDeleteCascade="false" table="m_tellers"/>
<child catalog="fineract_default" column="debit_account_id" foreignKey="FK_m_tellers_gl_account_debit_account_id" implied="false" onDeleteCascade="false" table="m_tellers"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="parent_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_ACC_0000000001" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="hierarchy" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="gl_code" nullable="false" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="5" name="disabled" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="6" name="manual_journal_entries_allowed" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="2" digits="0" id="7" name="account_usage" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="classification_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="tag_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FKGLACC000000002" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="description" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_ACC_0000000001" unique="false">
<column ascending="true" name="parent_id"/>
</index>
<index name="FKGLACC000000002" unique="false">
<column ascending="true" name="tag_id"/>
</index>
<index name="gl_code" unique="true">
<column ascending="true" name="gl_code"/>
</index>
</table>
<table catalog="fineract_default" name="acc_gl_closure" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_gl_closure_m_office" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="closing_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="3" name="is_deleted" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_gl_closure_m_appuser" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_gl_closure_m_appuser_2" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="comments" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_acc_gl_closure_m_appuser" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="FK_acc_gl_closure_m_appuser_2" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
<index name="FK_acc_gl_closure_m_office" unique="false">
<column ascending="true" name="office_id"/>
</index>
<index name="office_id_closing_date" unique="true">
<column ascending="true" name="office_id"/>
<column ascending="true" name="closing_date"/>
</index>
</table>
<table catalog="fineract_default" name="acc_gl_financial_activity_account" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="1" name="gl_account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_office_mapping_acc_gl_account" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="financial_activity_type" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="financial_activity_type" unique="true">
<column ascending="true" name="financial_activity_type"/>
</index>
<index name="FK_office_mapping_acc_gl_account" unique="false">
<column ascending="true" name="gl_account_id"/>
</index>
</table>
<table catalog="fineract_default" name="acc_gl_journal_entry" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="reversal_id" foreignKey="FK_acc_gl_journal_entry_acc_gl_journal_entry" implied="false" onDeleteCascade="false" table="acc_gl_journal_entry"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_gl_journal_entry_acc_gl_account" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_gl_journal_entry_m_office" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="reversal_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_gl_journal_entry_acc_gl_journal_entry" implied="false" onDeleteCascade="false" table="acc_gl_journal_entry"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="transaction_id" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="loan_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_gl_journal_entry_m_loan_transaction" implied="false" onDeleteCascade="false" table="m_loan_transaction"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="savings_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_gl_journal_entry_m_savings_account_transaction" implied="false" onDeleteCascade="false" table="m_savings_account_transaction"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="client_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_gl_journal_entry_m_client_transaction" implied="false" onDeleteCascade="false" table="m_client_transaction"/>
</column>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="9" name="reversed" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="ref_num" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="11" name="manual_entry" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="12" name="entry_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="13" name="type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="14" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="description" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="entity_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="entity_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="18" name="createdby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_gl_journal_entry_m_appuser" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="19" name="lastmodifiedby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_gl_journal_entry_m_appuser_2" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="20" name="created_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="21" name="lastmodified_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="22" name="is_running_balance_calculated" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="23" name="office_running_balance" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="24" name="organization_running_balance" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="payment_details_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_gl_journal_entry_m_payment_detail" implied="false" onDeleteCascade="false" table="m_payment_detail"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="share_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_gl_journal_entry_m_share_account_transaction" implied="false" onDeleteCascade="false" table="m_share_account_transactions"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="transaction_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_acc_gl_journal_entry_acc_gl_account" unique="false">
<column ascending="true" name="account_id"/>
</index>
<index name="FK_acc_gl_journal_entry_acc_gl_journal_entry" unique="false">
<column ascending="true" name="reversal_id"/>
</index>
<index name="FK_acc_gl_journal_entry_m_appuser" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="FK_acc_gl_journal_entry_m_appuser_2" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
<index name="FK_acc_gl_journal_entry_m_client_transaction" unique="false">
<column ascending="true" name="client_transaction_id"/>
</index>
<index name="FK_acc_gl_journal_entry_m_loan_transaction" unique="false">
<column ascending="true" name="loan_transaction_id"/>
</index>
<index name="FK_acc_gl_journal_entry_m_office" unique="false">
<column ascending="true" name="office_id"/>
</index>
<index name="FK_acc_gl_journal_entry_m_payment_detail" unique="false">
<column ascending="true" name="payment_details_id"/>
</index>
<index name="FK_acc_gl_journal_entry_m_savings_account_transaction" unique="false">
<column ascending="true" name="savings_transaction_id"/>
</index>
<index name="FK_acc_gl_journal_entry_m_share_account_transaction" unique="false">
<column ascending="true" name="share_transaction_id"/>
</index>
<index name="transaction_date_index" unique="false">
<column ascending="true" name="transaction_date"/>
</index>
</table>
<table catalog="fineract_default" name="acc_product_mapping" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="gl_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="product_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="product_type" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="payment_type" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_product_mapping_m_payment_type" implied="false" onDeleteCascade="false" table="m_payment_type"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="charge_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_product_mapping_m_charge" implied="false" onDeleteCascade="false" table="m_charge"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="financial_account_type" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_acc_product_mapping_m_charge" unique="false">
<column ascending="true" name="charge_id"/>
</index>
<index name="FK_acc_product_mapping_m_payment_type" unique="false">
<column ascending="true" name="payment_type"/>
</index>
</table>
<table catalog="fineract_default" name="acc_rule_tags" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="acc_rule_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_acc_accounting_rule_id" implied="false" onDeleteCascade="false" table="acc_accounting_rule"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="tag_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_code_value_id" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="acc_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_acc_accounting_rule_id" unique="false">
<column ascending="true" name="acc_rule_id"/>
</index>
<index name="FK_m_code_value_id" unique="false">
<column ascending="true" name="tag_id"/>
</index>
<index name="UNIQUE_ACCOUNT_RULE_TAGS" unique="true">
<column ascending="true" name="acc_rule_id"/>
<column ascending="true" name="tag_id"/>
<column ascending="true" name="acc_type_enum"/>
</index>
</table>
<table catalog="fineract_default" name="c_account_number_format" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="prefix_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="prefix_character" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="account_type_enum" unique="true">
<column ascending="true" name="account_type_enum"/>
</index>
</table>
<table catalog="fineract_default" name="c_cache" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="1" digits="0" id="1" name="cache_type_enum" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="c_configuration" numRows="38" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="name" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="value" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="date_value" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="string_value" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="5" name="enabled" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="6" name="is_trap_door" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="description" nullable="true" remarks="" size="300" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="c_external_service" numRows="4" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="external_service_id" foreignKey="FK_c_external_service_properties_c_external_service" implied="false" onDeleteCascade="false" table="c_external_service_properties"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="name" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="c_external_service_properties" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="name" nullable="false" remarks="" size="150" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="value" nullable="true" remarks="" size="250" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="external_service_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_c_external_service_properties_c_external_service" implied="false" onDeleteCascade="false" table="c_external_service"/>
</column>
<index name="FK_c_external_service_properties_c_external_service" unique="false">
<column ascending="true" name="external_service_id"/>
</index>
</table>
<table catalog="fineract_default" name="client_device_registration" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK1_client_device_registration_m_client" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="updatedon_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="registration_id" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="client_id" unique="true">
<column ascending="true" name="client_id"/>
</index>
<index name="registration_id" unique="true">
<column ascending="true" name="registration_id"/>
</index>
</table>
<table catalog="fineract_default" name="DATABASECHANGELOG" numRows="1034" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="ID" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="AUTHOR" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="FILENAME" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="DATEEXECUTED" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="ORDEREXECUTED" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="EXECTYPE" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="MD5SUM" nullable="true" remarks="" size="35" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="DESCRIPTION" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="COMMENTS" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="TAG" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="LIQUIBASE" nullable="true" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="CONTEXTS" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="LABELS" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="DEPLOYMENT_ID" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
</table>
<table catalog="fineract_default" name="DATABASECHANGELOGLOCK" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" 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="LOCKED" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="LOCKGRANTED" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="LOCKEDBY" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<primaryKey column="ID" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="ID"/>
</index>
</table>
<table catalog="fineract_default" name="glim_accounts" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="glim_id" foreignKey="FK_glim_id" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="0" digits="0" id="1" name="group_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_group_id" implied="false" onDeleteCascade="false" table="m_group"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="account_number" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="3" name="principal_amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="child_accounts_count" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="5" name="accepting_child" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="6" name="loan_status_id" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="7" name="application_id" nullable="true" remarks="" size="10" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="account_number" unique="true">
<column ascending="true" name="account_number"/>
</index>
<index name="FK_group_id" unique="false">
<column ascending="true" name="group_id"/>
</index>
</table>
<table catalog="fineract_default" name="gsim_accounts" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="gsim_id" foreignKey="FK_gsim_id" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="0" digits="0" id="1" name="group_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_gsim_group_id" implied="false" onDeleteCascade="false" table="m_group"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="account_number" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="3" name="parent_deposit" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="child_accounts_count" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="5" name="accepting_child" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="6" name="savings_status_id" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="7" name="application_id" nullable="true" remarks="" size="10" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="account_number" unique="true">
<column ascending="true" name="account_number"/>
</index>
<index name="FK_gsim_group_id" unique="false">
<column ascending="true" name="group_id"/>
</index>
</table>
<table catalog="fineract_default" name="interop_identifier" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_interop_identifier_account" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="type" nullable="false" remarks="" size="32" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="a_value" nullable="false" remarks="" size="128" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="sub_value_or_type" nullable="true" remarks="" size="128" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="created_by" nullable="false" remarks="" size="32" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="current_timestamp()" digits="0" id="6" name="created_on" nullable="false" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="modified_by" nullable="true" remarks="" size="32" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="modified_on" nullable="true" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_interop_identifier_account" unique="false">
<column ascending="true" name="account_id"/>
</index>
<index name="uk_interop_identifier_account" unique="true">
<column ascending="true" name="account_id"/>
<column ascending="true" name="type"/>
</index>
<index name="uk_interop_identifier_value" unique="true">
<column ascending="true" name="type"/>
<column ascending="true" name="a_value"/>
<column ascending="true" name="sub_value_or_type"/>
</index>
</table>
<table catalog="fineract_default" name="job" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="job_id" foreignKey="FK_job_id" implied="false" onDeleteCascade="false" table="job_parameters"/>
<child catalog="fineract_default" column="job_id" foreignKey="scheduledjobsFK" implied="false" onDeleteCascade="false" table="job_run_history"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="display_name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="cron_expression" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="create_time" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="5" digits="0" id="5" name="task_priority" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="group_name" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="previous_run_start_time" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="next_run_time" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="job_key" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="initializing_errorlog" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="11" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="12" name="currently_running" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="13" name="updates_allowed" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="14" name="scheduler_group" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="15" name="is_misfired" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="node_id" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="17" name="is_mismatched_job" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="job_parameters" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="job_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_job_id" implied="false" onDeleteCascade="false" table="job"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="parameter_name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="parameter_value" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_job_id" unique="false">
<column ascending="true" name="job_id"/>
</index>
</table>
<table catalog="fineract_default" name="job_run_history" numRows="29" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="job_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="scheduledjobsFK" implied="false" onDeleteCascade="false" table="job"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="version" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="start_time" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="end_time" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="status" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="error_message" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="trigger_type" nullable="false" remarks="" size="25" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="error_log" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="scheduledjobsFK" unique="false">
<column ascending="true" name="job_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_account_transfer_details" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="account_transfer_details_id" foreignKey="FK_m_standing_instructions_account_transfer_details" implied="false" onDeleteCascade="false" table="m_account_transfer_standing_instructions"/>
<child catalog="fineract_default" column="account_transfer_details_id" foreignKey="FK_m_account_transfer_transaction_account_detail" implied="false" onDeleteCascade="false" table="m_account_transfer_transaction"/>
<child catalog="fineract_default" column="account_transfer_details_id" foreignKey="m_loan_topup_FK_account_transfer_details_id" implied="false" onDeleteCascade="false" table="m_loan_topup"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="from_office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_details_from_office" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="to_office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_details_to_office" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="from_client_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_details_from_client" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="to_client_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_details_to_client" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="from_savings_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_details_from_savings_account" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="to_savings_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_details_to_savings_account" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="from_loan_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_details_from_loan_account" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="to_loan_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_details_to_loan_account" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="transfer_type" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_account_transfer_details_from_client" unique="false">
<column ascending="true" name="from_client_id"/>
</index>
<index name="FK_m_account_transfer_details_from_loan_account" unique="false">
<column ascending="true" name="from_loan_account_id"/>
</index>
<index name="FK_m_account_transfer_details_from_office" unique="false">
<column ascending="true" name="from_office_id"/>
</index>
<index name="FK_m_account_transfer_details_from_savings_account" unique="false">
<column ascending="true" name="from_savings_account_id"/>
</index>
<index name="FK_m_account_transfer_details_to_client" unique="false">
<column ascending="true" name="to_client_id"/>
</index>
<index name="FK_m_account_transfer_details_to_loan_account" unique="false">
<column ascending="true" name="to_loan_account_id"/>
</index>
<index name="FK_m_account_transfer_details_to_office" unique="false">
<column ascending="true" name="to_office_id"/>
</index>
<index name="FK_m_account_transfer_details_to_savings_account" unique="false">
<column ascending="true" name="to_savings_account_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_account_transfer_standing_instructions" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="standing_instruction_id" foreignKey="FK_m_account_transfer_standing_instructions_m_history" implied="false" onDeleteCascade="false" table="m_account_transfer_standing_instructions_history"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="250" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="account_transfer_details_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_standing_instructions_account_transfer_details" implied="false" onDeleteCascade="false" table="m_account_transfer_details"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="priority" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="status" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="instruction_type" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="valid_from" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="valid_till" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="recurrence_type" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="recurrence_frequency" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="recurrence_interval" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="recurrence_on_day" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="recurrence_on_month" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="last_run_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_standing_instructions_account_transfer_details" unique="false">
<column ascending="true" name="account_transfer_details_id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="m_account_transfer_standing_instructions_history" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="standing_instruction_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_standing_instructions_m_history" implied="false" onDeleteCascade="false" table="m_account_transfer_standing_instructions"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="status" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="execution_time" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="4" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="error_log" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_account_transfer_standing_instructions_history" unique="false">
<column ascending="true" name="standing_instruction_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_account_transfer_transaction" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_transfer_details_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_transaction_account_detail" implied="false" onDeleteCascade="false" table="m_account_transfer_details"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="from_savings_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_transaction_from_m_savings_transaction" implied="false" onDeleteCascade="false" table="m_savings_account_transaction"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="from_loan_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_transaction_from_m_loan_transaction" implied="false" onDeleteCascade="false" table="m_loan_transaction"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="to_savings_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_transaction_to_m_savings_transaction" implied="false" onDeleteCascade="false" table="m_savings_account_transaction"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="to_loan_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_account_transfer_transaction_to_m_loan_transaction" implied="false" onDeleteCascade="false" table="m_loan_transaction"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="is_reversed" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="transaction_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="currency_digits" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="currency_multiplesof" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="11" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="12" name="description" nullable="false" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_account_transfer_transaction_account_detail" unique="false">
<column ascending="true" name="account_transfer_details_id"/>
</index>
<index name="FK_m_account_transfer_transaction_from_m_loan_transaction" unique="false">
<column ascending="true" name="from_loan_transaction_id"/>
</index>
<index name="FK_m_account_transfer_transaction_from_m_savings_transaction" unique="false">
<column ascending="true" name="from_savings_transaction_id"/>
</index>
<index name="FK_m_account_transfer_transaction_to_m_loan_transaction" unique="false">
<column ascending="true" name="to_loan_transaction_id"/>
</index>
<index name="FK_m_account_transfer_transaction_to_m_savings_transaction" unique="false">
<column ascending="true" name="to_savings_transaction_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_address" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="street" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="address_line_1" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="address_line_2" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="address_line_3" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="town_village" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="city" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="county_district" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="state_province_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="address_fields_codefk1" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="country_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="address_fields_codefk2" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="postal_code" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="0.00000000" digits="8" id="11" name="latitude" nullable="true" remarks="" size="10" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.00000000" digits="8" id="12" name="longitude" nullable="true" remarks="" size="10" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="created_by" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="created_on" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="updated_by" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="updated_on" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="address_fields_codefk1" unique="false">
<column ascending="true" name="state_province_id"/>
</index>
<index name="address_fields_codefk2" unique="false">
<column ascending="true" name="country_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_adhoc" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="name" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="query" nullable="true" remarks="" size="2000" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="table_name" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="table_fields" nullable="true" remarks="" size="1000" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="email" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="is_active" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="createdby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="createdby_id" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="lastmodifiedby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="lastmodifiedby_id" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="report_run_frequency_code" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="report_run_every" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="last_run" nullable="true" remarks="" size="19" type="TIMESTAMP" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="createdby_id" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="lastmodifiedby_id" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_appuser" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="createdby_id" foreignKey="FK_acc_gl_closure_m_appuser" implied="false" onDeleteCascade="false" table="acc_gl_closure"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="FK_acc_gl_closure_m_appuser_2" implied="false" onDeleteCascade="false" table="acc_gl_closure"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="FK_acc_gl_journal_entry_m_appuser" implied="false" onDeleteCascade="false" table="acc_gl_journal_entry"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="FK_acc_gl_journal_entry_m_appuser_2" implied="false" onDeleteCascade="false" table="acc_gl_journal_entry"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="createdby_id" implied="false" onDeleteCascade="false" table="m_adhoc"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="lastmodifiedby_id" implied="false" onDeleteCascade="false" table="m_adhoc"/>
<child catalog="fineract_default" column="user_id" foreignKey="m_appuser_previous_password_ibfk_1" implied="false" onDeleteCascade="false" table="m_appuser_previous_password"/>
<child catalog="fineract_default" column="appuser_id" foreignKey="FK7662CE59B4100309" implied="false" onDeleteCascade="false" table="m_appuser_role"/>
<child catalog="fineract_default" column="appuser_id" foreignKey="FK_m_client_transaction_m_appuser" implied="false" onDeleteCascade="false" table="m_client_transaction"/>
<child catalog="fineract_default" column="submitted_by" foreignKey="FK_m_client_transfer_details_m_appuser" implied="false" onDeleteCascade="false" table="m_client_transfer_details"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="FK_m_import_m_appuser" implied="false" onDeleteCascade="false" table="m_import_document"/>
<child catalog="fineract_default" column="approvedon_userid" foreignKey="FK_approvedon_userid" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="closedon_userid" foreignKey="FK_closedon_userid" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="disbursedon_userid" foreignKey="FK_disbursedon_userid" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="rejectedon_userid" foreignKey="FK_rejectedon_userid" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="submittedon_userid" foreignKey="FK_submittedon_userid" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="withdrawnon_userid" foreignKey="FK_withdrawnon_userid" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="approved_by_user_id" foreignKey="m_loan_reschedule_request_ibfk_4" implied="false" onDeleteCascade="false" table="m_loan_reschedule_request"/>
<child catalog="fineract_default" column="rejected_by_user_id" foreignKey="m_loan_reschedule_request_ibfk_5" implied="false" onDeleteCascade="false" table="m_loan_reschedule_request"/>
<child catalog="fineract_default" column="submitted_by_user_id" foreignKey="m_loan_reschedule_request_ibfk_3" implied="false" onDeleteCascade="false" table="m_loan_reschedule_request"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="FK7C97089541F0A56" implied="false" onDeleteCascade="false" table="m_note"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="FK7C970898F889C3F" implied="false" onDeleteCascade="false" table="m_note"/>
<child catalog="fineract_default" column="app_user_id" foreignKey="FK__m_appuser__pocket" implied="false" onDeleteCascade="false" table="m_pocket"/>
<child catalog="fineract_default" column="checker_id" foreignKey="FK_m_checker_m_appuser" implied="false" onDeleteCascade="false" table="m_portfolio_command_source"/>
<child catalog="fineract_default" column="maker_id" foreignKey="FK_m_maker_m_appuser" implied="false" onDeleteCascade="false" table="m_portfolio_command_source"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="m_provisioning_criteria_ibfk_1" implied="false" onDeleteCascade="false" table="m_provisioning_criteria"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="m_provisioning_criteria_ibfk_2" implied="false" onDeleteCascade="false" table="m_provisioning_criteria"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="m_provisioning_history_ibfk_1" implied="false" onDeleteCascade="false" table="m_provisioning_history"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="m_provisioning_history_ibfk_2" implied="false" onDeleteCascade="false" table="m_provisioning_history"/>
<child catalog="fineract_default" column="approve_user" foreignKey="FK_M_RATE_APPROVE_USER" implied="false" onDeleteCascade="false" table="m_rate"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="FK_M_RATE_CREATE_USER" implied="false" onDeleteCascade="false" table="m_rate"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="m_report_mailing_job_ibfk_1" implied="false" onDeleteCascade="false" table="m_report_mailing_job"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="m_report_mailing_job_ibfk_2" implied="false" onDeleteCascade="false" table="m_report_mailing_job"/>
<child catalog="fineract_default" column="run_as_userid" foreignKey="m_report_mailing_job_ibfk_4" implied="false" onDeleteCascade="false" table="m_report_mailing_job"/>
<child catalog="fineract_default" column="appuser_id" foreignKey="m_selfservice_appuser_id" implied="false" onDeleteCascade="false" table="m_selfservice_user_client_mapping"/>
<child catalog="fineract_default" column="activated_userid" foreignKey="m_share_account_ibfk_6" implied="false" onDeleteCascade="false" table="m_share_account"/>
<child catalog="fineract_default" column="approved_userid" foreignKey="m_share_account_ibfk_4" implied="false" onDeleteCascade="false" table="m_share_account"/>
<child catalog="fineract_default" column="closed_userid" foreignKey="m_share_account_ibfk_7" implied="false" onDeleteCascade="false" table="m_share_account"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="m_share_account_ibfk_8" implied="false" onDeleteCascade="false" table="m_share_account"/>
<child catalog="fineract_default" column="rejected_userid" foreignKey="m_share_account_ibfk_5" implied="false" onDeleteCascade="false" table="m_share_account"/>
<child catalog="fineract_default" column="submitted_userid" foreignKey="m_share_account_ibfk_3" implied="false" onDeleteCascade="false" table="m_share_account"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="m_share_product_ibfk_1" implied="false" onDeleteCascade="false" table="m_share_product"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="m_share_product_ibfk_2" implied="false" onDeleteCascade="false" table="m_share_product"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="FK_m_share_product_dividend_pay_out_createdby_id" implied="false" onDeleteCascade="false" table="m_share_product_dividend_pay_out"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="FK_m_share_product_dividend_pay_out_lastmodifiedby_id" implied="false" onDeleteCascade="false" table="m_share_product_dividend_pay_out"/>
<child catalog="fineract_default" column="user_id" foreignKey="m_survey_scorecards_ibfk_4" implied="false" onDeleteCascade="false" table="m_survey_scorecards"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="FK_tax_component_createdby" implied="false" onDeleteCascade="false" table="m_tax_component"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="FK_tax_component_lastmodifiedby" implied="false" onDeleteCascade="false" table="m_tax_component"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="FK_tax_component_history_createdby" implied="false" onDeleteCascade="false" table="m_tax_component_history"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="FK_tax_component_history_lastmodifiedby" implied="false" onDeleteCascade="false" table="m_tax_component_history"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="FK_tax_group_createdby" implied="false" onDeleteCascade="false" table="m_tax_group"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="FK_tax_group_lastmodifiedby" implied="false" onDeleteCascade="false" table="m_tax_group"/>
<child catalog="fineract_default" column="createdby_id" foreignKey="FK_tax_group_mappings_createdby" implied="false" onDeleteCascade="false" table="m_tax_group_mappings"/>
<child catalog="fineract_default" column="lastmodifiedby_id" foreignKey="FK_tax_group_mappings_lastmodifiedby" implied="false" onDeleteCascade="false" table="m_tax_group_mappings"/>
<child catalog="fineract_default" column="user_id" foreignKey="notification_mapper_ibfk_2" implied="false" onDeleteCascade="false" table="notification_mapper"/>
<child catalog="fineract_default" column="user_id" foreignKey="fk_topic_has_m_appuser_m_appuser1" implied="false" onDeleteCascade="false" table="topic_subscriber"/>
<child catalog="fineract_default" column="appuser_id" foreignKey="fk_2fa_access_token_user_id" implied="false" onDeleteCascade="false" table="twofactor_access_token"/>
</column>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="1" name="is_deleted" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="office_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKB3D587CE0DD567A" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="staff_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_m_appuser_002" implied="false" onDeleteCascade="false" table="m_staff"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="username" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="firstname" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="lastname" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="password" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="email" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="firsttime_login_remaining" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="10" name="nonexpired" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="11" name="nonlocked" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="12" name="nonexpired_credentials" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="13" name="enabled" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="'1970-01-01'" digits="0" id="14" name="last_time_password_updated" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="password_never_expires" nullable="true" remarks="define if the password, should be check for validity period or not" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="16" name="is_self_service_user" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="17" name="cannot_change_password" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_m_appuser_002x" unique="false">
<column ascending="true" name="staff_id"/>
</index>
<index name="FKB3D587CE0DD567A" unique="false">
<column ascending="true" name="office_id"/>
</index>
<index name="last_time_password_updated" unique="false">
<column ascending="true" name="last_time_password_updated"/>
</index>
<index name="username_org" unique="true">
<column ascending="true" name="username"/>
</index>
</table>
<table catalog="fineract_default" name="m_appuser_previous_password" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="user_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_appuser_previous_password_ibfk_1" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="password" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="removal_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="user_id" unique="false">
<column ascending="true" name="user_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_appuser_role" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="appuser_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK7662CE59B4100309" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="role_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK7662CE5915CEC7AB" implied="false" onDeleteCascade="false" table="m_role"/>
</column>
<primaryKey column="appuser_id" sequenceNumberInPK="1"/>
<primaryKey column="role_id" sequenceNumberInPK="2"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="appuser_id"/>
<column ascending="true" name="role_id"/>
</index>
<index name="FK7662CE5915CEC7AB" unique="false">
<column ascending="true" name="role_id"/>
</index>
<index name="FK7662CE59B4100309" unique="false">
<column ascending="true" name="appuser_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_calendar" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="calendar_id" foreignKey="FK_m_calendar_m_calendar_history" implied="false" onDeleteCascade="false" table="m_calendar_history"/>
<child catalog="fineract_default" column="calendar_id" foreignKey="FK_m_calendar_m_calendar_instance" implied="false" onDeleteCascade="false" table="m_calendar_instance"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="title" nullable="false" remarks="" size="70" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="location" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="start_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="end_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="duration" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="calendar_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="8" name="repeating" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="recurrence" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="remind_by_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="first_reminder" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="second_reminder" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="meeting_time" nullable="true" remarks="" size="10" type="TIME" typeCode="92"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="m_calendar_history" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="calendar_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_calendar_m_calendar_history" implied="false" onDeleteCascade="false" table="m_calendar"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="title" nullable="false" remarks="" size="70" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="location" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="start_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="end_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="duration" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="calendar_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="9" name="repeating" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="recurrence" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="remind_by_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="first_reminder" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="second_reminder" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_calendar_m_calendar_history" unique="false">
<column ascending="true" name="calendar_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_calendar_instance" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="calendar_instance_id" foreignKey="FK_m_calendar_instance_m_meeting" implied="false" onDeleteCascade="false" table="m_meeting"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="calendar_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_calendar_m_calendar_instance" implied="false" onDeleteCascade="false" table="m_calendar"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="entity_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="entity_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_calendar_m_calendar_instance" unique="false">
<column ascending="true" name="calendar_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_cashier_transactions" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="cashier_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_teller_transactions_m_cashiers" implied="false" onDeleteCascade="true" table="m_cashiers"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="txn_type" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="3" name="txn_amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="txn_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="created_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="entity_type" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="entity_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="txn_note" nullable="true" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="currency_code" nullable="true" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="IK_m_teller_transactions_m_cashier" unique="false">
<column ascending="true" name="cashier_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_cashiers" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="cashier_id" foreignKey="FK_m_teller_transactions_m_cashiers" implied="false" onDeleteCascade="true" table="m_cashier_transactions"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="staff_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_cashiers_m_staff" implied="false" onDeleteCascade="false" table="m_staff"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="teller_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_cashiers_m_teller" implied="false" onDeleteCascade="false" table="m_tellers"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="start_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="end_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="start_time" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="end_time" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="full_day" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="IK_m_cashiers_m_staff" unique="false">
<column ascending="true" name="staff_id"/>
</index>
<index name="IK_m_cashiers_m_teller" unique="false">
<column ascending="true" name="teller_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_charge" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="charge_id" foreignKey="FK_acc_product_mapping_m_charge" implied="false" onDeleteCascade="false" table="acc_product_mapping"/>
<child catalog="fineract_default" column="charge_id" foreignKey="FK_m_client_charge_m_charge" implied="false" onDeleteCascade="false" table="m_client_charge"/>
<child catalog="fineract_default" column="charge_id" foreignKey="m_loan_charge_ibfk_1" implied="false" onDeleteCascade="false" table="m_loan_charge"/>
<child catalog="fineract_default" column="charge_id" foreignKey="FK_m_loan_tranche_charges_m_charge" implied="false" onDeleteCascade="false" table="m_loan_tranche_charges"/>
<child catalog="fineract_default" column="charge_id" foreignKey="m_product_loan_charge_ibfk_1" implied="false" onDeleteCascade="false" table="m_product_loan_charge"/>
<child catalog="fineract_default" column="charge_id" foreignKey="m_savings_account_charge_ibfk_1" implied="false" onDeleteCascade="false" table="m_savings_account_charge"/>
<child catalog="fineract_default" column="charge_id" foreignKey="m_savings_product_charge_ibfk_1" implied="false" onDeleteCascade="false" table="m_savings_product_charge"/>
<child catalog="fineract_default" column="charge_id" foreignKey="m_share_account_charge_ibfk_1" implied="false" onDeleteCascade="false" table="m_share_account_charge"/>
<child catalog="fineract_default" column="charge_id" foreignKey="m_share_product_charge_ibfk_1" implied="false" onDeleteCascade="false" table="m_share_product_charge"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="name" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="charge_applies_to_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="charge_time_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="charge_calculation_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="charge_payment_mode_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="7" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="fee_on_day" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="fee_interval" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="fee_on_month" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="11" name="is_penalty" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="12" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="13" name="is_deleted" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="14" name="min_cap" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="15" name="max_cap" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="fee_frequency" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="17" name="is_free_withdrawal" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="18" name="free_withdrawal_charge_frequency" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="19" name="restart_frequency" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="20" name="restart_frequency_enum" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="21" name="is_payment_type" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="payment_type_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_payment_detail_m_payment_types" implied="false" onDeleteCascade="false" table="m_payment_type"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="income_or_liability_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_charge_acc_gl_account" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="tax_group_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_charge_m_tax_group" implied="false" onDeleteCascade="false" table="m_tax_group"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_charge_acc_gl_account" unique="false">
<column ascending="true" name="income_or_liability_account_id"/>
</index>
<index name="FK_m_charge_m_tax_group" unique="false">
<column ascending="true" name="tax_group_id"/>
</index>
<index name="FK_m_payment_detail_m_payment_types" unique="false">
<column ascending="true" name="payment_type_id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="m_client" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="client_id" foreignKey="FK1_client_device_registration_m_client" implied="false" onDeleteCascade="false" table="client_device_registration"/>
<child catalog="fineract_default" column="from_client_id" foreignKey="FK_m_account_transfer_details_from_client" implied="false" onDeleteCascade="false" table="m_account_transfer_details"/>
<child catalog="fineract_default" column="to_client_id" foreignKey="FK_m_account_transfer_details_to_client" implied="false" onDeleteCascade="false" table="m_account_transfer_details"/>
<child catalog="fineract_default" column="client_id" foreignKey="clientaddressfk" implied="false" onDeleteCascade="false" table="m_client_address"/>
<child catalog="fineract_default" column="client_id" foreignKey="FK_m_client_m_client_attendance" implied="false" onDeleteCascade="false" table="m_client_attendance"/>
<child catalog="fineract_default" column="client_id" foreignKey="FK_m_client_charge_m_client" implied="false" onDeleteCascade="false" table="m_client_charge"/>
<child catalog="fineract_default" column="client_id" foreignKey="fkClient" implied="false" onDeleteCascade="true" table="m_client_collateral_management"/>
<child catalog="fineract_default" column="client_id" foreignKey="FK_m_client_document_m_client" implied="false" onDeleteCascade="false" table="m_client_identifier"/>
<child catalog="fineract_default" column="client_id" foreignKey="FK_client_id" implied="false" onDeleteCascade="false" table="m_client_non_person"/>
<child catalog="fineract_default" column="client_id" foreignKey="FK_m_client_transaction_m_client" implied="false" onDeleteCascade="false" table="m_client_transaction"/>
<child catalog="fineract_default" column="client_id" foreignKey="FK_m_client_transfer_details_m_client" implied="false" onDeleteCascade="false" table="m_client_transfer_details"/>
<child catalog="fineract_default" column="client_id" foreignKey="FK_m_family_members_client_id_m_client" implied="false" onDeleteCascade="false" table="m_family_members"/>
<child catalog="fineract_default" column="client_id" foreignKey="m_group_client_ibfk_2" implied="false" onDeleteCascade="false" table="m_group_client"/>
<child catalog="fineract_default" column="client_id" foreignKey="FKGroupRoleClientId" implied="false" onDeleteCascade="false" table="m_group_roles"/>
<child catalog="fineract_default" column="client_id" foreignKey="FKB6F935D87179A0CB" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="client_id" foreignKey="FK7C970897179A0CB" implied="false" onDeleteCascade="false" table="m_note"/>
<child catalog="fineract_default" column="client_id" foreignKey="FKSA00000000000001" implied="false" onDeleteCascade="false" table="m_savings_account"/>
<child catalog="fineract_default" column="client_id" foreignKey="m_selfservice_client_id" implied="false" onDeleteCascade="false" table="m_selfservice_user_client_mapping"/>
<child catalog="fineract_default" column="client_id" foreignKey="m_share_account_ibfk_9" implied="false" onDeleteCascade="false" table="m_share_account"/>
<child catalog="fineract_default" column="client_id" foreignKey="m_survey_scorecards_ibfk_5" implied="false" onDeleteCascade="false" table="m_survey_scorecards"/>
<child catalog="fineract_default" column="client_id" foreignKey="FK1_request_audit_table_m_client" implied="false" onDeleteCascade="false" table="request_audit_table"/>
<child catalog="fineract_default" column="client_id" foreignKey="SEFKCLIENT00000001" implied="false" onDeleteCascade="false" table="scheduled_email_messages_outbound"/>
<child catalog="fineract_default" column="client_id" foreignKey="FKCLIENT00000001" implied="false" onDeleteCascade="false" table="sms_messages_outbound"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_no" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="external_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="300" digits="0" id="3" name="status_enum" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="sub_status" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_substatus_m_code_value" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="activation_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="office_joining_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKCE00CAB3E0DD567A" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="transfer_to_office_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_m_office" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="staff_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_m_staff" implied="false" onDeleteCascade="false" table="m_staff"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="firstname" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="middlename" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="lastname" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="fullname" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="14" name="display_name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="mobile_no" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="16" name="is_staff" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="gender_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK1_m_client_gender_m_code_value" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="date_of_birth" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="image_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_m_image" implied="false" onDeleteCascade="false" table="m_image"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="closure_reason_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_m_code" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="closedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="updated_by" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="updated_on" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="submittedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="submittedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="activatedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="closedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="default_savings_product" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_m_savings_product" implied="false" onDeleteCascade="false" table="m_savings_product"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="default_savings_account" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_m_savings_account" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="30" name="client_type_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_type_m_code_value" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="31" name="client_classification_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_classification_m_code_value" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="32" name="reject_reason_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_type_mcode_value_reject" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="33" name="rejectedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="34" name="rejectedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="35" name="withdraw_reason_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_type_m_code_value_withdraw" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="36" name="withdrawn_on_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="37" name="withdraw_on_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="38" name="reactivated_on_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="39" name="reactivated_on_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="40" name="legal_form_enum" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="41" name="reopened_on_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="42" name="reopened_by_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="43" name="email_address" nullable="true" remarks="" size="150" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="44" name="proposed_transfer_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="account_no" unique="true">
<column ascending="true" name="account_no"/>
</index>
<index name="client_staff_id" unique="false">
<column ascending="true" name="staff_id"/>
</index>
<index name="external_id" unique="true">
<column ascending="true" name="external_id"/>
</index>
<index name="FK1_m_client_gender_m_code_value" unique="false">
<column ascending="true" name="gender_cv_id"/>
</index>
<index name="FK_m_client_classification_m_code_value" unique="false">
<column ascending="true" name="client_classification_cv_id"/>
</index>
<index name="FK_m_client_m_code" unique="false">
<column ascending="true" name="closure_reason_cv_id"/>
</index>
<index name="FK_m_client_m_image" unique="false">
<column ascending="true" name="image_id"/>
</index>
<index name="FK_m_client_m_office" unique="false">
<column ascending="true" name="transfer_to_office_id"/>
</index>
<index name="FK_m_client_m_savings_account" unique="false">
<column ascending="true" name="default_savings_account"/>
</index>
<index name="FK_m_client_m_savings_product" unique="false">
<column ascending="true" name="default_savings_product"/>
</index>
<index name="FK_m_client_substatus_m_code_value" unique="false">
<column ascending="true" name="sub_status"/>
</index>
<index name="FK_m_client_type_m_code_value" unique="false">
<column ascending="true" name="client_type_cv_id"/>
</index>
<index name="FK_m_client_type_m_code_value_withdraw" unique="false">
<column ascending="true" name="withdraw_reason_cv_id"/>
</index>
<index name="FK_m_client_type_mcode_value_reject" unique="false">
<column ascending="true" name="reject_reason_cv_id"/>
</index>
<index name="FKCE00CAB3E0DD567A" unique="false">
<column ascending="true" name="office_id"/>
</index>
<index name="mobile_no" unique="true">
<column ascending="true" name="mobile_no"/>
</index>
</table>
<table catalog="fineract_default" name="m_client_address" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="1" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="clientaddressfk" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="0" digits="0" id="2" name="address_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="3" name="address_type_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="address_codefk" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="4" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="address_codefk" unique="false">
<column ascending="true" name="address_type_id"/>
</index>
<index name="addressIdFk" unique="false">
<column ascending="true" name="address_id"/>
</index>
<index name="clientaddressfk" unique="false">
<column ascending="true" name="client_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_client_attendance" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="1" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_m_client_attendance" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="meeting_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_meeting_m_client_attendance" implied="false" onDeleteCascade="false" table="m_meeting"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="attendance_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_meeting_m_client_attendance" unique="false">
<column ascending="true" name="meeting_id"/>
</index>
<index name="unique_client_meeting_attendance" unique="true">
<column ascending="true" name="client_id"/>
<column ascending="true" name="meeting_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_client_charge" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="client_charge_id" foreignKey="FK_m_client_charge_paid_by_m_client_charge" implied="false" onDeleteCascade="false" table="m_client_charge_paid_by"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_charge_m_client" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_charge_m_charge" implied="false" onDeleteCascade="false" table="m_charge"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="is_penalty" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="charge_time_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="charge_due_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="charge_calculation_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="7" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="8" name="amount_paid_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="9" name="amount_waived_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="10" name="amount_writtenoff_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="11" name="amount_outstanding_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="is_paid_derived" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="waived" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="is_active" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="inactivated_on_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_client_charge_m_charge" unique="false">
<column ascending="true" name="charge_id"/>
</index>
<index name="FK_m_client_charge_m_client" unique="false">
<column ascending="true" name="client_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_client_charge_paid_by" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="client_transaction_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_charge_paid_by_m_client_transaction" implied="false" onDeleteCascade="false" table="m_client_transaction"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="client_charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_charge_paid_by_m_client_charge" implied="false" onDeleteCascade="false" table="m_client_charge"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="6" id="3" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_client_charge_paid_by_m_client_charge" unique="false">
<column ascending="true" name="client_charge_id"/>
</index>
<index name="FK_m_client_charge_paid_by_m_client_transaction" unique="false">
<column ascending="true" name="client_transaction_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_client_collateral_management" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="client_collateral_id" foreignKey="fkClientCollateral" implied="false" onDeleteCascade="true" table="m_loan_collateral_management"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="5" id="1" name="quantity" nullable="false" remarks="" size="20" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="client_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fkClient" implied="false" onDeleteCascade="true" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="collateral_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fkCollateral" implied="false" onDeleteCascade="true" table="m_collateral_management"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fkClient" unique="false">
<column ascending="true" name="client_id"/>
</index>
<index name="fkCollateral" unique="false">
<column ascending="true" name="collateral_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_client_identifier" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_document_m_client" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="document_type_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_document_m_code_value" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="document_key" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="300" digits="0" id="4" name="status" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="active" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="description" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_client_document_m_client" unique="false">
<column ascending="true" name="client_id"/>
</index>
<index name="FK_m_client_document_m_code_value" unique="false">
<column ascending="true" name="document_type_id"/>
</index>
<index name="unique_active_client_identifier" unique="true">
<column ascending="true" name="client_id"/>
<column ascending="true" name="document_type_id"/>
<column ascending="true" name="active"/>
</index>
<index name="unique_identifier_key" unique="true">
<column ascending="true" name="document_type_id"/>
<column ascending="true" name="document_key"/>
</index>
</table>
<table catalog="fineract_default" name="m_client_non_person" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_client_id" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="constitution_cv_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="incorp_no" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="incorp_validity_till" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="main_business_line_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="remarks" nullable="true" remarks="" size="150" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="client_id" unique="true">
<column ascending="true" name="client_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_client_transaction" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="client_transaction_id" foreignKey="FK_acc_gl_journal_entry_m_client_transaction" implied="false" onDeleteCascade="false" table="acc_gl_journal_entry"/>
<child catalog="fineract_default" column="client_transaction_id" foreignKey="FK_m_client_charge_paid_by_m_client_transaction" implied="false" onDeleteCascade="false" table="m_client_charge_paid_by"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_transaction_m_client" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="payment_detail_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="is_reversed" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="external_id" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="transaction_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="transaction_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="9" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="10" name="created_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="11" name="appuser_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_transaction_m_appuser" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="external_id" unique="true">
<column ascending="true" name="external_id"/>
</index>
<index name="FK_m_client_transaction_m_appuser" unique="false">
<column ascending="true" name="appuser_id"/>
</index>
<index name="FK_m_client_transaction_m_client" unique="false">
<column ascending="true" name="client_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_client_transfer_details" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_transfer_details_m_client" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="from_office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_transfer_details_m_office" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="to_office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_transfer_details_m_office_2" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="proposed_transfer_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="transfer_type" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="submitted_on" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="submitted_by" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_client_transfer_details_m_appuser" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_client_transfer_details_m_appuser" unique="false">
<column ascending="true" name="submitted_by"/>
</index>
<index name="FK_m_client_transfer_details_m_client" unique="false">
<column ascending="true" name="client_id"/>
</index>
<index name="FK_m_client_transfer_details_m_office" unique="false">
<column ascending="true" name="from_office_id"/>
</index>
<index name="FK_m_client_transfer_details_m_office_2" unique="false">
<column ascending="true" name="to_office_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_code" 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="fineract_default" column="code_id" foreignKey="FKCFCEA42640BE071Z" implied="false" onDeleteCascade="false" table="m_code_value"/>
<child catalog="fineract_default" column="code_id" foreignKey="FK_x_code_id" implied="false" onDeleteCascade="false" table="x_table_column_code_mappings"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="code_name" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="2" name="is_system_defined" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="code_name" unique="true">
<column ascending="true" name="code_name"/>
</index>
</table>
<table catalog="fineract_default" name="m_code_value" 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="fineract_default" column="tag_id" foreignKey="FKGLACC000000002" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
<child catalog="fineract_default" column="tag_id" foreignKey="FK_m_code_value_id" implied="false" onDeleteCascade="false" table="acc_rule_tags"/>
<child catalog="fineract_default" column="country_id" foreignKey="address_fields_codefk2" implied="false" onDeleteCascade="false" table="m_address"/>
<child catalog="fineract_default" column="state_province_id" foreignKey="address_fields_codefk1" implied="false" onDeleteCascade="false" table="m_address"/>
<child catalog="fineract_default" column="client_classification_cv_id" foreignKey="FK_m_client_classification_m_code_value" implied="false" onDeleteCascade="false" table="m_client"/>
<child catalog="fineract_default" column="client_type_cv_id" foreignKey="FK_m_client_type_m_code_value" implied="false" onDeleteCascade="false" table="m_client"/>
<child catalog="fineract_default" column="closure_reason_cv_id" foreignKey="FK_m_client_m_code" implied="false" onDeleteCascade="false" table="m_client"/>
<child catalog="fineract_default" column="gender_cv_id" foreignKey="FK1_m_client_gender_m_code_value" implied="false" onDeleteCascade="false" table="m_client"/>
<child catalog="fineract_default" column="reject_reason_cv_id" foreignKey="FK_m_client_type_mcode_value_reject" implied="false" onDeleteCascade="false" table="m_client"/>
<child catalog="fineract_default" column="sub_status" foreignKey="FK_m_client_substatus_m_code_value" implied="false" onDeleteCascade="false" table="m_client"/>
<child catalog="fineract_default" column="withdraw_reason_cv_id" foreignKey="FK_m_client_type_m_code_value_withdraw" implied="false" onDeleteCascade="false" table="m_client"/>
<child catalog="fineract_default" column="address_type_id" foreignKey="address_codefk" implied="false" onDeleteCascade="false" table="m_client_address"/>
<child catalog="fineract_default" column="document_type_id" foreignKey="FK_m_client_document_m_code_value" implied="false" onDeleteCascade="false" table="m_client_identifier"/>
<child catalog="fineract_default" column="access_type_code_value_id" foreignKey="FK_access_type_code_m_code_value" implied="false" onDeleteCascade="false" table="m_entity_to_entity_access"/>
<child catalog="fineract_default" column="gender_cv_id" foreignKey="FK_m_family_members_gender_m_code_value" implied="false" onDeleteCascade="false" table="m_family_members"/>
<child catalog="fineract_default" column="marital_status_cv_id" foreignKey="FK_m_family_members_marital_status_m_code_value" implied="false" onDeleteCascade="false" table="m_family_members"/>
<child catalog="fineract_default" column="profession_cv_id" foreignKey="FK_m_family_members_profession_m_code_value" implied="false" onDeleteCascade="false" table="m_family_members"/>
<child catalog="fineract_default" column="relationship_cv_id" foreignKey="FK_m_family_members_relationship_m_code_value" implied="false" onDeleteCascade="false" table="m_family_members"/>
<child catalog="fineract_default" column="closure_reason_cv_id" foreignKey="FK_m_group_m_code" implied="false" onDeleteCascade="false" table="m_group"/>
<child catalog="fineract_default" column="role_cv_id" foreignKey="FK_grouprole_m_codevalue" implied="false" onDeleteCascade="false" table="m_group_roles"/>
<child catalog="fineract_default" column="client_reln_cv_id" foreignKey="FK_m_guarantor_m_code_value" implied="false" onDeleteCascade="false" table="m_guarantor"/>
<child catalog="fineract_default" column="loanpurpose_cv_id" foreignKey="FK_m_loanpurpose_codevalue" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="writeoff_reason_cv_id" foreignKey="FK_writeoffreason_m_loan_m_code_value" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="type_cv_id" foreignKey="FK_collateral_code_value" implied="false" onDeleteCascade="false" table="m_loan_collateral"/>
<child catalog="fineract_default" column="reschedule_reason_cv_id" foreignKey="m_loan_reschedule_request_ibfk_2" implied="false" onDeleteCascade="false" table="m_loan_reschedule_request"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="code_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FKCFCEA42640BE071Z" implied="false" onDeleteCascade="false" table="m_code"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="code_value" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="code_description" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="4" name="order_position" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="code_score" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="6" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="7" name="is_mandatory" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="code_value" unique="true">
<column ascending="true" name="code_id"/>
<column ascending="true" name="code_value"/>
</index>
<index name="FKCFCEA42640BE071Z" unique="false">
<column ascending="true" name="code_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_collateral_management" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="collateral_id" foreignKey="fkCollateral" implied="false" onDeleteCascade="true" table="m_client_collateral_management"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="quality" nullable="false" remarks="" size="40" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="5" id="3" name="base_price" nullable="false" remarks="" size="20" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="unit_type" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="5" id="5" name="pct_to_base" nullable="false" remarks="" size="20" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="currency" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fkCurrencyCode" implied="false" onDeleteCascade="true" table="m_currency"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fkCurrencyCode" unique="false">
<column ascending="true" name="currency"/>
</index>
</table>
<table catalog="fineract_default" name="m_creditbureau" numRows="1" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="organisation_creditbureau_id" foreignKey="cbConfigfk1" implied="false" onDeleteCascade="false" table="m_creditbureau_configuration"/>
<child catalog="fineract_default" column="credit_bureau_id" foreignKey="cbId" implied="false" onDeleteCascade="false" table="m_creditreport"/>
<child catalog="fineract_default" column="creditbureau_id" foreignKey="orgcb_cbfk" implied="false" onDeleteCascade="false" table="m_organisation_creditbureau"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="product" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="country" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="implementation_key" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="unique impl" unique="true">
<column ascending="true" name="name"/>
<column ascending="true" name="product"/>
<column ascending="true" name="country"/>
<column ascending="true" name="implementation_key"/>
</index>
</table>
<table catalog="fineract_default" name="m_creditbureau_configuration" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="configkey" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="value" nullable="true" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="organisation_creditbureau_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="cbConfigfk1" implied="false" onDeleteCascade="false" table="m_creditbureau"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="description" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="cbConfigfk1" unique="false">
<column ascending="true" name="organisation_creditbureau_id"/>
</index>
<index name="mcbconfig" unique="true">
<column ascending="true" name="configkey"/>
<column ascending="true" name="organisation_creditbureau_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_creditbureau_loanproduct_mapping" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="organisation_creditbureau_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="cblpfk2" implied="false" onDeleteCascade="false" table="m_organisation_creditbureau"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="loan_product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_cb_lp2" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="is_creditcheck_mandatory" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="skip_creditcheck_in_failure" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="stale_period" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="is_active" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="cblpunique_key" unique="true">
<column ascending="true" name="organisation_creditbureau_id"/>
<column ascending="true" name="loan_product_id"/>
</index>
<index name="fk_cb_lp2" unique="false">
<column ascending="true" name="loan_product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_creditbureau_token" 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="username" nullable="true" remarks="" size="128" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="token" nullable="true" remarks="" size="16777215" type="MEDIUMTEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="token_type" nullable="true" remarks="" size="128" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="expires_in" nullable="true" remarks="" size="128" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="issued" nullable="true" remarks="" size="128" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="expiry_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="m_creditreport" 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="credit_bureau_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="cbId" implied="false" onDeleteCascade="false" table="m_creditbureau"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="national_id" nullable="true" remarks="" size="128" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="credit_reports" nullable="true" remarks="" size="65535" type="BLOB" typeCode="-4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="cbId" unique="false">
<column ascending="true" name="credit_bureau_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_currency" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="currency" foreignKey="fkCurrencyCode" implied="false" onDeleteCascade="true" table="m_collateral_management"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="decimal_places" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="currency_multiplesof" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="display_symbol" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="internationalized_name_code" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="code" unique="true">
<column ascending="true" name="code"/>
</index>
</table>
<table catalog="fineract_default" name="m_deposit_account_on_hold_transaction" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="deposit_on_hold_transaction_id" foreignKey="FK_guarantor_transaction_m_deposit_account_on_hold_transaction" implied="false" onDeleteCascade="false" table="m_guarantor_transaction"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="savings_account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_deposit_on_hold_transaction_m_savings_account" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="6" id="2" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="transaction_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="transaction_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="5" name="is_reversed" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="created_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_deposit_on_hold_transaction_m_savings_account" unique="false">
<column ascending="true" name="savings_account_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_deposit_account_recurring_detail" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="1" name="savings_account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKDARD00000000000001" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="2" name="mandatory_recommended_deposit_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="3" name="is_mandatory" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="4" name="allow_withdrawal" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="5" name="adjust_advance_towards_future_payments" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="6" name="is_calendar_inherited" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="7" name="total_overdue_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="no_of_overdue_installments" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FKDARD00000000000001" unique="false">
<column ascending="true" name="savings_account_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_deposit_account_term_and_preclosure" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="1" name="savings_account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKDATP00000000000001" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="min_deposit_term" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="max_deposit_term" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="min_deposit_term_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="max_deposit_term_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="in_multiples_of_deposit_term" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="in_multiples_of_deposit_term_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="pre_closure_penal_applicable" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="9" name="pre_closure_penal_interest" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="pre_closure_penal_interest_on_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="deposit_period" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="deposit_period_frequency_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="13" name="deposit_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="14" name="maturity_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="maturity_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="on_account_closure_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="expected_firstdepositon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="18" name="transfer_interest_to_linked_account" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="transfer_to_savings_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_deposit_account_term_and_preclosure_ibfk_1" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FKDATP00000000000001" unique="false">
<column ascending="true" name="savings_account_id"/>
</index>
<index name="transfer_to_savings_account_id" unique="false">
<column ascending="true" name="transfer_to_savings_account_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_deposit_product_interest_rate_chart" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="deposit_product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKDPIRC00000000000001" implied="false" onDeleteCascade="false" table="m_savings_product"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="interest_rate_chart_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKDPIRC00000000000002" implied="false" onDeleteCascade="false" table="m_interest_rate_chart"/>
</column>
<index name="deposit_product_id_interest_rate_chart_id" unique="true">
<column ascending="true" name="deposit_product_id"/>
<column ascending="true" name="interest_rate_chart_id"/>
</index>
<index name="FKDPIRC00000000000002" unique="false">
<column ascending="true" name="interest_rate_chart_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_deposit_product_recurring_detail" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="1" name="savings_product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKDPRD00000000000001" implied="false" onDeleteCascade="false" table="m_savings_product"/>
</column>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="2" name="is_mandatory" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="3" name="allow_withdrawal" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="4" name="adjust_advance_towards_future_payments" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FKDPRD00000000000001" unique="false">
<column ascending="true" name="savings_product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_deposit_product_term_and_preclosure" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="1" name="savings_product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKDPTP00000000000001" implied="false" onDeleteCascade="false" table="m_savings_product"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="min_deposit_term" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="max_deposit_term" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="min_deposit_term_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="max_deposit_term_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="in_multiples_of_deposit_term" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="in_multiples_of_deposit_term_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="pre_closure_penal_applicable" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="9" name="pre_closure_penal_interest" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="pre_closure_penal_interest_on_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="11" name="min_deposit_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="12" name="max_deposit_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="13" name="deposit_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FKDPTP00000000000001" unique="false">
<column ascending="true" name="savings_product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_document" 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="fineract_default" column="document_id" foreignKey="FK_m_import_m_document" implied="false" onDeleteCascade="false" table="m_import_document"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="parent_entity_type" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="2" name="parent_entity_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="name" nullable="false" remarks="" size="250" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="file_name" nullable="false" remarks="" size="250" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="5" name="size" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="type" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="description" nullable="true" remarks="" size="1000" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="'0'" digits="0" id="8" name="location" nullable="false" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="storage_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="m_entity_datatable_check" 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="application_table_name" nullable="false" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="x_registered_table_name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12">
<parent catalog="fineract_default" column="registered_table_name" foreignKey="m_entity_datatable_check_ibfk_1" implied="false" onDeleteCascade="false" table="x_registered_table"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="status_enum" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="4" name="system_defined" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="product_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="product_id" unique="false">
<column ascending="true" name="product_id"/>
</index>
<index name="unique_entity_check" unique="true">
<column ascending="true" name="application_table_name"/>
<column ascending="true" name="x_registered_table_name"/>
<column ascending="true" name="status_enum"/>
<column ascending="true" name="product_id"/>
</index>
<index name="x_registered_table_name" unique="false">
<column ascending="true" name="x_registered_table_name"/>
</index>
</table>
<table catalog="fineract_default" name="m_entity_relation" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="rel_id" foreignKey="FK__rel_id_m_entity_relation_id" implied="false" onDeleteCascade="false" table="m_entity_to_entity_mapping"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="from_entity_type" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="to_entity_type" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="code_name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="from_entity_type_to_entity_type_code_name" unique="true">
<column ascending="true" name="from_entity_type"/>
<column ascending="true" name="to_entity_type"/>
<column ascending="true" name="code_name"/>
</index>
</table>
<table catalog="fineract_default" name="m_entity_to_entity_access" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="entity_type" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="entity_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="access_type_code_value_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_access_type_code_m_code_value" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="second_entity_type" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="second_entity_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_access_type_code_m_code_value" unique="false">
<column ascending="true" name="access_type_code_value_id"/>
</index>
<index name="id_uniq_m_entity_to_entity_access" unique="true">
<column ascending="true" name="entity_type"/>
<column ascending="true" name="entity_id"/>
<column ascending="true" name="access_type_code_value_id"/>
<column ascending="true" name="second_entity_type"/>
<column ascending="true" name="second_entity_id"/>
</index>
<index name="IDX_OFFICE" unique="false">
<column ascending="true" name="entity_type"/>
<column ascending="true" name="entity_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_entity_to_entity_mapping" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="1" name="rel_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK__rel_id_m_entity_relation_id" implied="false" onDeleteCascade="false" table="m_entity_relation"/>
</column>
<column autoUpdated="false" defaultValue="0" digits="0" id="2" name="from_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="to_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="start_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="end_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="rel_id_from_id_to_id" unique="true">
<column ascending="true" name="rel_id"/>
<column ascending="true" name="from_id"/>
<column ascending="true" name="to_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_family_members" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_family_members_client_id_m_client" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="firstname" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="middlename" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="lastname" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="qualification" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="relationship_cv_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_family_members_relationship_m_code_value" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="marital_status_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_family_members_marital_status_m_code_value" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="gender_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_family_members_gender_m_code_value" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="date_of_birth" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="age" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="profession_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_family_members_profession_m_code_value" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="mobile_number" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="is_dependent" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_family_members_client_id_m_client" unique="false">
<column ascending="true" name="client_id"/>
</index>
<index name="FK_m_family_members_gender_m_code_value" unique="false">
<column ascending="true" name="gender_cv_id"/>
</index>
<index name="FK_m_family_members_marital_status_m_code_value" unique="false">
<column ascending="true" name="marital_status_cv_id"/>
</index>
<index name="FK_m_family_members_profession_m_code_value" unique="false">
<column ascending="true" name="profession_cv_id"/>
</index>
<index name="FK_m_family_members_relationship_m_code_value" unique="false">
<column ascending="true" name="relationship_cv_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_field_configuration" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="entity" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="subentity" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="field" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="is_enabled" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="is_mandatory" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="validation_regex" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="m_floating_rates" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="floating_rates_id" foreignKey="FK_mappings_m_floating_rates" implied="false" onDeleteCascade="false" table="m_floating_rates_periods"/>
<child catalog="fineract_default" column="floating_rates_id" foreignKey="FK_mappings_m_floating_rates_id" implied="false" onDeleteCascade="false" table="m_product_loan_floating_rates"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="2" name="is_base_lending_rate" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="3" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="createdby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="created_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="lastmodifiedby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="lastmodified_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="m_floating_rates_periods" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="floating_rates_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_mappings_m_floating_rates" implied="false" onDeleteCascade="false" table="m_floating_rates"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="from_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="3" name="interest_rate" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="4" name="is_differential_to_base_lending_rate" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="5" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="createdby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="created_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="lastmodifiedby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="lastmodified_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_mappings_m_floating_rates" unique="false">
<column ascending="true" name="floating_rates_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_fund" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="fund_id" foreignKey="FK7C885877240145" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="fund_id" foreignKey="FKA6A8A7D77240145" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="name" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="external_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="external_id" unique="true">
<column ascending="true" name="external_id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="m_group" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="group_id" foreignKey="FK_group_id" implied="false" onDeleteCascade="false" table="glim_accounts"/>
<child catalog="fineract_default" column="group_id" foreignKey="FK_gsim_group_id" implied="false" onDeleteCascade="false" table="gsim_accounts"/>
<child catalog="fineract_default" column="parent_id" foreignKey="Parent_Id_reference" implied="false" onDeleteCascade="false" table="m_group"/>
<child catalog="fineract_default" column="group_id" foreignKey="m_group_client_ibfk_1" implied="false" onDeleteCascade="false" table="m_group_client"/>
<child catalog="fineract_default" column="group_id" foreignKey="FKGroupRoleGroupId" implied="false" onDeleteCascade="false" table="m_group_roles"/>
<child catalog="fineract_default" column="group_id" foreignKey="m_loan_ibfk_1" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="group_id" foreignKey="FK_m_note_m_group" implied="false" onDeleteCascade="false" table="m_note"/>
<child catalog="fineract_default" column="group_id" foreignKey="FKSA00000000000002" implied="false" onDeleteCascade="false" table="m_savings_account"/>
<child catalog="fineract_default" column="centre_id" foreignKey="FK_m_staff_assignment_history_centre_id_m_group" implied="false" onDeleteCascade="false" table="m_staff_assignment_history"/>
<child catalog="fineract_default" column="group_id" foreignKey="SEFKGROUP000000001" implied="false" onDeleteCascade="false" table="scheduled_email_messages_outbound"/>
<child catalog="fineract_default" column="group_id" foreignKey="FKGROUP000000001" implied="false" onDeleteCascade="false" table="sms_messages_outbound"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="external_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="300" digits="0" id="2" name="status_enum" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="activation_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_group_ibfk_1" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="staff_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_group_m_staff" implied="false" onDeleteCascade="false" table="m_staff"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="parent_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="Parent_Id_reference" implied="false" onDeleteCascade="false" table="m_group"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="level_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_group_level" implied="false" onDeleteCascade="false" table="m_group_level"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="display_name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="hierarchy" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="closure_reason_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_group_m_code" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="closedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="activatedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="submittedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="submittedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="closedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="16" name="account_no" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="external_id" unique="true">
<column ascending="true" name="external_id"/>
</index>
<index name="FK_m_group_level" unique="false">
<column ascending="true" name="level_id"/>
</index>
<index name="FK_m_group_m_code" unique="false">
<column ascending="true" name="closure_reason_cv_id"/>
</index>
<index name="group_office_id" unique="false">
<column ascending="true" name="office_id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="display_name"/>
<column ascending="true" name="level_id"/>
</index>
<index name="Parent_Id_reference" unique="false">
<column ascending="true" name="parent_id"/>
</index>
<index name="staff_id" unique="false">
<column ascending="true" name="staff_id"/>
</index>
<index name="uk_m_group_external_id" unique="true">
<column ascending="true" name="external_id"/>
<column ascending="true" name="level_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_group_client" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="group_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_group_client_ibfk_1" implied="false" onDeleteCascade="false" table="m_group"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_group_client_ibfk_2" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<primaryKey column="client_id" sequenceNumberInPK="1"/>
<primaryKey column="group_id" sequenceNumberInPK="2"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="group_id"/>
<column ascending="true" name="client_id"/>
</index>
<index name="client_id" unique="false">
<column ascending="true" name="client_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_group_level" 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="fineract_default" column="level_id" foreignKey="FK_m_group_level" implied="false" onDeleteCascade="false" table="m_group"/>
<child catalog="fineract_default" column="parent_id" foreignKey="Parent_levelId_reference" implied="false" onDeleteCascade="false" table="m_group_level"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="parent_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="Parent_levelId_reference" implied="false" onDeleteCascade="false" table="m_group_level"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="super_parent" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="level_name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="recursable" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="can_have_clients" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="Parent_levelId_reference" unique="false">
<column ascending="true" name="parent_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_group_roles" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="client_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKGroupRoleClientId" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="group_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKGroupRoleGroupId" implied="false" onDeleteCascade="false" table="m_group"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="role_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_grouprole_m_codevalue" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_grouprole_m_codevalue" unique="false">
<column ascending="true" name="role_cv_id"/>
</index>
<index name="FKGroupRoleClientId" unique="false">
<column ascending="true" name="client_id"/>
</index>
<index name="FKGroupRoleGroupId" unique="false">
<column ascending="true" name="group_id"/>
</index>
<index name="UNIQUE_GROUP_ROLES" unique="true">
<column ascending="true" name="client_id"/>
<column ascending="true" name="group_id"/>
<column ascending="true" name="role_cv_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_guarantor" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="guarantor_id" foreignKey="FK_m_guarantor_fund_details_m_guarantor" implied="false" onDeleteCascade="false" table="m_guarantor_funding_details"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_guarantor_m_loan" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="client_reln_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_guarantor_m_code_value" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="entity_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="firstname" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="lastname" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="dob" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="address_line_1" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="address_line_2" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="city" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="state" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="country" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="zip" nullable="true" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="house_phone_number" nullable="true" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="mobile_number" nullable="true" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="comment" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="17" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_guarantor_m_code_value" unique="false">
<column ascending="true" name="client_reln_cv_id"/>
</index>
<index name="FK_m_guarantor_m_loan" unique="false">
<column ascending="true" name="loan_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_guarantor_funding_details" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="guarantor_fund_detail_id" foreignKey="FK_guarantor_transaction_guarantor_fund_detail" implied="false" onDeleteCascade="false" table="m_guarantor_transaction"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="guarantor_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_guarantor_fund_details_m_guarantor" implied="false" onDeleteCascade="false" table="m_guarantor"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="account_associations_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_guarantor_fund_details_account_associations_id" implied="false" onDeleteCascade="false" table="m_portfolio_account_associations"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="6" id="3" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="4" name="amount_released_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="5" name="amount_remaining_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="amount_transfered_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="status_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_guarantor_fund_details_account_associations_id" unique="false">
<column ascending="true" name="account_associations_id"/>
</index>
<index name="FK_m_guarantor_fund_details_m_guarantor" unique="false">
<column ascending="true" name="guarantor_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_guarantor_transaction" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="guarantor_fund_detail_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_guarantor_transaction_guarantor_fund_detail" implied="false" onDeleteCascade="false" table="m_guarantor_funding_details"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="loan_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_guarantor_transaction_m_loan_transaction" implied="false" onDeleteCascade="false" table="m_loan_transaction"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="deposit_on_hold_transaction_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_guarantor_transaction_m_deposit_account_on_hold_transaction" implied="false" onDeleteCascade="false" table="m_deposit_account_on_hold_transaction"/>
</column>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="4" name="is_reversed" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_guarantor_transaction_guarantor_fund_detail" unique="false">
<column ascending="true" name="guarantor_fund_detail_id"/>
</index>
<index name="FK_guarantor_transaction_m_deposit_account_on_hold_transaction" unique="false">
<column ascending="true" name="deposit_on_hold_transaction_id"/>
</index>
<index name="FK_guarantor_transaction_m_loan_transaction" unique="false">
<column ascending="true" name="loan_transaction_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_holiday" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="holiday_id" foreignKey="m_holiday_id_ibfk_1" implied="false" onDeleteCascade="false" table="m_holiday_office"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="from_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="to_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="repayments_rescheduled_to" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="100" digits="0" id="5" name="status_enum" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="6" name="processed" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="description" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="2" digits="0" id="8" name="rescheduling_type" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="holiday_name" unique="true">
<column ascending="true" name="name"/>
<column ascending="true" name="from_date"/>
</index>
</table>
<table catalog="fineract_default" name="m_holiday_office" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="holiday_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_holiday_id_ibfk_1" implied="false" onDeleteCascade="false" table="m_holiday"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_office_id_ibfk_2" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<primaryKey column="holiday_id" sequenceNumberInPK="1"/>
<primaryKey column="office_id" sequenceNumberInPK="2"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="holiday_id"/>
<column ascending="true" name="office_id"/>
</index>
<index name="m_holiday_id_ibfk_1" unique="false">
<column ascending="true" name="holiday_id"/>
</index>
<index name="m_office_id_ibfk_2" unique="false">
<column ascending="true" name="office_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_hook" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="hook_id" foreignKey="fk_hook_id_cfg" implied="false" onDeleteCascade="false" table="m_hook_configuration"/>
<child catalog="fineract_default" column="hook_id" foreignKey="fk_hook_idc" implied="false" onDeleteCascade="false" table="m_hook_registered_events"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="template_id" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5">
<parent catalog="fineract_default" column="id" foreignKey="fk_template_id" implied="false" onDeleteCascade="false" table="m_hook_templates"/>
</column>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="2" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="name" nullable="false" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="ugd_template_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_ugd_template_id" implied="false" onDeleteCascade="false" table="m_template"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_template_id_idx" unique="false">
<column ascending="true" name="template_id"/>
</index>
<index name="fk_ugd_template_id" unique="false">
<column ascending="true" name="ugd_template_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_hook_configuration" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="hook_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_hook_id_cfg" implied="false" onDeleteCascade="false" table="m_hook"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="field_type" nullable="false" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="field_name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="field_value" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_hook_configuration_hook" unique="false">
<column ascending="true" name="hook_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_hook_registered_events" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="hook_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_hook_idc" implied="false" onDeleteCascade="false" table="m_hook"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="entity_name" nullable="false" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="action_name" nullable="false" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_hook_id_idx" unique="false">
<column ascending="true" name="hook_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_hook_schema" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="hook_template_id" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5">
<parent catalog="fineract_default" column="id" foreignKey="fk_hook_template_id" implied="false" onDeleteCascade="false" table="m_hook_templates"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="field_type" nullable="false" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="field_name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="placeholder" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="5" name="optional" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_hook_template_id_idx" unique="false">
<column ascending="true" name="hook_template_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_hook_templates" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5">
<child catalog="fineract_default" column="template_id" foreignKey="fk_template_id" implied="false" onDeleteCascade="false" table="m_hook"/>
<child catalog="fineract_default" column="hook_template_id" foreignKey="fk_hook_template_id" implied="false" onDeleteCascade="false" table="m_hook_schema"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="m_image" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="image_id" foreignKey="FK_m_client_m_image" implied="false" onDeleteCascade="false" table="m_client"/>
<child catalog="fineract_default" column="image_id" foreignKey="FK_m_staff_m_image" implied="false" onDeleteCascade="false" table="m_staff"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="location" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="storage_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="m_import_document" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="document_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_import_m_document" implied="false" onDeleteCascade="false" table="m_document"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="import_time" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="end_time" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="entity_type" nullable="false" remarks="" size="3" type="TINYINT" typeCode="-6"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="5" name="completed" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="6" name="total_records" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="7" name="success_count" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="8" name="failure_count" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_import_m_appuser" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_import_m_appuser" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="import_document_id" unique="false">
<column ascending="true" name="document_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_interest_incentives" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="interest_rate_slab_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_interest_incentives_m_interest_rate_slab" implied="false" onDeleteCascade="false" table="m_interest_rate_slab"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="entiry_type" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="attribute_name" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="condition_type" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="attribute_value" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="incentive_type" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="7" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_interest_incentives_m_interest_rate_slab" unique="false">
<column ascending="true" name="interest_rate_slab_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_interest_rate_chart" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="interest_rate_chart_id" foreignKey="FKDPIRC00000000000002" implied="false" onDeleteCascade="false" table="m_deposit_product_interest_rate_chart"/>
<child catalog="fineract_default" column="interest_rate_chart_id" foreignKey="FKIRS00000000000001" implied="false" onDeleteCascade="false" table="m_interest_rate_slab"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="name" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="from_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="end_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="5" name="is_primary_grouping_by_amount" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="m_interest_rate_slab" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="interest_rate_slab_id" foreignKey="FK_m_interest_incentives_m_interest_rate_slab" implied="false" onDeleteCascade="false" table="m_interest_incentives"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="interest_rate_chart_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKIRS00000000000001" implied="false" onDeleteCascade="false" table="m_interest_rate_chart"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="period_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="from_period" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="to_period" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="amount_range_from" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="7" name="amount_range_to" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="8" name="annual_interest_rate" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FKIRS00000000000001" unique="false">
<column ascending="true" name="interest_rate_chart_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="from_loan_account_id" foreignKey="FK_m_account_transfer_details_from_loan_account" implied="false" onDeleteCascade="false" table="m_account_transfer_details"/>
<child catalog="fineract_default" column="to_loan_account_id" foreignKey="FK_m_account_transfer_details_to_loan_account" implied="false" onDeleteCascade="false" table="m_account_transfer_details"/>
<child catalog="fineract_default" column="loan_id" foreignKey="FK_m_guarantor_m_loan" implied="false" onDeleteCascade="false" table="m_guarantor"/>
<child catalog="fineract_default" column="loan_id" foreignKey="m_loan_arrears_aging_ibfk_1" implied="false" onDeleteCascade="false" table="m_loan_arrears_aging"/>
<child catalog="fineract_default" column="loan_id" foreignKey="m_loan_charge_ibfk_2" implied="false" onDeleteCascade="false" table="m_loan_charge"/>
<child catalog="fineract_default" column="loan_id" foreignKey="FK_collateral_m_loan" implied="false" onDeleteCascade="false" table="m_loan_collateral"/>
<child catalog="fineract_default" column="loan_id" foreignKey="fkLoan" implied="false" onDeleteCascade="true" table="m_loan_collateral_management"/>
<child catalog="fineract_default" column="loan_id" foreignKey="FK_loan_disbursement_detail_loan_id" implied="false" onDeleteCascade="false" table="m_loan_disbursement_detail"/>
<child catalog="fineract_default" column="loan_id" foreignKey="fk_m_loan_officer_assignment_history_0001" implied="false" onDeleteCascade="false" table="m_loan_officer_assignment_history"/>
<child catalog="fineract_default" column="loan_id" foreignKey="m_loan_paid_in_advance_ibfk_1" implied="false" onDeleteCascade="false" table="m_loan_paid_in_advance"/>
<child catalog="fineract_default" column="loan_id" foreignKey="FK_M_LOAN_RATE_LOAN" implied="false" onDeleteCascade="false" table="m_loan_rate"/>
<child catalog="fineract_default" column="loan_id" foreignKey="FK_m_loan_m_loan_recalculation_details" implied="false" onDeleteCascade="false" table="m_loan_recalculation_details"/>
<child catalog="fineract_default" column="loan_id" foreignKey="FK488B92AA40BE0710" implied="false" onDeleteCascade="false" table="m_loan_repayment_schedule"/>
<child catalog="fineract_default" column="loan_id" foreignKey="m_loan_repayment_schedule_history_ibfk_1" implied="false" onDeleteCascade="false" table="m_loan_repayment_schedule_history"/>
<child catalog="fineract_default" column="loan_id" foreignKey="m_loan_reschedule_request_ibfk_1" implied="false" onDeleteCascade="false" table="m_loan_reschedule_request"/>
<child catalog="fineract_default" column="loan_id" foreignKey="FK_loan_id_m_loan_id" implied="false" onDeleteCascade="false" table="m_loan_term_variations"/>
<child catalog="fineract_default" column="closure_loan_id" foreignKey="m_loan_topup_FK_closure_loan_id" implied="false" onDeleteCascade="false" table="m_loan_topup"/>
<child catalog="fineract_default" column="loan_id" foreignKey="m_loan_topup_FK_loan_id" implied="false" onDeleteCascade="false" table="m_loan_topup"/>
<child catalog="fineract_default" column="loan_id" foreignKey="FK_m_loan_tranche_charges_m_loan" implied="false" onDeleteCascade="false" table="m_loan_tranche_charges"/>
<child catalog="fineract_default" column="loan_id" foreignKey="FKCFCEA42640BE0710" implied="false" onDeleteCascade="false" table="m_loan_transaction"/>
<child catalog="fineract_default" column="loan_id" foreignKey="FK7C9708940BE0710" implied="false" onDeleteCascade="false" table="m_note"/>
<child catalog="fineract_default" column="linked_loan_account_id" foreignKey="linked_loan_fk" implied="false" onDeleteCascade="false" table="m_portfolio_account_associations"/>
<child catalog="fineract_default" column="loan_account_id" foreignKey="account_association_loan_fk" implied="false" onDeleteCascade="false" table="m_portfolio_account_associations"/>
<child catalog="fineract_default" column="loan_id" foreignKey="fkloanrepayment" implied="false" onDeleteCascade="true" table="m_repayment_with_post_dated_checks"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_no" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="external_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="client_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKB6F935D87179A0CB" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="group_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_ibfk_1" implied="false" onDeleteCascade="false" table="m_group"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="glim_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_glim_id" implied="false" onDeleteCascade="false" table="glim_accounts"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="product_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKB6F935D8C8D4B434" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="fund_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK7C885877240145" implied="false" onDeleteCascade="false" table="m_fund"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="loan_officer_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_loan_m_staff" implied="false" onDeleteCascade="false" table="m_staff"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="loanpurpose_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_loanpurpose_codevalue" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="10" name="loan_status_id" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="11" name="loan_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="12" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="13" name="currency_digits" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="currency_multiplesof" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="15" name="principal_amount_proposed" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="16" name="principal_amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="17" name="approved_principal" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="18" name="net_disbursal_amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="19" name="arrearstolerance_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="20" name="is_floating_interest_rate" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="21" name="interest_rate_differential" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="22" name="nominal_interest_rate_per_period" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="interest_period_frequency_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="24" name="annual_nominal_interest_rate" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="25" name="interest_method_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="1" digits="0" id="26" name="interest_calculated_in_period_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="27" name="allow_partial_period_interest_calcualtion" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="28" name="term_frequency" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="2" digits="0" id="29" name="term_period_frequency_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="30" name="repay_every" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="31" name="repayment_period_frequency_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="32" name="number_of_repayments" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="33" name="grace_on_principal_periods" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="34" name="recurring_moratorium_principal_periods" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="35" name="grace_on_interest_periods" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="36" name="grace_interest_free_periods" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="37" name="amortization_method_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="38" name="submittedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="39" name="submittedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_submittedon_userid" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="40" name="approvedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="41" name="approvedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_approvedon_userid" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="42" name="expected_disbursedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="43" name="expected_firstrepaymenton_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="44" name="interest_calculated_from_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="45" name="disbursedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="46" name="disbursedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_disbursedon_userid" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="47" name="expected_maturedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="48" name="maturedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="49" name="closedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="50" name="closedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_closedon_userid" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="51" name="total_charges_due_at_disbursement_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="52" name="principal_disbursed_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="53" name="principal_repaid_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="54" name="principal_writtenoff_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="55" name="principal_outstanding_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="56" name="interest_charged_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="57" name="interest_repaid_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="58" name="interest_waived_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="59" name="interest_writtenoff_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="60" name="interest_outstanding_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="61" name="fee_charges_charged_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="62" name="fee_charges_repaid_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="63" name="fee_charges_waived_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="64" name="fee_charges_writtenoff_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="65" name="fee_charges_outstanding_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="66" name="penalty_charges_charged_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="67" name="penalty_charges_repaid_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="68" name="penalty_charges_waived_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="69" name="penalty_charges_writtenoff_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="70" name="penalty_charges_outstanding_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="71" name="total_expected_repayment_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="72" name="total_repayment_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="73" name="total_expected_costofloan_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="74" name="total_costofloan_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="75" name="total_waived_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="76" name="total_writtenoff_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="77" name="total_outstanding_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="78" name="total_overpaid_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="79" name="rejectedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="80" name="rejectedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_rejectedon_userid" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="81" name="rescheduledon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="82" name="rescheduledon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="83" name="withdrawnon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="84" name="withdrawnon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_withdrawnon_userid" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="85" name="writtenoffon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="86" name="loan_transaction_strategy_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_loan_ltp_strategy" implied="false" onDeleteCascade="false" table="ref_loan_transaction_processing_strategy"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="87" name="sync_disbursement_with_meeting" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="88" name="loan_counter" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="89" name="loan_product_counter" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="90" name="fixed_emi_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="91" name="max_outstanding_loan_balance" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="92" name="grace_on_arrears_ageing" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="93" name="is_npa" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="94" name="total_recovered_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="95" name="accrued_till" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="96" name="interest_recalcualated_on" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="1" digits="0" id="97" name="days_in_month_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="1" digits="0" id="98" name="days_in_year_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="99" name="interest_recalculation_enabled" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="100" name="guarantee_amount_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="101" name="create_standing_instruction_at_disbursement" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="1" digits="0" id="102" name="version" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="103" name="writeoff_reason_cv_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_writeoffreason_m_loan_m_code_value" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="104" name="loan_sub_status_id" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="105" name="is_topup" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="106" name="is_equal_amortization" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="2" id="107" name="fixed_principal_percentage_per_installment" nullable="true" remarks="" size="5" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="account_no" unique="true">
<column ascending="true" name="account_no"/>
</index>
<index name="external_id" unique="true">
<column ascending="true" name="external_id"/>
</index>
<index name="FK7C885877240145" unique="false">
<column ascending="true" name="fund_id"/>
</index>
<index name="FK_approvedon_userid" unique="false">
<column ascending="true" name="approvedon_userid"/>
</index>
<index name="FK_closedon_userid" unique="false">
<column ascending="true" name="closedon_userid"/>
</index>
<index name="FK_disbursedon_userid" unique="false">
<column ascending="true" name="disbursedon_userid"/>
</index>
<index name="FK_glim_id" unique="false">
<column ascending="true" name="glim_id"/>
</index>
<index name="FK_loan_ltp_strategy" unique="false">
<column ascending="true" name="loan_transaction_strategy_id"/>
</index>
<index name="fk_m_group_client_001_idx" unique="false">
<column ascending="true" name="group_id"/>
<column ascending="true" name="client_id"/>
</index>
<index name="FK_m_loan_m_staff" unique="false">
<column ascending="true" name="loan_officer_id"/>
</index>
<index name="FK_m_loanpurpose_codevalue" unique="false">
<column ascending="true" name="loanpurpose_cv_id"/>
</index>
<index name="FK_rejectedon_userid" unique="false">
<column ascending="true" name="rejectedon_userid"/>
</index>
<index name="FK_submittedon_userid" unique="false">
<column ascending="true" name="submittedon_userid"/>
</index>
<index name="FK_withdrawnon_userid" unique="false">
<column ascending="true" name="withdrawnon_userid"/>
</index>
<index name="FK_writeoffreason_m_loan_m_code_value" unique="false">
<column ascending="true" name="writeoff_reason_cv_id"/>
</index>
<index name="FKB6F935D87179A0CB" unique="false">
<column ascending="true" name="client_id"/>
</index>
<index name="FKB6F935D8C8D4B434" unique="false">
<column ascending="true" name="product_id"/>
</index>
<index name="group_id" unique="false">
<column ascending="true" name="group_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_arrears_aging" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_arrears_aging_ibfk_1" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="1" name="principal_overdue_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="2" name="interest_overdue_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="3" name="fee_charges_overdue_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="4" name="penalty_charges_overdue_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="5" name="total_overdue_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="overdue_since_date_derived" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="loan_id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="loan_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_charge" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="loan_charge_id" foreignKey="FK__m_loan_charge" implied="false" onDeleteCascade="false" table="m_loan_charge_paid_by"/>
<child catalog="fineract_default" column="loan_charge_id" foreignKey="FK_loan_charge_id_charge_schedule" implied="false" onDeleteCascade="false" table="m_loan_installment_charge"/>
<child catalog="fineract_default" column="loan_charge_id" foreignKey="FK_m_loan_overdue_installment_charge_m_loan_charge" implied="false" onDeleteCascade="false" table="m_loan_overdue_installment_charge"/>
<child catalog="fineract_default" column="loan_charge_id" foreignKey="FK_m_loan_tranche_disbursement_charge_m_loan_charge" implied="false" onDeleteCascade="false" table="m_loan_tranche_disbursement_charge"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_charge_ibfk_2" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_charge_ibfk_1" implied="false" onDeleteCascade="false" table="m_charge"/>
</column>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="3" name="is_penalty" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="charge_time_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="due_for_collection_as_of_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="charge_calculation_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="7" name="charge_payment_mode_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="8" name="calculation_percentage" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="9" name="calculation_on_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="10" name="charge_amount_or_percentage" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="11" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="12" name="amount_paid_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="13" name="amount_waived_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="14" name="amount_writtenoff_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="15" name="amount_outstanding_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="16" name="is_paid_derived" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="17" name="waived" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="18" name="min_cap" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="19" name="max_cap" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="20" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="external_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="charge_id" unique="false">
<column ascending="true" name="charge_id"/>
</index>
<index name="external_id" unique="true">
<column ascending="true" name="external_id"/>
</index>
<index name="m_loan_charge_ibfk_2" unique="false">
<column ascending="true" name="loan_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_charge_paid_by" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_transaction_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK__m_loan_transaction" implied="false" onDeleteCascade="false" table="m_loan_transaction"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="loan_charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK__m_loan_charge" implied="false" onDeleteCascade="false" table="m_loan_charge"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="6" id="3" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="installment_number" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK__m_loan_charge" unique="false">
<column ascending="true" name="loan_charge_id"/>
</index>
<index name="FK__m_loan_transaction" unique="false">
<column ascending="true" name="loan_transaction_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_collateral" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_collateral_m_loan" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="type_cv_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_collateral_code_value" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="3" name="value" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="description" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_collateral_code_value" unique="false">
<column ascending="true" name="type_cv_id"/>
</index>
<index name="FK_collateral_m_loan" unique="false">
<column ascending="true" name="loan_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_collateral_management" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="5" id="1" name="quantity" nullable="false" remarks="" size="20" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="loan_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fkLoan" implied="false" onDeleteCascade="true" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="client_collateral_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fkClientCollateral" implied="false" onDeleteCascade="true" table="m_client_collateral_management"/>
</column>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="4" name="is_released" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fkTransaction" implied="false" onDeleteCascade="true" table="m_loan_transaction"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fkClientCollateral" unique="false">
<column ascending="true" name="client_collateral_id"/>
</index>
<index name="fkLoan" unique="false">
<column ascending="true" name="loan_id"/>
</index>
<index name="fkTransaction" unique="false">
<column ascending="true" name="transaction_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_disbursement_detail" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="disbursement_detail_id" foreignKey="FK_m_loan_tranche_disbursement_charge_m_loan_disbursement_detail" implied="false" onDeleteCascade="false" table="m_loan_tranche_disbursement_charge"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_loan_disbursement_detail_loan_id" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="expected_disburse_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="disbursedon_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="4" name="principal" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="5" name="net_disbursal_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_loan_disbursement_detail_loan_id" unique="false">
<column ascending="true" name="loan_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_installment_charge" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_loan_charge_id_charge_schedule" implied="false" onDeleteCascade="false" table="m_loan_charge"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="loan_schedule_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_loan_schedule_id_charge_schedule" implied="false" onDeleteCascade="false" table="m_loan_repayment_schedule"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="due_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="4" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="5" name="amount_paid_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="amount_waived_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="7" name="amount_writtenoff_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="8" name="amount_outstanding_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="9" name="is_paid_derived" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="10" name="waived" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="11" name="amount_through_charge_payment" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_loan_charge_id_charge_schedule" unique="false">
<column ascending="true" name="loan_charge_id"/>
</index>
<index name="FK_loan_schedule_id_charge_schedule" unique="false">
<column ascending="true" name="loan_schedule_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_interest_recalculation_additional_details" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_repayment_schedule_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_additional_details_repayment_schedule_id" implied="false" onDeleteCascade="false" table="m_loan_repayment_schedule"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="effective_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="3" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_additional_details_repayment_schedule_id" unique="false">
<column ascending="true" name="loan_repayment_schedule_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_officer_assignment_history" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_m_loan_officer_assignment_history_0001" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="loan_officer_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_m_loan_officer_assignment_history_0002" implied="false" onDeleteCascade="false" table="m_staff"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="start_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="end_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_m_loan_officer_assignment_history_0001" unique="false">
<column ascending="true" name="loan_id"/>
</index>
<index name="fk_m_loan_officer_assignment_history_0002" unique="false">
<column ascending="true" name="loan_officer_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_overdue_installment_charge" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_loan_overdue_installment_charge_m_loan_charge" implied="false" onDeleteCascade="false" table="m_loan_charge"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="loan_schedule_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_loan_overdue_installment_charge_m_loan_repayment_schedule" implied="false" onDeleteCascade="false" table="m_loan_repayment_schedule"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="frequency_number" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_loan_overdue_installment_charge_m_loan_charge" unique="false">
<column ascending="true" name="loan_charge_id"/>
</index>
<index name="FK_m_loan_overdue_installment_charge_m_loan_repayment_schedule" unique="false">
<column ascending="true" name="loan_schedule_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_paid_in_advance" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_paid_in_advance_ibfk_1" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="1" name="principal_in_advance_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="2" name="interest_in_advance_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="3" name="fee_charges_in_advance_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="4" name="penalty_charges_in_advance_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="5" name="total_in_advance_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="loan_id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="loan_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_rate" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_M_LOAN_RATE_LOAN" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="rate_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_M_LOAN_RATE_RATE" implied="false" onDeleteCascade="false" table="m_rate"/>
</column>
<primaryKey column="loan_id" sequenceNumberInPK="1"/>
<primaryKey column="rate_id" sequenceNumberInPK="2"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="loan_id"/>
<column ascending="true" name="rate_id"/>
</index>
<index name="FK_M_LOAN_RATE_RATE" unique="false">
<column ascending="true" name="rate_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_recalculation_details" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_loan_m_loan_recalculation_details" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="compound_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="reschedule_strategy_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="rest_frequency_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="5" name="rest_frequency_interval" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="compounding_frequency_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="compounding_frequency_interval" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="rest_frequency_nth_day_enum" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="rest_frequency_on_day" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="rest_frequency_weekday_enum" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="compounding_frequency_nth_day_enum" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="compounding_frequency_on_day" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="13" name="is_compounding_to_be_posted_as_transaction" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="compounding_frequency_weekday_enum" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="15" name="allow_compounding_on_eod" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_loan_m_loan_recalculation_details" unique="false">
<column ascending="true" name="loan_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_repayment_schedule" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="loan_schedule_id" foreignKey="FK_loan_schedule_id_charge_schedule" implied="false" onDeleteCascade="false" table="m_loan_installment_charge"/>
<child catalog="fineract_default" column="loan_repayment_schedule_id" foreignKey="FK_additional_details_repayment_schedule_id" implied="false" onDeleteCascade="false" table="m_loan_interest_recalculation_additional_details"/>
<child catalog="fineract_default" column="loan_schedule_id" foreignKey="FK_m_loan_overdue_installment_charge_m_loan_repayment_schedule" implied="false" onDeleteCascade="false" table="m_loan_overdue_installment_charge"/>
<child catalog="fineract_default" column="loan_repayment_schedule_id" foreignKey="FK_mappings_m_loan_repayment_schedule" implied="false" onDeleteCascade="false" table="m_loan_transaction_repayment_schedule_mapping"/>
<child catalog="fineract_default" column="repayment_id" foreignKey="fkrepaymentwithpostdated" implied="false" onDeleteCascade="true" table="m_repayment_with_post_dated_checks"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK488B92AA40BE0710" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="fromdate" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="duedate" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="installment" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="5" name="principal_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="principal_completed_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="7" name="principal_writtenoff_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="8" name="interest_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="9" name="interest_completed_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="10" name="interest_writtenoff_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="11" name="interest_waived_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="12" name="accrual_interest_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="13" name="reschedule_interest_portion" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="14" name="fee_charges_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="15" name="fee_charges_completed_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="16" name="fee_charges_writtenoff_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="17" name="fee_charges_waived_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="18" name="accrual_fee_charges_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="19" name="penalty_charges_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="20" name="penalty_charges_completed_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="21" name="penalty_charges_writtenoff_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="22" name="penalty_charges_waived_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="23" name="accrual_penalty_charges_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="24" name="total_paid_in_advance_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="25" name="total_paid_late_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="26" name="completed_derived" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="obligations_met_on_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="30" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="31" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="32" name="recalculated_interest_component" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK488B92AA40BE0710" unique="false">
<column ascending="true" name="loan_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_repayment_schedule_history" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_repayment_schedule_history_ibfk_1" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="loan_reschedule_request_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_repayment_schedule_history_ibfk_2" implied="false" onDeleteCascade="false" table="m_loan_reschedule_request"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="fromdate" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="duedate" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="installment" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="principal_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="7" name="interest_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="8" name="fee_charges_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="9" name="penalty_charges_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="14" name="version" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="loan_id" unique="false">
<column ascending="true" name="loan_id"/>
</index>
<index name="loan_reschedule_request_id" unique="false">
<column ascending="true" name="loan_reschedule_request_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_reschedule_request" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="loan_reschedule_request_id" foreignKey="m_loan_repayment_schedule_history_ibfk_2" implied="false" onDeleteCascade="false" table="m_loan_repayment_schedule_history"/>
<child catalog="fineract_default" column="loan_reschedule_request_id" foreignKey="FK__m_loan_reschedule_request" implied="false" onDeleteCascade="false" table="m_loan_reschedule_request_term_variations_mapping"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_reschedule_request_ibfk_1" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="status_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="reschedule_from_installment" nullable="true" remarks="Rescheduling will start from this installment" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="reschedule_from_date" nullable="true" remarks="Rescheduling will start from the installment with due date similar to this date." size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="recalculate_interest" nullable="true" remarks="If set to 1, interest will be recalculated starting from the reschedule period." size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="reschedule_reason_cv_id" nullable="true" remarks="ID of code value of reason for rescheduling" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_reschedule_request_ibfk_2" implied="false" onDeleteCascade="false" table="m_code_value"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="reschedule_reason_comment" nullable="true" remarks="Text provided in addition to the reason code value" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="submitted_on_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="submitted_by_user_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_reschedule_request_ibfk_3" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="approved_on_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="approved_by_user_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_reschedule_request_ibfk_4" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="rejected_on_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="rejected_by_user_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_reschedule_request_ibfk_5" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="approved_by_user_id" unique="false">
<column ascending="true" name="approved_by_user_id"/>
</index>
<index name="loan_reschedule_request_loan_id" unique="false">
<column ascending="true" name="loan_id"/>
</index>
<index name="rejected_by_user_id" unique="false">
<column ascending="true" name="rejected_by_user_id"/>
</index>
<index name="reschedule_reason_cv_id" unique="false">
<column ascending="true" name="reschedule_reason_cv_id"/>
</index>
<index name="submitted_by_user_id" unique="false">
<column ascending="true" name="submitted_by_user_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_reschedule_request_term_variations_mapping" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_reschedule_request_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK__m_loan_reschedule_request" implied="false" onDeleteCascade="false" table="m_loan_reschedule_request"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="loan_term_variations_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK__m_loan_term_variations" implied="false" onDeleteCascade="false" table="m_loan_term_variations"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK__m_loan_reschedule_request" unique="false">
<column ascending="true" name="loan_reschedule_request_id"/>
</index>
<index name="FK__m_loan_term_variations" unique="false">
<column ascending="true" name="loan_term_variations_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_term_variations" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="loan_term_variations_id" foreignKey="FK__m_loan_term_variations" implied="false" onDeleteCascade="false" table="m_loan_reschedule_request_term_variations_mapping"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_loan_id_m_loan_id" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="term_type" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="applicable_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="4" name="decimal_value" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="date_value" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="6" name="is_specific_to_installment" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="applied_on_loan_status" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="8" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="parent_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_loan_id_m_loan_id" unique="false">
<column ascending="true" name="loan_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_topup" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_topup_FK_loan_id" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="closure_loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_topup_FK_closure_loan_id" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="account_transfer_details_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loan_topup_FK_account_transfer_details_id" implied="false" onDeleteCascade="false" table="m_account_transfer_details"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="4" name="topup_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="m_loan_topup_FK_account_transfer_details_id" unique="false">
<column ascending="true" name="account_transfer_details_id"/>
</index>
<index name="m_loan_topup_FK_closure_loan_id" unique="false">
<column ascending="true" name="closure_loan_id"/>
</index>
<index name="m_loan_topup_FK_loan_id" unique="false">
<column ascending="true" name="loan_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_tranche_charges" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_loan_tranche_charges_m_loan" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_loan_tranche_charges_m_charge" implied="false" onDeleteCascade="false" table="m_charge"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_loan_tranche_charges_m_charge" unique="false">
<column ascending="true" name="charge_id"/>
</index>
<index name="FK_m_loan_tranche_charges_m_loan" unique="false">
<column ascending="true" name="loan_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_tranche_disbursement_charge" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_loan_tranche_disbursement_charge_m_loan_charge" implied="false" onDeleteCascade="false" table="m_loan_charge"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="disbursement_detail_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_loan_tranche_disbursement_charge_m_loan_disbursement_detail" implied="false" onDeleteCascade="false" table="m_loan_disbursement_detail"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_loan_tranche_disbursement_charge_m_loan_charge" unique="false">
<column ascending="true" name="loan_charge_id"/>
</index>
<index name="FK_m_loan_tranche_disbursement_charge_m_loan_disbursement_detail" unique="false">
<column ascending="true" name="disbursement_detail_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_transaction" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="loan_transaction_id" foreignKey="FK_acc_gl_journal_entry_m_loan_transaction" implied="false" onDeleteCascade="false" table="acc_gl_journal_entry"/>
<child catalog="fineract_default" column="from_loan_transaction_id" foreignKey="FK_m_account_transfer_transaction_from_m_loan_transaction" implied="false" onDeleteCascade="false" table="m_account_transfer_transaction"/>
<child catalog="fineract_default" column="to_loan_transaction_id" foreignKey="FK_m_account_transfer_transaction_to_m_loan_transaction" implied="false" onDeleteCascade="false" table="m_account_transfer_transaction"/>
<child catalog="fineract_default" column="loan_transaction_id" foreignKey="FK_guarantor_transaction_m_loan_transaction" implied="false" onDeleteCascade="false" table="m_guarantor_transaction"/>
<child catalog="fineract_default" column="loan_transaction_id" foreignKey="FK__m_loan_transaction" implied="false" onDeleteCascade="false" table="m_loan_charge_paid_by"/>
<child catalog="fineract_default" column="transaction_id" foreignKey="fkTransaction" implied="false" onDeleteCascade="true" table="m_loan_collateral_management"/>
<child catalog="fineract_default" column="loan_transaction_id" foreignKey="FK_mappings_m_loan_transaction" implied="false" onDeleteCascade="false" table="m_loan_transaction_repayment_schedule_mapping"/>
<child catalog="fineract_default" column="loan_transaction_id" foreignKey="FK7C9708924D26803" implied="false" onDeleteCascade="false" table="m_note"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKCFCEA42640BE0710" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_loan_transaction_m_office" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="payment_detail_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_loan_transaction_m_payment_detail" implied="false" onDeleteCascade="false" table="m_payment_detail"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="is_reversed" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="external_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="transaction_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="transaction_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="8" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="9" name="principal_portion_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="10" name="interest_portion_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="11" name="fee_charges_portion_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="12" name="penalty_charges_portion_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="13" name="overpayment_portion_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="14" name="unrecognized_income_portion" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="15" name="outstanding_loan_balance_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="16" name="submitted_on_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="17" name="manually_adjusted_or_reversed" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="appuser_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="external_id" unique="true">
<column ascending="true" name="external_id"/>
</index>
<index name="FK_m_loan_transaction_m_office" unique="false">
<column ascending="true" name="office_id"/>
</index>
<index name="FK_m_loan_transaction_m_payment_detail" unique="false">
<column ascending="true" name="payment_detail_id"/>
</index>
<index name="FKCFCEA42640BE0710" unique="false">
<column ascending="true" name="loan_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loan_transaction_repayment_schedule_mapping" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_transaction_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_mappings_m_loan_transaction" implied="false" onDeleteCascade="false" table="m_loan_transaction"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="loan_repayment_schedule_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_mappings_m_loan_repayment_schedule" implied="false" onDeleteCascade="false" table="m_loan_repayment_schedule"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="6" id="3" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="4" name="principal_portion_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="5" name="interest_portion_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="fee_charges_portion_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="7" name="penalty_charges_portion_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_mappings_m_loan_repayment_schedule" unique="false">
<column ascending="true" name="loan_repayment_schedule_id"/>
</index>
<index name="FK_mappings_m_loan_transaction" unique="false">
<column ascending="true" name="loan_transaction_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loanproduct_provisioning_entry" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="history_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loanproduct_provisioning_entry_ibfk_1" implied="false" onDeleteCascade="false" table="m_provisioning_history"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="criteria_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loanproduct_provisioning_entry_ibfk_2" implied="false" onDeleteCascade="false" table="m_provisioning_criteria"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loanproduct_provisioning_entry_ibfk_3" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loanproduct_provisioning_entry_ibfk_4" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="category_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loanproduct_provisioning_entry_ibfk_5" implied="false" onDeleteCascade="false" table="m_provision_category"/>
</column>
<column autoUpdated="false" defaultValue="0" digits="0" id="7" name="overdue_in_days" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="8" name="reseve_amount" nullable="true" remarks="" size="20" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="liability_account" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loanproduct_provisioning_entry_ibfk_6" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="expense_account" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loanproduct_provisioning_entry_ibfk_7" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="category_id" unique="false">
<column ascending="true" name="category_id"/>
</index>
<index name="expense_account" unique="false">
<column ascending="true" name="expense_account"/>
</index>
<index name="fk_loanproduct_provisioning_entry_criteria" unique="false">
<column ascending="true" name="criteria_id"/>
</index>
<index name="history_id" unique="false">
<column ascending="true" name="history_id"/>
</index>
<index name="loanproduct_provisioning_entry_liability_account" unique="false">
<column ascending="true" name="liability_account"/>
</index>
<index name="loanproduct_provisioning_entry_office_id" unique="false">
<column ascending="true" name="office_id"/>
</index>
<index name="loanproduct_provisioning_entry_product_id" unique="false">
<column ascending="true" name="product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_loanproduct_provisioning_mapping" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loanproduct_provisioning_mapping_ibfk_1" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="criteria_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_loanproduct_provisioning_mapping_ibfk_2" implied="false" onDeleteCascade="false" table="m_provisioning_criteria"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_loanproduct_provisioning_mapping_criteria" unique="false">
<column ascending="true" name="criteria_id"/>
</index>
<index name="product_id" unique="true">
<column ascending="true" name="product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_mandatory_savings_schedule" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="savings_account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKMSS0000000001" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="fromdate" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="duedate" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="installment" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="5" name="deposit_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="deposit_amount_completed_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="7" name="total_paid_in_advance_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="8" name="total_paid_late_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="completed_derived" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="obligations_met_on_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FKMSS0000000001" unique="false">
<column ascending="true" name="savings_account_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_meeting" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="meeting_id" foreignKey="FK_m_meeting_m_client_attendance" implied="false" onDeleteCascade="false" table="m_client_attendance"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="calendar_instance_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_calendar_instance_m_meeting" implied="false" onDeleteCascade="false" table="m_calendar_instance"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="meeting_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="unique_calendar_instance_id_meeting_date" unique="true">
<column ascending="true" name="calendar_instance_id"/>
<column ascending="true" name="meeting_date"/>
</index>
</table>
<table catalog="fineract_default" name="m_note" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="client_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK7C970897179A0CB" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="group_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_note_m_group" implied="false" onDeleteCascade="false" table="m_group"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="loan_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK7C9708940BE0710" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="loan_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK7C9708924D26803" implied="false" onDeleteCascade="false" table="m_loan_transaction"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="savings_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_savings_account_id" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="savings_account_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="share_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="note_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="note" nullable="true" remarks="" size="1000" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK7C97089541F0A56" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK7C970898F889C3F" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK7C9708924D26803" unique="false">
<column ascending="true" name="loan_transaction_id"/>
</index>
<index name="FK7C9708940BE0710" unique="false">
<column ascending="true" name="loan_id"/>
</index>
<index name="FK7C97089541F0A56" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="FK7C970897179A0CB" unique="false">
<column ascending="true" name="client_id"/>
</index>
<index name="FK7C970898F889C3F" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
<index name="FK_m_note_m_group" unique="false">
<column ascending="true" name="group_id"/>
</index>
<index name="FK_savings_account_id" unique="false">
<column ascending="true" name="savings_account_id"/>
</index>
<index name="savings_account_transaction_id" unique="false">
<column ascending="true" name="savings_account_transaction_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_office" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="office_id" foreignKey="FK_acc_accounting_rule_m_office" implied="false" onDeleteCascade="false" table="acc_accounting_rule"/>
<child catalog="fineract_default" column="office_id" foreignKey="FK_acc_gl_closure_m_office" implied="false" onDeleteCascade="false" table="acc_gl_closure"/>
<child catalog="fineract_default" column="office_id" foreignKey="FK_acc_gl_journal_entry_m_office" implied="false" onDeleteCascade="false" table="acc_gl_journal_entry"/>
<child catalog="fineract_default" column="from_office_id" foreignKey="FK_m_account_transfer_details_from_office" implied="false" onDeleteCascade="false" table="m_account_transfer_details"/>
<child catalog="fineract_default" column="to_office_id" foreignKey="FK_m_account_transfer_details_to_office" implied="false" onDeleteCascade="false" table="m_account_transfer_details"/>
<child catalog="fineract_default" column="office_id" foreignKey="FKB3D587CE0DD567A" implied="false" onDeleteCascade="false" table="m_appuser"/>
<child catalog="fineract_default" column="office_id" foreignKey="FKCE00CAB3E0DD567A" implied="false" onDeleteCascade="false" table="m_client"/>
<child catalog="fineract_default" column="transfer_to_office_id" foreignKey="FK_m_client_m_office" implied="false" onDeleteCascade="false" table="m_client"/>
<child catalog="fineract_default" column="from_office_id" foreignKey="FK_m_client_transfer_details_m_office" implied="false" onDeleteCascade="false" table="m_client_transfer_details"/>
<child catalog="fineract_default" column="to_office_id" foreignKey="FK_m_client_transfer_details_m_office_2" implied="false" onDeleteCascade="false" table="m_client_transfer_details"/>
<child catalog="fineract_default" column="office_id" foreignKey="m_group_ibfk_1" implied="false" onDeleteCascade="false" table="m_group"/>
<child catalog="fineract_default" column="office_id" foreignKey="m_office_id_ibfk_2" implied="false" onDeleteCascade="false" table="m_holiday_office"/>
<child catalog="fineract_default" column="office_id" foreignKey="FK_m_loan_transaction_m_office" implied="false" onDeleteCascade="false" table="m_loan_transaction"/>
<child catalog="fineract_default" column="office_id" foreignKey="m_loanproduct_provisioning_entry_ibfk_3" implied="false" onDeleteCascade="false" table="m_loanproduct_provisioning_entry"/>
<child catalog="fineract_default" column="parent_id" foreignKey="FK2291C477E2551DCC" implied="false" onDeleteCascade="false" table="m_office"/>
<child catalog="fineract_default" column="from_office_id" foreignKey="FK1E37728B783C5C25" implied="false" onDeleteCascade="false" table="m_office_transaction"/>
<child catalog="fineract_default" column="to_office_id" foreignKey="FK1E37728B93C6C1B6" implied="false" onDeleteCascade="false" table="m_office_transaction"/>
<child catalog="fineract_default" column="office_id" foreignKey="FK_m_savings_account_transaction_m_office" implied="false" onDeleteCascade="false" table="m_savings_account_transaction"/>
<child catalog="fineract_default" column="office_id" foreignKey="FK_m_staff_m_office" implied="false" onDeleteCascade="false" table="m_staff"/>
<child catalog="fineract_default" column="office_id" foreignKey="FK_m_tellers_m_office" implied="false" onDeleteCascade="false" table="m_tellers"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="parent_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK2291C477E2551DCC" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="hierarchy" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="external_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="opening_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="external_id" unique="true">
<column ascending="true" name="external_id"/>
</index>
<index name="FK2291C477E2551DCC" unique="false">
<column ascending="true" name="parent_id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="m_office_transaction" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="from_office_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK1E37728B783C5C25" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="to_office_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK1E37728B93C6C1B6" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="currency_digits" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="5" name="transaction_amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="transaction_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="description" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK1E37728B783C5C25" unique="false">
<column ascending="true" name="from_office_id"/>
</index>
<index name="FK1E37728B93C6C1B6" unique="false">
<column ascending="true" name="to_office_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_organisation_creditbureau" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="organisation_creditbureau_id" foreignKey="cblpfk2" implied="false" onDeleteCascade="false" table="m_creditbureau_loanproduct_mapping"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="alias" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="creditbureau_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="orgcb_cbfk" implied="false" onDeleteCascade="false" table="m_creditbureau"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="is_active" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="morgcb" unique="true">
<column ascending="true" name="alias"/>
<column ascending="true" name="creditbureau_id"/>
</index>
<index name="orgcb_cbfk" unique="false">
<column ascending="true" name="creditbureau_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_organisation_currency" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="decimal_places" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="currency_multiplesof" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="display_symbol" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="internationalized_name_code" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="m_password_validation_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"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="regex" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="description" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="3" name="active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="key" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="m_payment_detail" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="payment_details_id" foreignKey="FK_acc_gl_journal_entry_m_payment_detail" implied="false" onDeleteCascade="false" table="acc_gl_journal_entry"/>
<child catalog="fineract_default" column="payment_detail_id" foreignKey="FK_m_loan_transaction_m_payment_detail" implied="false" onDeleteCascade="false" table="m_loan_transaction"/>
<child catalog="fineract_default" column="payment_detail_id" foreignKey="FK_m_savings_account_transaction_m_payment_detail" implied="false" onDeleteCascade="false" table="m_savings_account_transaction"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="payment_type_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_payment_detail_m_payment_type" implied="false" onDeleteCascade="false" table="m_payment_type"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="account_number" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="check_number" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="receipt_number" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="bank_number" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="routing_code" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_payment_detail_m_payment_type" unique="false">
<column ascending="true" name="payment_type_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_payment_type" 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="fineract_default" column="payment_type" foreignKey="FK_acc_product_mapping_m_payment_type" implied="false" onDeleteCascade="false" table="acc_product_mapping"/>
<child catalog="fineract_default" column="payment_type_id" foreignKey="FK_m_payment_detail_m_payment_types" implied="false" onDeleteCascade="false" table="m_charge"/>
<child catalog="fineract_default" column="payment_type_id" foreignKey="FK_m_payment_detail_m_payment_type" implied="false" onDeleteCascade="false" table="m_payment_detail"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="value" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="3" name="is_cash_payment" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="4" name="order_position" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="m_permission" numRows="865" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="permission_id" foreignKey="FK8DEDB048103B544B" implied="false" onDeleteCascade="false" table="m_role_permission"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="grouping" nullable="true" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="code" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="entity_name" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="action_name" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="5" name="can_maker_checker" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="code" unique="true">
<column ascending="true" name="code"/>
</index>
</table>
<table catalog="fineract_default" name="m_pocket" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="pocket_id" foreignKey="FK__m_pocket" implied="false" onDeleteCascade="false" table="m_pocket_accounts_mapping"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="app_user_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK__m_appuser__pocket" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="app_user_id" unique="true">
<column ascending="true" name="app_user_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_pocket_accounts_mapping" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="pocket_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK__m_pocket" implied="false" onDeleteCascade="false" table="m_pocket"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="account_type" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="account_number" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="unique_pocket_mapping" unique="true">
<column ascending="true" name="pocket_id"/>
<column ascending="true" name="account_id"/>
<column ascending="true" name="account_type"/>
</index>
</table>
<table catalog="fineract_default" name="m_portfolio_account_associations" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="account_associations_id" foreignKey="FK_m_guarantor_fund_details_account_associations_id" implied="false" onDeleteCascade="false" table="m_guarantor_funding_details"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="loan_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="account_association_loan_fk" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="savings_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="account_association_savings_fk" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="linked_loan_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="linked_loan_fk" implied="false" onDeleteCascade="false" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="linked_savings_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="linked_savings_fk" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="1" digits="0" id="5" name="association_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="6" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="account_association_loan_fk" unique="false">
<column ascending="true" name="loan_account_id"/>
</index>
<index name="account_association_savings_fk" unique="false">
<column ascending="true" name="savings_account_id"/>
</index>
<index name="linked_loan_fk" unique="false">
<column ascending="true" name="linked_loan_account_id"/>
</index>
<index name="linked_savings_fk" unique="false">
<column ascending="true" name="linked_savings_account_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_portfolio_command_source" numRows="15" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="action_name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="entity_name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="office_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="group_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="client_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="loan_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="savings_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="api_get_url" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="resource_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="subresource_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="11" name="command_as_json" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="12" name="maker_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_maker_m_appuser" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="13" name="made_on_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="checker_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_checker_m_appuser" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="checked_on_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="16" name="processing_result_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="product_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="transaction_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="creditbureau_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="organisation_creditbureau_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="action_name" unique="false">
<column ascending="true" name="action_name"/>
</index>
<index name="checked_on_date" unique="false">
<column ascending="true" name="checked_on_date"/>
</index>
<index name="entity_name" unique="false">
<column ascending="true" name="entity_name"/>
<column ascending="true" name="resource_id"/>
</index>
<index name="FK_m_checker_m_appuser" unique="false">
<column ascending="true" name="checker_id"/>
</index>
<index name="FK_m_maker_m_appuser" unique="false">
<column ascending="true" name="maker_id"/>
</index>
<index name="made_on_date" unique="false">
<column ascending="true" name="made_on_date"/>
</index>
<index name="portfolio_command_source_office_id" unique="false">
<column ascending="true" name="office_id"/>
</index>
<index name="processing_result_enum" unique="false">
<column ascending="true" name="processing_result_enum"/>
</index>
</table>
<table catalog="fineract_default" name="m_product_loan" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="loan_product_id" foreignKey="fk_cb_lp2" implied="false" onDeleteCascade="false" table="m_creditbureau_loanproduct_mapping"/>
<child catalog="fineract_default" column="product_id" foreignKey="FKB6F935D8C8D4B434" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="product_id" foreignKey="m_loanproduct_provisioning_entry_ibfk_4" implied="false" onDeleteCascade="false" table="m_loanproduct_provisioning_entry"/>
<child catalog="fineract_default" column="product_id" foreignKey="m_loanproduct_provisioning_mapping_ibfk_1" implied="false" onDeleteCascade="false" table="m_loanproduct_provisioning_mapping"/>
<child catalog="fineract_default" column="product_loan_id" foreignKey="m_product_loan_charge_ibfk_2" implied="false" onDeleteCascade="false" table="m_product_loan_charge"/>
<child catalog="fineract_default" column="loan_product_id" foreignKey="fk_m_product_loan_configurable_attributes_0001" implied="false" onDeleteCascade="false" table="m_product_loan_configurable_attributes"/>
<child catalog="fineract_default" column="loan_product_id" foreignKey="FK_mappings_m_product_loan_id" implied="false" onDeleteCascade="false" table="m_product_loan_floating_rates"/>
<child catalog="fineract_default" column="loan_product_id" foreignKey="FK_guarantee_details_loan_product" implied="false" onDeleteCascade="false" table="m_product_loan_guarantee_details"/>
<child catalog="fineract_default" column="product_loan_id" foreignKey="FK_M_PRODUCT_LOAN_RATE_LOAN" implied="false" onDeleteCascade="false" table="m_product_loan_rate"/>
<child catalog="fineract_default" column="product_id" foreignKey="FK_m_product_loan_m_product_loan_recalculation_details" implied="false" onDeleteCascade="false" table="m_product_loan_recalculation_details"/>
<child catalog="fineract_default" column="loan_product_id" foreignKey="FK_mappings_m_variable_product_loan_id" implied="false" onDeleteCascade="false" table="m_product_loan_variable_installment_config"/>
<child catalog="fineract_default" column="loan_product_id" foreignKey="borrower_cycle_loan_product_FK" implied="false" onDeleteCascade="false" table="m_product_loan_variations_borrower_cycle"/>
<child catalog="fineract_default" column="product_id" foreignKey="FK_m_product_mix_product_id_to_m_product_loan" implied="false" onDeleteCascade="false" table="m_product_mix"/>
<child catalog="fineract_default" column="restricted_product_id" foreignKey="FK_m_product_mix_restricted_product_id_to_m_product_loan" implied="false" onDeleteCascade="false" table="m_product_mix"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="short_name" nullable="false" remarks="" size="4" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="currency_digits" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="currency_multiplesof" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="5" name="principal_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="min_principal_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="7" name="max_principal_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="8" name="arrearstolerance_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="description" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="fund_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKA6A8A7D77240145" implied="false" onDeleteCascade="false" table="m_fund"/>
</column>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="12" name="is_linked_to_floating_interest_rates" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="13" name="allow_variabe_installments" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="14" name="nominal_interest_rate_per_period" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="15" name="min_nominal_interest_rate_per_period" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="16" name="max_nominal_interest_rate_per_period" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="interest_period_frequency_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="18" name="annual_nominal_interest_rate" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="19" name="interest_method_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="1" digits="0" id="20" name="interest_calculated_in_period_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="21" name="allow_partial_period_interest_calcualtion" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="22" name="repay_every" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="23" name="repayment_period_frequency_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="24" name="number_of_repayments" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="min_number_of_repayments" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="max_number_of_repayments" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="grace_on_principal_periods" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="recurring_moratorium_principal_periods" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="grace_on_interest_periods" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="30" name="grace_interest_free_periods" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="31" name="amortization_method_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="32" name="accounting_type" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="33" name="loan_transaction_strategy_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_ltp_strategy" implied="false" onDeleteCascade="false" table="ref_loan_transaction_processing_strategy"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="34" name="external_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="35" name="include_in_borrower_cycle" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="36" name="use_borrower_cycle" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="37" name="start_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="38" name="close_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="39" name="allow_multiple_disbursals" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="40" name="max_disbursals" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="41" name="max_outstanding_loan_balance" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="42" name="grace_on_arrears_ageing" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="43" name="overdue_days_for_npa" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="1" digits="0" id="44" name="days_in_month_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="1" digits="0" id="45" name="days_in_year_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="46" name="interest_recalculation_enabled" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="47" name="min_days_between_disbursal_and_first_repayment" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="48" name="hold_guarantee_funds" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="50.00" digits="2" id="49" name="principal_threshold_for_last_installment" nullable="false" remarks="" size="5" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="50" name="account_moves_out_of_npa_only_on_arrears_completion" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="51" name="can_define_fixed_emi_amount" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="52" name="instalment_amount_in_multiples_of" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="53" name="can_use_for_topup" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="54" name="sync_expected_with_disbursement_date" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="55" name="is_equal_amortization" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="2" id="56" name="fixed_principal_percentage_per_installment" nullable="true" remarks="" size="5" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="57" name="disallow_expected_disbursements" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="58" name="allow_approved_disbursed_amounts_over_applied" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="59" name="over_applied_calculation_type" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="60" name="over_applied_number" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="external_id" unique="true">
<column ascending="true" name="external_id"/>
</index>
<index name="FK_ltp_strategy" unique="false">
<column ascending="true" name="loan_transaction_strategy_id"/>
</index>
<index name="FKA6A8A7D77240145" unique="false">
<column ascending="true" name="fund_id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
<index name="short_name" unique="true">
<column ascending="true" name="short_name"/>
</index>
</table>
<table catalog="fineract_default" name="m_product_loan_charge" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="product_loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_product_loan_charge_ibfk_2" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_product_loan_charge_ibfk_1" implied="false" onDeleteCascade="false" table="m_charge"/>
</column>
<primaryKey column="charge_id" sequenceNumberInPK="1"/>
<primaryKey column="product_loan_id" sequenceNumberInPK="2"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="product_loan_id"/>
<column ascending="true" name="charge_id"/>
</index>
<index name="fk_product_loan_charge_charge" unique="false">
<column ascending="true" name="charge_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_product_loan_configurable_attributes" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_m_product_loan_configurable_attributes_0001" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="2" name="amortization_method_enum" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="3" name="interest_method_enum" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="4" name="loan_transaction_strategy_id" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="5" name="interest_calculated_in_period_enum" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="6" name="arrearstolerance_amount" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="7" name="repay_every" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="8" name="moratorium" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="9" name="grace_on_arrears_ageing" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_m_product_loan_configurable_attributes_0001" unique="false">
<column ascending="true" name="loan_product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_product_loan_floating_rates" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_mappings_m_product_loan_id" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="floating_rates_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_mappings_m_floating_rates_id" implied="false" onDeleteCascade="false" table="m_floating_rates"/>
</column>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="3" name="interest_rate_differential" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="4" name="min_differential_lending_rate" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="5" name="default_differential_lending_rate" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="6" name="max_differential_lending_rate" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="7" name="is_floating_interest_rate_calculation_allowed" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_mappings_m_floating_rates_id" unique="false">
<column ascending="true" name="floating_rates_id"/>
</index>
<index name="FK_mappings_m_product_loan_id" unique="false">
<column ascending="true" name="loan_product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_product_loan_guarantee_details" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_guarantee_details_loan_product" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="5" id="2" name="mandatory_guarantee" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="5" id="3" name="minimum_guarantee_from_own_funds" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="5" id="4" name="minimum_guarantee_from_guarantor_funds" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_guarantee_details_loan_product" unique="false">
<column ascending="true" name="loan_product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_product_loan_rate" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="product_loan_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_M_PRODUCT_LOAN_RATE_LOAN" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="rate_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_M_PRODUCT_LOAN_RATE_RATE" implied="false" onDeleteCascade="false" table="m_rate"/>
</column>
<primaryKey column="product_loan_id" sequenceNumberInPK="1"/>
<primaryKey column="rate_id" sequenceNumberInPK="2"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="product_loan_id"/>
<column ascending="true" name="rate_id"/>
</index>
<index name="FK_M_PRODUCT_LOAN_RATE_RATE" unique="false">
<column ascending="true" name="rate_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_product_loan_recalculation_details" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_product_loan_m_product_loan_recalculation_details" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="compound_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="reschedule_strategy_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="rest_frequency_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="5" name="rest_frequency_interval" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="6" name="arrears_based_on_original_schedule" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="1" digits="0" id="7" name="pre_close_interest_calculation_strategy" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="compounding_frequency_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="compounding_frequency_interval" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="rest_frequency_nth_day_enum" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="rest_frequency_on_day" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="rest_frequency_weekday_enum" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="compounding_frequency_nth_day_enum" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="compounding_frequency_on_day" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="compounding_frequency_weekday_enum" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="16" name="is_compounding_to_be_posted_as_transaction" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="17" name="allow_compounding_on_eod" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_product_loan_m_product_loan_recalculation_details" unique="false">
<column ascending="true" name="product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_product_loan_variable_installment_config" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="loan_product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_mappings_m_variable_product_loan_id" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="minimum_gap" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="maximum_gap" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_mappings_m_variable_product_loan_id" unique="false">
<column ascending="true" name="loan_product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_product_loan_variations_borrower_cycle" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="1" name="loan_product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="borrower_cycle_loan_product_FK" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="0" digits="0" id="2" name="borrower_cycle_number" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="3" name="value_condition" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="4" name="param_type" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="5" name="default_value" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="max_value" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="7" name="min_value" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="borrower_cycle_loan_product_FK" unique="false">
<column ascending="true" name="loan_product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_product_mix" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_product_mix_product_id_to_m_product_loan" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="restricted_product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_product_mix_restricted_product_id_to_m_product_loan" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_product_mix_product_id_to_m_product_loan" unique="false">
<column ascending="true" name="product_id"/>
</index>
<index name="FK_m_product_mix_restricted_product_id_to_m_product_loan" unique="false">
<column ascending="true" name="restricted_product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_provision_category" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="category_id" foreignKey="m_loanproduct_provisioning_entry_ibfk_5" implied="false" onDeleteCascade="false" table="m_loanproduct_provisioning_entry"/>
<child catalog="fineract_default" column="category_id" foreignKey="m_provisioning_criteria_definition_ibfk_2" implied="false" onDeleteCascade="false" table="m_provisioning_criteria_definition"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="category_name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="" size="300" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="category_name" unique="true">
<column ascending="true" name="category_name"/>
</index>
</table>
<table catalog="fineract_default" name="m_provisioning_criteria" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="criteria_id" foreignKey="m_loanproduct_provisioning_entry_ibfk_2" implied="false" onDeleteCascade="false" table="m_loanproduct_provisioning_entry"/>
<child catalog="fineract_default" column="criteria_id" foreignKey="m_loanproduct_provisioning_mapping_ibfk_2" implied="false" onDeleteCascade="false" table="m_loanproduct_provisioning_mapping"/>
<child catalog="fineract_default" column="criteria_id" foreignKey="m_provisioning_criteria_definition_ibfk_1" implied="false" onDeleteCascade="false" table="m_provisioning_criteria_definition"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="criteria_name" nullable="false" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_provisioning_criteria_ibfk_1" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_provisioning_criteria_ibfk_2" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="criteria_name" unique="true">
<column ascending="true" name="criteria_name"/>
</index>
<index name="fk_provisioning_criteria_createdby" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="provisioning_criteria_lastmodifiedby_id" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_provisioning_criteria_definition" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="criteria_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_provisioning_criteria_definition_ibfk_1" implied="false" onDeleteCascade="false" table="m_provisioning_criteria"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="category_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_provisioning_criteria_definition_ibfk_2" implied="false" onDeleteCascade="false" table="m_provision_category"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="min_age" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="max_age" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="2" id="5" name="provision_percentage" nullable="false" remarks="" size="5" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="liability_account" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_provisioning_criteria_definition_ibfk_3" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="expense_account" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_provisioning_criteria_definition_ibfk_4" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_loanproduct_criteria_definition_criteria" unique="false">
<column ascending="true" name="criteria_id"/>
</index>
<index name="fk_provisioning_criteria_definition_category" unique="false">
<column ascending="true" name="category_id"/>
</index>
<index name="fk_provisioning_criteria_definition_expense_account" unique="false">
<column ascending="true" name="expense_account"/>
</index>
<index name="provisioning_criteria_definition_liability_account" unique="false">
<column ascending="true" name="liability_account"/>
</index>
</table>
<table catalog="fineract_default" name="m_provisioning_history" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="history_id" foreignKey="m_loanproduct_provisioning_entry_ibfk_1" implied="false" onDeleteCascade="false" table="m_loanproduct_provisioning_entry"/>
</column>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="1" name="journal_entry_created" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_provisioning_history_ibfk_1" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="created_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_provisioning_history_ibfk_2" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="lastmodified_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_provisioning_history_createdby" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="provisioning_history_lastmodifiedby_id" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_rate" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="rate_id" foreignKey="FK_M_LOAN_RATE_RATE" implied="false" onDeleteCascade="false" table="m_loan_rate"/>
<child catalog="fineract_default" column="rate_id" foreignKey="FK_M_PRODUCT_LOAN_RATE_RATE" implied="false" onDeleteCascade="false" table="m_product_loan_rate"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="250" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="2" id="2" name="percentage" nullable="false" remarks="" size="10" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="3" name="active" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="product_apply" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="createdby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_M_RATE_CREATE_USER" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="lastmodifiedby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="approve_user" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_M_RATE_APPROVE_USER" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_M_RATE_APPROVE_USER" unique="false">
<column ascending="true" name="approve_user"/>
</index>
<index name="FK_M_RATE_CREATE_USER" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_repayment_with_post_dated_checks" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="check_no" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="5" id="2" name="amount" nullable="false" remarks="" size="20" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="loan_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fkloanrepayment" implied="false" onDeleteCascade="true" table="m_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="repayment_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fkrepaymentwithpostdated" implied="false" onDeleteCascade="true" table="m_loan_repayment_schedule"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="account_no" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="bank_name" nullable="false" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="repayment_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="8" name="status" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="check_no" unique="true">
<column ascending="true" name="check_no"/>
</index>
<index name="fkloanrepayment" unique="false">
<column ascending="true" name="loan_id"/>
</index>
<index name="fkrepaymentwithpostdated" unique="false">
<column ascending="true" name="repayment_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_report_mailing_job" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="job_id" foreignKey="m_report_mailing_job_run_history_ibfk_1" implied="false" onDeleteCascade="false" table="m_report_mailing_job_run_history"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="start_datetime" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="recurrence" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="created_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="createdby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_report_mailing_job_ibfk_1" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="lastmodified_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_report_mailing_job_ibfk_2" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="email_recipients" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="10" name="email_subject" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="11" name="email_message" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="12" name="email_attachment_file_format" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="13" name="stretchy_report_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="m_report_mailing_job_ibfk_3" implied="false" onDeleteCascade="false" table="stretchy_report"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="stretchy_report_param_map" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="previous_run_datetime" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="next_run_datetime" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="previous_run_status" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="previous_run_error_log" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="previous_run_error_message" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="20" name="number_of_runs" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="21" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="22" name="is_deleted" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="23" name="run_as_userid" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_report_mailing_job_ibfk_4" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_report_mailing_job_createdby" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
<index name="report_mailing_job_lastmodifiedby_id" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
<index name="run_as_userid" unique="false">
<column ascending="true" name="run_as_userid"/>
</index>
<index name="stretchy_report_id" unique="false">
<column ascending="true" name="stretchy_report_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_report_mailing_job_configuration" 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="name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="value" nullable="false" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="m_report_mailing_job_run_history" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="job_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_report_mailing_job_run_history_ibfk_1" implied="false" onDeleteCascade="false" table="m_report_mailing_job"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="start_datetime" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="end_datetime" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="status" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="error_message" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="error_log" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="job_id" unique="false">
<column ascending="true" name="job_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_role" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="role_id" foreignKey="FK7662CE5915CEC7AB" implied="false" onDeleteCascade="false" table="m_appuser_role"/>
<child catalog="fineract_default" column="role_id" foreignKey="FK8DEDB04815CEC7AB" implied="false" onDeleteCascade="false" table="m_role_permission"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="description" nullable="false" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="3" name="is_disabled" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="m_role_permission" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="role_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK8DEDB04815CEC7AB" implied="false" onDeleteCascade="false" table="m_role"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="permission_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK8DEDB048103B544B" implied="false" onDeleteCascade="false" table="m_permission"/>
</column>
<primaryKey column="permission_id" sequenceNumberInPK="1"/>
<primaryKey column="role_id" sequenceNumberInPK="2"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="role_id"/>
<column ascending="true" name="permission_id"/>
</index>
<index name="FK8DEDB048103B544B" unique="false">
<column ascending="true" name="permission_id"/>
</index>
<index name="FK8DEDB04815CEC7AB" unique="false">
<column ascending="true" name="role_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_savings_account" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="account_id" foreignKey="fk_interop_identifier_account" implied="false" onDeleteCascade="false" table="interop_identifier"/>
<child catalog="fineract_default" column="from_savings_account_id" foreignKey="FK_m_account_transfer_details_from_savings_account" implied="false" onDeleteCascade="false" table="m_account_transfer_details"/>
<child catalog="fineract_default" column="to_savings_account_id" foreignKey="FK_m_account_transfer_details_to_savings_account" implied="false" onDeleteCascade="false" table="m_account_transfer_details"/>
<child catalog="fineract_default" column="default_savings_account" foreignKey="FK_m_client_m_savings_account" implied="false" onDeleteCascade="false" table="m_client"/>
<child catalog="fineract_default" column="savings_account_id" foreignKey="FK_deposit_on_hold_transaction_m_savings_account" implied="false" onDeleteCascade="false" table="m_deposit_account_on_hold_transaction"/>
<child catalog="fineract_default" column="savings_account_id" foreignKey="FKDARD00000000000001" implied="false" onDeleteCascade="false" table="m_deposit_account_recurring_detail"/>
<child catalog="fineract_default" column="savings_account_id" foreignKey="FKDATP00000000000001" implied="false" onDeleteCascade="false" table="m_deposit_account_term_and_preclosure"/>
<child catalog="fineract_default" column="transfer_to_savings_account_id" foreignKey="m_deposit_account_term_and_preclosure_ibfk_1" implied="false" onDeleteCascade="false" table="m_deposit_account_term_and_preclosure"/>
<child catalog="fineract_default" column="savings_account_id" foreignKey="FKMSS0000000001" implied="false" onDeleteCascade="false" table="m_mandatory_savings_schedule"/>
<child catalog="fineract_default" column="savings_account_id" foreignKey="FK_savings_account_id" implied="false" onDeleteCascade="false" table="m_note"/>
<child catalog="fineract_default" column="linked_savings_account_id" foreignKey="linked_savings_fk" implied="false" onDeleteCascade="false" table="m_portfolio_account_associations"/>
<child catalog="fineract_default" column="savings_account_id" foreignKey="account_association_savings_fk" implied="false" onDeleteCascade="false" table="m_portfolio_account_associations"/>
<child catalog="fineract_default" column="savings_account_id" foreignKey="m_savings_account_charge_ibfk_2" implied="false" onDeleteCascade="false" table="m_savings_account_charge"/>
<child catalog="fineract_default" column="savings_account_id" foreignKey="FKSAIRC00000000000001" implied="false" onDeleteCascade="false" table="m_savings_account_interest_rate_chart"/>
<child catalog="fineract_default" column="savings_account_id" foreignKey="FKSAT0000000001" implied="false" onDeleteCascade="false" table="m_savings_account_transaction"/>
<child catalog="fineract_default" column="account_id" foreignKey="fk_m_savings_officer_assignment_history_0001" implied="false" onDeleteCascade="false" table="m_savings_officer_assignment_history"/>
<child catalog="fineract_default" column="savings_account_id" foreignKey="m_share_account_ibfk_2" implied="false" onDeleteCascade="false" table="m_share_account"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_no" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="external_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="client_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKSA00000000000001" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="group_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKSA00000000000002" implied="false" onDeleteCascade="false" table="m_group"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="gsim_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_gsim_id" implied="false" onDeleteCascade="false" table="gsim_accounts"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="product_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKSA00000000000003" implied="false" onDeleteCascade="false" table="m_savings_product"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="field_officer_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="300" digits="0" id="8" name="status_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="9" name="sub_status_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="1" digits="0" id="10" name="account_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="100" digits="0" id="11" name="deposit_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="12" name="submittedon_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="submittedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="approvedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="approvedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="rejectedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="rejectedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="withdrawnon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="withdrawnon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="activatedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="activatedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="closedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="closedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="24" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="25" name="currency_digits" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="currency_multiplesof" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="27" name="nominal_annual_interest_rate" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="28" name="interest_compounding_period_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="4" digits="0" id="29" name="interest_posting_period_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="30" name="interest_calculation_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="31" name="interest_calculation_days_in_year_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="32" name="min_required_opening_balance" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="33" name="lockin_period_frequency" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="34" name="lockin_period_frequency_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="35" name="withdrawal_fee_for_transfer" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="36" name="allow_overdraft" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="37" name="overdraft_limit" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="38" name="nominal_annual_interest_rate_overdraft" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="39" name="min_overdraft_for_interest_calculation" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="40" name="lockedin_until_date_derived" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="41" name="total_deposits_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="42" name="total_withdrawals_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="43" name="total_withdrawal_fees_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="44" name="total_fees_charge_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="45" name="total_penalty_charge_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="46" name="total_annual_fees_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="47" name="total_interest_earned_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="48" name="total_interest_posted_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="49" name="total_overdraft_interest_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="50" name="total_withhold_tax_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="51" name="account_balance_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="52" name="min_required_balance" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="53" name="enforce_min_required_balance" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="54" name="min_balance_for_interest_calculation" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="55" name="start_interest_calculation_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="56" name="on_hold_funds_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="1" digits="0" id="57" name="version" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="58" name="withhold_tax" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="59" name="tax_group_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_savings_account_tax_group" implied="false" onDeleteCascade="false" table="m_tax_group"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="60" name="last_interest_calculation_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="61" name="total_savings_amount_on_hold" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="62" name="interest_posted_till_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="63" name="reason_for_block" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="64" name="max_allowed_lien_limit" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="65" name="is_lien_allowed" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="account_no" unique="true">
<column ascending="true" name="account_no"/>
</index>
<index name="external_id" unique="true">
<column ascending="true" name="external_id"/>
</index>
<index name="FK_gsim_id" unique="false">
<column ascending="true" name="gsim_id"/>
</index>
<index name="FK_savings_account_tax_group" unique="false">
<column ascending="true" name="tax_group_id"/>
</index>
<index name="FKSA00000000000001" unique="false">
<column ascending="true" name="client_id"/>
</index>
<index name="FKSA00000000000002" unique="false">
<column ascending="true" name="group_id"/>
</index>
<index name="FKSA00000000000003" unique="false">
<column ascending="true" name="product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_savings_account_charge" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="savings_account_charge_id" foreignKey="FK__m_savings_account_charge" implied="false" onDeleteCascade="false" table="m_savings_account_charge_paid_by"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="savings_account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_savings_account_charge_ibfk_2" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_savings_account_charge_ibfk_1" implied="false" onDeleteCascade="false" table="m_charge"/>
</column>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="3" name="is_penalty" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="charge_time_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="charge_due_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="fee_on_month" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="fee_on_day" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="fee_interval" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="9" name="free_withdrawal_count" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="charge_reset_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="11" name="charge_calculation_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="12" name="calculation_percentage" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="13" name="calculation_on_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="14" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="15" name="amount_paid_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="16" name="amount_waived_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="17" name="amount_writtenoff_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="18" name="amount_outstanding_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="19" name="is_paid_derived" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="20" name="waived" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="21" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="inactivated_on_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_savings_account_charge_charge" unique="false">
<column ascending="true" name="charge_id"/>
</index>
<index name="m_savings_account_charge_ibfk_2" unique="false">
<column ascending="true" name="savings_account_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_savings_account_charge_paid_by" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="savings_account_transaction_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK__m_savings_account_transaction" implied="false" onDeleteCascade="false" table="m_savings_account_transaction"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="savings_account_charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK__m_savings_account_charge" implied="false" onDeleteCascade="false" table="m_savings_account_charge"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="6" id="3" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK__m_savings_account_charge" unique="false">
<column ascending="true" name="savings_account_charge_id"/>
</index>
<index name="FK__m_savings_account_transaction" unique="false">
<column ascending="true" name="savings_account_transaction_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_savings_account_interest_rate_chart" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="savings_account_interest_rate_chart_id" foreignKey="FKSAIRS00000000000001" implied="false" onDeleteCascade="false" table="m_savings_account_interest_rate_slab"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="savings_account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKSAIRC00000000000001" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="name" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="from_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="end_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="6" name="is_primary_grouping_by_amount" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FKSAIRC00000000000001" unique="false">
<column ascending="true" name="savings_account_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_savings_account_interest_rate_slab" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="deposit_account_interest_rate_slab_id" foreignKey="FK_m_savings_interest_incentives_m_savings_interest_rate_slab" implied="false" onDeleteCascade="false" table="m_savings_interest_incentives"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="savings_account_interest_rate_chart_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKSAIRS00000000000001" implied="false" onDeleteCascade="false" table="m_savings_account_interest_rate_chart"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="description" nullable="true" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="period_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="from_period" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="to_period" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="amount_range_from" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="7" name="amount_range_to" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="8" name="annual_interest_rate" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FKSAIRS00000000000001" unique="false">
<column ascending="true" name="savings_account_interest_rate_chart_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_savings_account_transaction" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="savings_transaction_id" foreignKey="FK_acc_gl_journal_entry_m_savings_account_transaction" implied="false" onDeleteCascade="false" table="acc_gl_journal_entry"/>
<child catalog="fineract_default" column="from_savings_transaction_id" foreignKey="FK_m_account_transfer_transaction_from_m_savings_transaction" implied="false" onDeleteCascade="false" table="m_account_transfer_transaction"/>
<child catalog="fineract_default" column="to_savings_transaction_id" foreignKey="FK_m_account_transfer_transaction_to_m_savings_transaction" implied="false" onDeleteCascade="false" table="m_account_transfer_transaction"/>
<child catalog="fineract_default" column="savings_account_transaction_id" foreignKey="FK__m_savings_account_transaction" implied="false" onDeleteCascade="false" table="m_savings_account_charge_paid_by"/>
<child catalog="fineract_default" column="savings_transaction_id" foreignKey="FK_savings_account_transaction_tax_details_savings_transaction" implied="false" onDeleteCascade="false" table="m_savings_account_transaction_tax_details"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="savings_account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKSAT0000000001" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_savings_account_transaction_m_office" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="payment_detail_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_savings_account_transaction_m_payment_detail" implied="false" onDeleteCascade="false" table="m_payment_detail"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="transaction_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="is_reversed" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="transaction_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="7" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="8" name="overdraft_amount_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="balance_end_date_derived" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="balance_number_of_days_derived" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="11" name="running_balance_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="12" name="cumulative_balance_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="13" name="created_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="appuser_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="15" name="is_manual" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="release_id_of_hold_amount" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="is_loan_disbursement" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="ref_no" nullable="true" remarks="" size="128" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="original_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="20" name="is_reversal" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="reason_for_block" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="22" name="is_lien_transaction" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_savings_account_transaction_m_office" unique="false">
<column ascending="true" name="office_id"/>
</index>
<index name="FK_m_savings_account_transaction_m_payment_detail" unique="false">
<column ascending="true" name="payment_detail_id"/>
</index>
<index name="FKSAT0000000001" unique="false">
<column ascending="true" name="savings_account_id"/>
</index>
<index name="ref_no" unique="true">
<column ascending="true" name="ref_no"/>
</index>
</table>
<table catalog="fineract_default" name="m_savings_account_transaction_tax_details" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="savings_transaction_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_savings_account_transaction_tax_details_savings_transaction" implied="false" onDeleteCascade="false" table="m_savings_account_transaction"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="tax_component_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_savings_account_transaction_tax_details_tax_component" implied="false" onDeleteCascade="false" table="m_tax_component"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="6" id="3" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_savings_account_transaction_tax_details_savings_transaction" unique="false">
<column ascending="true" name="savings_transaction_id"/>
</index>
<index name="FK_savings_account_transaction_tax_details_tax_component" unique="false">
<column ascending="true" name="tax_component_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_savings_interest_incentives" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="deposit_account_interest_rate_slab_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_savings_interest_incentives_m_savings_interest_rate_slab" implied="false" onDeleteCascade="false" table="m_savings_account_interest_rate_slab"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="entiry_type" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="attribute_name" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="condition_type" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="attribute_value" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="incentive_type" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="7" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_savings_interest_incentives_m_savings_interest_rate_slab" unique="false">
<column ascending="true" name="deposit_account_interest_rate_slab_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_savings_officer_assignment_history" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_m_savings_officer_assignment_history_0001" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="savings_officer_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_m_savings_officer_assignment_history_0002" implied="false" onDeleteCascade="false" table="m_staff"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="start_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="end_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_m_savings_officer_assignment_history_0001" unique="false">
<column ascending="true" name="account_id"/>
</index>
<index name="fk_m_savings_officer_assignment_history_0002" unique="false">
<column ascending="true" name="savings_officer_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_savings_product" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="default_savings_product" foreignKey="FK_m_client_m_savings_product" implied="false" onDeleteCascade="false" table="m_client"/>
<child catalog="fineract_default" column="deposit_product_id" foreignKey="FKDPIRC00000000000001" implied="false" onDeleteCascade="false" table="m_deposit_product_interest_rate_chart"/>
<child catalog="fineract_default" column="savings_product_id" foreignKey="FKDPRD00000000000001" implied="false" onDeleteCascade="false" table="m_deposit_product_recurring_detail"/>
<child catalog="fineract_default" column="savings_product_id" foreignKey="FKDPTP00000000000001" implied="false" onDeleteCascade="false" table="m_deposit_product_term_and_preclosure"/>
<child catalog="fineract_default" column="product_id" foreignKey="FKSA00000000000003" implied="false" onDeleteCascade="false" table="m_savings_account"/>
<child catalog="fineract_default" column="savings_product_id" foreignKey="m_savings_product_charge_ibfk_2" implied="false" onDeleteCascade="false" table="m_savings_product_charge"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="short_name" nullable="false" remarks="" size="4" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="100" digits="0" id="4" name="deposit_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="currency_digits" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="currency_multiplesof" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="8" name="nominal_annual_interest_rate" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="interest_compounding_period_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="4" digits="0" id="10" name="interest_posting_period_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="11" name="interest_calculation_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="12" name="interest_calculation_days_in_year_type_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="13" name="min_required_opening_balance" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="14" name="lockin_period_frequency" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="lockin_period_frequency_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="16" name="accounting_type" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="17" name="withdrawal_fee_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="withdrawal_fee_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="19" name="withdrawal_fee_for_transfer" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="20" name="allow_overdraft" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="21" name="overdraft_limit" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="22" name="nominal_annual_interest_rate_overdraft" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="23" name="min_overdraft_for_interest_calculation" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="24" name="min_required_balance" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="25" name="enforce_min_required_balance" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="26" name="min_balance_for_interest_calculation" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="27" name="withhold_tax" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="tax_group_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_savings_product_tax_group" implied="false" onDeleteCascade="false" table="m_tax_group"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="is_dormancy_tracking_active" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="30" name="days_to_inactive" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="31" name="days_to_dormancy" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="32" name="days_to_escheat" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="33" name="max_allowed_lien_limit" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="34" name="is_lien_allowed" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_savings_product_tax_group" unique="false">
<column ascending="true" name="tax_group_id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
<index name="short_name" unique="true">
<column ascending="true" name="short_name"/>
</index>
</table>
<table catalog="fineract_default" name="m_savings_product_charge" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="savings_product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_savings_product_charge_ibfk_2" implied="false" onDeleteCascade="false" table="m_savings_product"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_savings_product_charge_ibfk_1" implied="false" onDeleteCascade="false" table="m_charge"/>
</column>
<primaryKey column="charge_id" sequenceNumberInPK="1"/>
<primaryKey column="savings_product_id" sequenceNumberInPK="2"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="savings_product_id"/>
<column ascending="true" name="charge_id"/>
</index>
<index name="fk_savings_product_charge_charge" unique="false">
<column ascending="true" name="charge_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_selfservice_beneficiaries_tpt" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="app_user_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="account_type" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="7" name="transfer_limit" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="8" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="uk_m_selfservice_beneficiaries_tpt_name" unique="true">
<column ascending="true" name="name"/>
<column ascending="true" name="app_user_id"/>
<column ascending="true" name="is_active"/>
</index>
</table>
<table catalog="fineract_default" name="m_selfservice_user_client_mapping" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="appuser_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_selfservice_appuser_id" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_selfservice_client_id" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="appuser_id_client_id" unique="true">
<column ascending="true" name="appuser_id"/>
<column ascending="true" name="client_id"/>
</index>
<index name="unique_self_client" unique="true">
<column ascending="true" name="client_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_share_account" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="account_id" foreignKey="m_share_account_charge_ibfk_2" implied="false" onDeleteCascade="false" table="m_share_account_charge"/>
<child catalog="fineract_default" column="account_id" foreignKey="FK_m_share_account_dividend_details_account_id" implied="false" onDeleteCascade="false" table="m_share_account_dividend_details"/>
<child catalog="fineract_default" column="account_id" foreignKey="m_share_account_purchased_shares_ibfk_1" implied="false" onDeleteCascade="false" table="m_share_account_transactions"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_no" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_ibfk_1" implied="false" onDeleteCascade="false" table="m_share_product"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_ibfk_9" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="external_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="300" digits="0" id="5" name="status_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="total_approved_shares" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="total_pending_shares" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="submitted_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="submitted_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_ibfk_3" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="approved_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="approved_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_ibfk_4" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="rejected_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="rejected_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_ibfk_5" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="activated_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="activated_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_ibfk_6" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="closed_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="closed_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_ibfk_7" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="18" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="19" name="currency_digits" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="currency_multiplesof" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="21" name="savings_account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_ibfk_2" implied="false" onDeleteCascade="false" table="m_savings_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="22" name="minimum_active_period_frequency" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="minimum_active_period_frequency_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="24" name="lockin_period_frequency" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="lockin_period_frequency_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="26" name="allow_dividends_inactive_clients" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="27" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="28" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_ibfk_8" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="29" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="m_share_account_ibfk_1" unique="false">
<column ascending="true" name="product_id"/>
</index>
<index name="m_share_account_ibfk_2" unique="false">
<column ascending="true" name="savings_account_id"/>
</index>
<index name="m_share_account_ibfk_3" unique="false">
<column ascending="true" name="submitted_userid"/>
</index>
<index name="m_share_account_ibfk_4" unique="false">
<column ascending="true" name="approved_userid"/>
</index>
<index name="m_share_account_ibfk_5" unique="false">
<column ascending="true" name="rejected_userid"/>
</index>
<index name="m_share_account_ibfk_6" unique="false">
<column ascending="true" name="activated_userid"/>
</index>
<index name="m_share_account_ibfk_7" unique="false">
<column ascending="true" name="closed_userid"/>
</index>
<index name="m_share_account_ibfk_8" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
<index name="m_share_account_ibfk_9" unique="false">
<column ascending="true" name="client_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_share_account_charge" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="charge_transaction_id" foreignKey="m_share_account_transactions_charge_mapping_ibfk2" implied="false" onDeleteCascade="false" table="m_share_account_charge_paid_by"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_charge_ibfk_2" implied="false" onDeleteCascade="false" table="m_share_account"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_charge_ibfk_1" implied="false" onDeleteCascade="false" table="m_charge"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="charge_time_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="charge_calculation_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="0" digits="0" id="5" name="charge_payment_mode_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="6" name="calculation_percentage" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="7" name="calculation_on_amount" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="8" name="charge_amount_or_percentage" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="9" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="10" name="amount_paid_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="11" name="amount_waived_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="12" name="amount_writtenoff_derived" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="0.000000" digits="6" id="13" name="amount_outstanding_derived" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="14" name="is_paid_derived" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="15" name="waived" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="16" name="min_cap" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="17" name="max_cap" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="18" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_share_account_charge_charge" unique="false">
<column ascending="true" name="charge_id"/>
</index>
<index name="m_share_account_charge_ibfk_2" unique="false">
<column ascending="true" name="account_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_share_account_charge_paid_by" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="share_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_transactions_charge_mapping_ibfk1" implied="false" onDeleteCascade="false" table="m_share_account_transactions"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="charge_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_transactions_charge_mapping_ibfk2" implied="false" onDeleteCascade="false" table="m_share_account_charge"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="2" id="3" name="amount" nullable="false" remarks="" size="20" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="m_share_account_transactions_charge_mapping_ibfk1" unique="false">
<column ascending="true" name="share_transaction_id"/>
</index>
<index name="m_share_account_transactions_charge_mapping_ibfk2" unique="false">
<column ascending="true" name="charge_transaction_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_share_account_dividend_details" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="dividend_pay_out_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_share_account_dividend_details_dividend_pay_out_id" implied="false" onDeleteCascade="false" table="m_share_product_dividend_pay_out"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_share_account_dividend_details_account_id" implied="false" onDeleteCascade="false" table="m_share_account"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="6" id="3" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="status" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="savings_transaction_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_share_account_dividend_details_account_id" unique="false">
<column ascending="true" name="account_id"/>
</index>
<index name="FK_m_share_account_dividend_details_dividend_pay_out_id" unique="false">
<column ascending="true" name="dividend_pay_out_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_share_account_transactions" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="share_transaction_id" foreignKey="FK_acc_gl_journal_entry_m_share_account_transaction" implied="false" onDeleteCascade="false" table="acc_gl_journal_entry"/>
<child catalog="fineract_default" column="share_transaction_id" foreignKey="m_share_account_transactions_charge_mapping_ibfk1" implied="false" onDeleteCascade="false" table="m_share_account_charge_paid_by"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_account_purchased_shares_ibfk_1" implied="false" onDeleteCascade="false" table="m_share_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="transaction_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="total_shares" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="2" id="4" name="unit_price" nullable="true" remarks="" size="10" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="2" id="5" name="amount" nullable="true" remarks="" size="20" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="2" id="6" name="charge_amount" nullable="true" remarks="" size="20" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="2" id="7" name="amount_paid" nullable="true" remarks="" size="20" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="300" digits="0" id="8" name="status_enum" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="10" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="m_share_account_purchased_shares_ibfk_1" unique="false">
<column ascending="true" name="account_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_share_product" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="product_id" foreignKey="m_share_account_ibfk_1" implied="false" onDeleteCascade="false" table="m_share_account"/>
<child catalog="fineract_default" column="product_id" foreignKey="m_share_product_charge_ibfk_2" implied="false" onDeleteCascade="false" table="m_share_product_charge"/>
<child catalog="fineract_default" column="product_id" foreignKey="FK_m_share_product_dividend_pay_out_product_id" implied="false" onDeleteCascade="false" table="m_share_product_dividend_pay_out"/>
<child catalog="fineract_default" column="product_id" foreignKey="m_share_product_market_price_ibfk_1" implied="false" onDeleteCascade="false" table="m_share_product_market_price"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="short_name" nullable="false" remarks="" size="4" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="external_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="description" nullable="false" remarks="" size="500" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="start_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="end_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="currency_code" nullable="false" remarks="" size="3" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="currency_digits" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="currency_multiplesof" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="10" name="total_shares" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="issued_shares" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="totalsubscribed_shares" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="2" id="13" name="unit_price" nullable="false" remarks="" size="10" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="2" id="14" name="capital_amount" nullable="false" remarks="" size="20" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="minimum_client_shares" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="16" name="nominal_client_shares" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="maximum_client_shares" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="18" name="minimum_active_period_frequency" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="minimum_active_period_frequency_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="6" id="20" name="lockin_period_frequency" nullable="true" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="21" name="lockin_period_frequency_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="22" name="allow_dividends_inactive_clients" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_product_ibfk_1" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="25" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_product_ibfk_2" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="26" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="27" name="accounting_type" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="m_share_product_ibfk_1" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="m_share_product_ibfk_2" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="m_share_product_charge" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_product_charge_ibfk_2" implied="false" onDeleteCascade="false" table="m_share_product"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="charge_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_product_charge_ibfk_1" implied="false" onDeleteCascade="false" table="m_charge"/>
</column>
<primaryKey column="charge_id" sequenceNumberInPK="1"/>
<primaryKey column="product_id" sequenceNumberInPK="2"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="product_id"/>
<column ascending="true" name="charge_id"/>
</index>
<index name="m_share_product_charge_ibfk_1" unique="false">
<column ascending="true" name="charge_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_share_product_dividend_pay_out" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="dividend_pay_out_id" foreignKey="FK_m_share_account_dividend_details_dividend_pay_out_id" implied="false" onDeleteCascade="false" table="m_share_account_dividend_details"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_share_product_dividend_pay_out_product_id" implied="false" onDeleteCascade="false" table="m_share_product"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="6" id="2" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="dividend_period_start_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="dividend_period_end_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="status" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_share_product_dividend_pay_out_createdby_id" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_share_product_dividend_pay_out_lastmodifiedby_id" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_share_product_dividend_pay_out_createdby_id" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="FK_m_share_product_dividend_pay_out_lastmodifiedby_id" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
<index name="FK_m_share_product_dividend_pay_out_product_id" unique="false">
<column ascending="true" name="product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_share_product_market_price" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="product_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_share_product_market_price_ibfk_1" implied="false" onDeleteCascade="false" table="m_share_product"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="from_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="2" id="3" name="share_value" nullable="false" remarks="" size="10" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="m_share_product_market_price_ibfk_1" unique="false">
<column ascending="true" name="product_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_staff" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="staff_id" foreignKey="fk_m_appuser_002" implied="false" onDeleteCascade="false" table="m_appuser"/>
<child catalog="fineract_default" column="staff_id" foreignKey="FK_m_cashiers_m_staff" implied="false" onDeleteCascade="false" table="m_cashiers"/>
<child catalog="fineract_default" column="staff_id" foreignKey="FK_m_client_m_staff" implied="false" onDeleteCascade="false" table="m_client"/>
<child catalog="fineract_default" column="staff_id" foreignKey="FK_m_group_m_staff" implied="false" onDeleteCascade="false" table="m_group"/>
<child catalog="fineract_default" column="loan_officer_id" foreignKey="FK_m_loan_m_staff" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="loan_officer_id" foreignKey="fk_m_loan_officer_assignment_history_0002" implied="false" onDeleteCascade="false" table="m_loan_officer_assignment_history"/>
<child catalog="fineract_default" column="savings_officer_id" foreignKey="fk_m_savings_officer_assignment_history_0002" implied="false" onDeleteCascade="false" table="m_savings_officer_assignment_history"/>
<child catalog="fineract_default" column="staff_id" foreignKey="FK_m_staff_assignment_history_m_staff" implied="false" onDeleteCascade="false" table="m_staff_assignment_history"/>
<child catalog="fineract_default" column="staff_id" foreignKey="SEFKSTAFF000000001" implied="false" onDeleteCascade="false" table="scheduled_email_messages_outbound"/>
<child catalog="fineract_default" column="staff_id" foreignKey="FKSTAFF000000001" implied="false" onDeleteCascade="false" table="sms_messages_outbound"/>
</column>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="1" name="is_loan_officer" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="office_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_staff_m_office" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="firstname" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="lastname" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="display_name" nullable="false" remarks="" size="102" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="mobile_no" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="external_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="organisational_role_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="organisational_role_parent_staff_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="10" name="is_active" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="joining_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="image_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_staff_m_image" implied="false" onDeleteCascade="false" table="m_image"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="email_address" nullable="true" remarks="" size="150" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="display_name" unique="true">
<column ascending="true" name="display_name"/>
</index>
<index name="external_id" unique="true">
<column ascending="true" name="external_id"/>
</index>
<index name="FK_m_staff_m_image" unique="false">
<column ascending="true" name="image_id"/>
</index>
<index name="FK_m_staff_m_office" unique="false">
<column ascending="true" name="office_id"/>
</index>
<index name="mobile_no" unique="true">
<column ascending="true" name="mobile_no"/>
</index>
</table>
<table catalog="fineract_default" name="m_staff_assignment_history" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="centre_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_staff_assignment_history_centre_id_m_group" implied="false" onDeleteCascade="false" table="m_group"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="staff_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_staff_assignment_history_m_staff" implied="false" onDeleteCascade="false" table="m_staff"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="start_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="end_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="createdby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="created_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="lastmodified_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="lastmodifiedby_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_staff_assignment_history_centre_id_m_group" unique="false">
<column ascending="true" name="centre_id"/>
</index>
<index name="FK_m_staff_assignment_history_m_staff" unique="false">
<column ascending="true" name="staff_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_survey_components" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="survey_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_survey_components_ibfk_1" implied="false" onDeleteCascade="false" table="m_surveys"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="a_key" nullable="false" remarks="" size="32" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="a_text" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="description" nullable="true" remarks="" size="4000" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="sequence_no" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="survey_id" unique="false">
<column ascending="true" name="survey_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_survey_lookup_tables" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="survey_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_survey_lookup_tables_ibfk_1" implied="false" onDeleteCascade="false" table="m_surveys"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="a_key" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="value_from" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="value_to" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="2" id="6" name="score" nullable="false" remarks="" size="5" type="DECIMAL" typeCode="3"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="survey_lookup_tables_survey_id" unique="false">
<column ascending="true" name="survey_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_survey_questions" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="question_id" foreignKey="m_survey_responses_ibfk_1" implied="false" onDeleteCascade="false" table="m_survey_responses"/>
<child catalog="fineract_default" column="question_id" foreignKey="m_survey_scorecards_ibfk_2" implied="false" onDeleteCascade="false" table="m_survey_scorecards"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="survey_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_survey_questions_ibfk_1" implied="false" onDeleteCascade="false" table="m_surveys"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="component_key" nullable="true" remarks="" size="32" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="a_key" nullable="false" remarks="" size="32" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="a_text" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="description" nullable="true" remarks="" size="4000" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="sequence_no" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="survey_questions_survey_id" unique="false">
<column ascending="true" name="survey_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_survey_responses" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="response_id" foreignKey="m_survey_scorecards_ibfk_3" implied="false" onDeleteCascade="false" table="m_survey_scorecards"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="question_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_survey_responses_ibfk_1" implied="false" onDeleteCascade="false" table="m_survey_questions"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="a_text" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="a_value" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="sequence_no" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="survey_responses_question_id" unique="false">
<column ascending="true" name="question_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_survey_scorecards" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="survey_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_survey_scorecards_ibfk_1" implied="false" onDeleteCascade="false" table="m_surveys"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="question_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_survey_scorecards_ibfk_2" implied="false" onDeleteCascade="false" table="m_survey_questions"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="response_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_survey_scorecards_ibfk_3" implied="false" onDeleteCascade="false" table="m_survey_responses"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="user_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_survey_scorecards_ibfk_4" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="m_survey_scorecards_ibfk_5" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="created_on" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="a_value" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_survey_scorecards_client" unique="false">
<column ascending="true" name="client_id"/>
</index>
<index name="response_id" unique="false">
<column ascending="true" name="response_id"/>
</index>
<index name="survey_scorecards_question_id" unique="false">
<column ascending="true" name="question_id"/>
</index>
<index name="survey_scorecards_survey_id" unique="false">
<column ascending="true" name="survey_id"/>
</index>
<index name="survey_scorecards_user_id" unique="false">
<column ascending="true" name="user_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_surveys" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="survey_id" foreignKey="m_survey_components_ibfk_1" implied="false" onDeleteCascade="false" table="m_survey_components"/>
<child catalog="fineract_default" column="survey_id" foreignKey="m_survey_lookup_tables_ibfk_1" implied="false" onDeleteCascade="false" table="m_survey_lookup_tables"/>
<child catalog="fineract_default" column="survey_id" foreignKey="m_survey_questions_ibfk_1" implied="false" onDeleteCascade="false" table="m_survey_questions"/>
<child catalog="fineract_default" column="survey_id" foreignKey="m_survey_scorecards_ibfk_1" implied="false" onDeleteCascade="false" table="m_survey_scorecards"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="a_key" nullable="false" remarks="" size="32" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="a_name" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="description" nullable="true" remarks="" size="4000" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="country_code" nullable="false" remarks="" size="2" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="valid_from" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="valid_to" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="m_tax_component" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="tax_component_id" foreignKey="FK_savings_account_transaction_tax_details_tax_component" implied="false" onDeleteCascade="false" table="m_savings_account_transaction_tax_details"/>
<child catalog="fineract_default" column="tax_component_id" foreignKey="FK_tax_component_history_tax_component_id" implied="false" onDeleteCascade="false" table="m_tax_component_history"/>
<child catalog="fineract_default" column="tax_component_id" foreignKey="FK_tax_group_mappings_tax_component" implied="false" onDeleteCascade="false" table="m_tax_group_mappings"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="2" name="percentage" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="debit_account_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="debit_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_tax_component_debit_gl_account" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="credit_account_type_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="credit_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_tax_component_credit_gl_account" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="start_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="createdby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_tax_component_createdby" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="created_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="10" name="lastmodifiedby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_tax_component_lastmodifiedby" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="11" name="lastmodified_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_tax_component_createdby" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="FK_tax_component_credit_gl_account" unique="false">
<column ascending="true" name="credit_account_id"/>
</index>
<index name="FK_tax_component_debit_gl_account" unique="false">
<column ascending="true" name="debit_account_id"/>
</index>
<index name="FK_tax_component_lastmodifiedby" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_tax_component_history" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="tax_component_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_tax_component_history_tax_component_id" implied="false" onDeleteCascade="false" table="m_tax_component"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="6" id="2" name="percentage" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="start_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="end_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="createdby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_tax_component_history_createdby" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="created_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="lastmodifiedby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_tax_component_history_lastmodifiedby" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="lastmodified_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_tax_component_history_createdby" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="FK_tax_component_history_lastmodifiedby" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
<index name="FK_tax_component_history_tax_component_id" unique="false">
<column ascending="true" name="tax_component_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_tax_group" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="tax_group_id" foreignKey="FK_m_charge_m_tax_group" implied="false" onDeleteCascade="false" table="m_charge"/>
<child catalog="fineract_default" column="tax_group_id" foreignKey="FK_savings_account_tax_group" implied="false" onDeleteCascade="false" table="m_savings_account"/>
<child catalog="fineract_default" column="tax_group_id" foreignKey="FK_savings_product_tax_group" implied="false" onDeleteCascade="false" table="m_savings_product"/>
<child catalog="fineract_default" column="tax_group_id" foreignKey="FK_tax_group_mappings_tax_group" implied="false" onDeleteCascade="false" table="m_tax_group_mappings"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="createdby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_tax_group_createdby" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="created_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="lastmodifiedby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_tax_group_lastmodifiedby" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="lastmodified_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_tax_group_createdby" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="FK_tax_group_lastmodifiedby" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_tax_group_mappings" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="tax_group_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_tax_group_mappings_tax_group" implied="false" onDeleteCascade="false" table="m_tax_group"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="tax_component_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_tax_group_mappings_tax_component" implied="false" onDeleteCascade="false" table="m_tax_component"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="start_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="end_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="createdby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_tax_group_mappings_createdby" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="created_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="lastmodifiedby_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_tax_group_mappings_lastmodifiedby" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="lastmodified_date" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_tax_group_mappings_createdby" unique="false">
<column ascending="true" name="createdby_id"/>
</index>
<index name="FK_tax_group_mappings_lastmodifiedby" unique="false">
<column ascending="true" name="lastmodifiedby_id"/>
</index>
<index name="FK_tax_group_mappings_tax_component" unique="false">
<column ascending="true" name="tax_component_id"/>
</index>
<index name="FK_tax_group_mappings_tax_group" unique="false">
<column ascending="true" name="tax_group_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_tellers" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="teller_id" foreignKey="FK_m_cashiers_m_teller" implied="false" onDeleteCascade="false" table="m_cashiers"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_tellers_m_office" implied="false" onDeleteCascade="false" table="m_office"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="debit_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_tellers_gl_account_debit_account_id" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="credit_account_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK_m_tellers_gl_account_credit_account_id" implied="false" onDeleteCascade="false" table="acc_gl_account"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="description" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="valid_from" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="valid_to" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="state" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK_m_tellers_gl_account_credit_account_id" unique="false">
<column ascending="true" name="credit_account_id"/>
</index>
<index name="FK_m_tellers_gl_account_debit_account_id" unique="false">
<column ascending="true" name="debit_account_id"/>
</index>
<index name="IK_m_tellers_m_office" unique="false">
<column ascending="true" name="office_id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="m_template" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="ugd_template_id" foreignKey="fk_ugd_template_id" implied="false" onDeleteCascade="false" table="m_hook"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="text" nullable="false" remarks="" size="2147483647" type="LONGTEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="entity" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="type" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="m_template_m_templatemappers" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="m_template_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="mappers_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<index name="m_template_id" unique="false">
<column ascending="true" name="m_template_id"/>
</index>
<index name="mappers_id" unique="true">
<column ascending="true" name="mappers_id"/>
</index>
</table>
<table catalog="fineract_default" name="m_templatemappers" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="mapperkey" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="mapperorder" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="mappervalue" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="m_trial_balance" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="office_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="2" name="amount" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="entry_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="created_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="5" name="closing_balance" nullable="false" remarks="" size="19" type="DECIMAL" typeCode="3"/>
</table>
<table catalog="fineract_default" name="m_working_days" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="recurrence" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="repayment_rescheduling_enum" nullable="true" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="3" name="extend_term_daily_repayments" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="4" name="extend_term_holiday_repayment" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="mix_taxonomy" 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="name" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="namespace_id" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="dimension" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="type" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="description" nullable="true" remarks="" size="1000" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="need_mapping" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="mix_taxonomy_mapping" 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="''" digits="0" id="1" name="identifier" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="config" nullable="true" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="last_update_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="currency" nullable="true" remarks="" size="11" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="mix_xbrl_namespace" 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="''" digits="0" id="1" name="prefix" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="url" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="prefix" unique="true">
<column ascending="true" name="prefix"/>
</index>
</table>
<table catalog="fineract_default" name="notification_generator" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="notification_id" foreignKey="notification_mapper_ibfk_3" implied="false" onDeleteCascade="false" table="notification_mapper"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="object_type" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="object_identifier" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="action" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="actor" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="5" name="is_system_generated" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="notification_content" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="created_at" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="notification_mapper" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="notification_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="notification_mapper_ibfk_3" implied="false" onDeleteCascade="false" table="notification_generator"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="user_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="notification_mapper_ibfk_2" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="3" name="is_read" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="created_at" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="notification_id" unique="false">
<column ascending="true" name="notification_id"/>
</index>
<index name="notification_mapper_user" unique="false">
<column ascending="true" name="user_id"/>
</index>
</table>
<table catalog="fineract_default" name="oauth_access_token" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="NULL" digits="0" id="0" name="token_id" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="token" nullable="true" remarks="" size="65535" type="BLOB" typeCode="-4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="authentication_id" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="user_name" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="client_id" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="authentication" nullable="true" remarks="" size="65535" type="BLOB" typeCode="-4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="refresh_token" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
</table>
<table catalog="fineract_default" name="oauth_client_details" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="client_id" nullable="false" remarks="" size="128" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="resource_ids" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="client_secret" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="scope" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="authorized_grant_types" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="web_server_redirect_uri" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="authorities" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="access_token_validity" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="refresh_token_validity" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="additional_information" nullable="true" remarks="" size="4096" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="10" name="autoapprove" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="client_id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="client_id"/>
</index>
</table>
<table catalog="fineract_default" name="oauth_refresh_token" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="NULL" digits="0" id="0" name="token_id" nullable="true" remarks="" size="256" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="token" nullable="true" remarks="" size="65535" type="BLOB" typeCode="-4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="authentication" nullable="true" remarks="" size="65535" type="BLOB" typeCode="-4"/>
</table>
<table catalog="fineract_default" name="ppi_likelihoods" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="code" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="" size="250" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="ppi_likelihoods_ppi" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="likelihood_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="ppi_name" nullable="false" remarks="" size="250" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="100" digits="0" id="3" name="enabled" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="ppi_scores" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="score_from" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="score_to" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="r_enum_value" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="enum_name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="enum_id" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="enum_message_property" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="enum_value" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="enum_type" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="enum_id" sequenceNumberInPK="1"/>
<primaryKey column="enum_name" sequenceNumberInPK="2"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="enum_name"/>
<column ascending="true" name="enum_id"/>
</index>
<index name="enum_message_property" unique="true">
<column ascending="true" name="enum_name"/>
<column ascending="true" name="enum_message_property"/>
</index>
<index name="enum_value" unique="true">
<column ascending="true" name="enum_name"/>
<column ascending="true" name="enum_value"/>
</index>
</table>
<table catalog="fineract_default" name="ref_loan_transaction_processing_strategy" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="loan_transaction_strategy_id" foreignKey="FK_loan_ltp_strategy" implied="false" onDeleteCascade="false" table="m_loan"/>
<child catalog="fineract_default" column="loan_transaction_strategy_id" foreignKey="FK_ltp_strategy" implied="false" onDeleteCascade="false" table="m_product_loan"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="code" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="name" nullable="true" remarks="" size="255" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="sort_order" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="code" unique="true">
<column ascending="true" name="code"/>
</index>
</table>
<table catalog="fineract_default" name="request_audit_table" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="lastname" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="username" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="mobile_number" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="firstname" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="authentication_token" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="password" nullable="false" remarks="" size="250" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="email" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="client_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FK1_request_audit_table_m_client" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="9" name="created_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="10" name="account_number" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FK1_request_audit_table_m_client" unique="false">
<column ascending="true" name="client_id"/>
</index>
</table>
<table catalog="fineract_default" name="rpt_sequence" 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"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="scheduled_email_campaign" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="email_campaign_id" foreignKey="fk_schedule_email_campign1" implied="false" onDeleteCascade="false" table="scheduled_email_messages_outbound"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="campaign_name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="campaign_type" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="business_rule_id" nullable="true" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="param_value" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="status_enum" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="email_subject" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="email_message" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="email_attachment_file_format" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="stretchy_report_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="scheduled_email_campaign_ibfk_1" implied="false" onDeleteCascade="false" table="stretchy_report"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="stretchy_report_param_map" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="closedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="closedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="submittedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="submittedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="approvedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="approvedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="recurrence" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="next_trigger_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="19" name="last_trigger_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="20" name="recurrence_start_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="21" name="is_visible" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="22" name="previous_run_error_log" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="23" name="previous_run_error_message" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="24" name="previous_run_status" nullable="true" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="scheduled_email_campaign_ibfk_1" unique="false">
<column ascending="true" name="stretchy_report_id"/>
</index>
</table>
<table catalog="fineract_default" name="scheduled_email_configuration" 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="name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="value" nullable="true" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="scheduled_email_messages_outbound" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="group_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="SEFKGROUP000000001" implied="false" onDeleteCascade="false" table="m_group"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="client_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="SEFKCLIENT00000001" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="staff_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="SEFKSTAFF000000001" implied="false" onDeleteCascade="false" table="m_staff"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="email_campaign_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_schedule_email_campign1" implied="false" onDeleteCascade="false" table="scheduled_email_campaign"/>
</column>
<column autoUpdated="false" defaultValue="100" digits="0" id="5" name="status_enum" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="email_address" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="email_subject" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="message" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="campaign_name" nullable="true" remarks="" size="200" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="submittedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="error_message" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_schedule_email_campign1" unique="false">
<column ascending="true" name="email_campaign_id"/>
</index>
<index name="SEFKCLIENT00000001" unique="false">
<column ascending="true" name="client_id"/>
</index>
<index name="SEFKGROUP000000001" unique="false">
<column ascending="true" name="group_id"/>
</index>
<index name="SEFKSTAFF000000001" unique="false">
<column ascending="true" name="staff_id"/>
</index>
</table>
<table catalog="fineract_default" name="scheduler_detail" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="5" type="SMALLINT" typeCode="5"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="1" name="is_suspended" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="2" name="execute_misfired_jobs" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="3" name="reset_scheduler_on_bootup" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
</table>
<table catalog="fineract_default" name="sms_campaign" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="campaign_id" foreignKey="FKCAMPAIGN00000001" implied="false" onDeleteCascade="false" table="sms_messages_outbound"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="campaign_name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="campaign_type" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="campaign_trigger_type" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="report_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="sms_campaign_ibfk_1" implied="false" onDeleteCascade="false" table="stretchy_report"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="provider_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="param_value" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="7" name="status_enum" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="8" name="message" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="submittedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="submittedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="approvedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="12" name="approvedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="13" name="closedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="14" name="closedon_userid" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="15" name="recurrence" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="16" name="next_trigger_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="17" name="last_trigger_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="18" name="recurrence_start_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="b'1'" digits="0" id="19" name="is_visible" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="20" name="is_notification" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="report_id" unique="false">
<column ascending="true" name="report_id"/>
</index>
</table>
<table catalog="fineract_default" name="sms_messages_outbound" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="1" name="group_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKGROUP000000001" implied="false" onDeleteCascade="false" table="m_group"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="client_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKCLIENT00000001" implied="false" onDeleteCascade="false" table="m_client"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="staff_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKSTAFF000000001" implied="false" onDeleteCascade="false" table="m_staff"/>
</column>
<column autoUpdated="false" defaultValue="100" digits="0" id="4" name="status_enum" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="mobile_no" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="message" nullable="false" remarks="" size="1000" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="campaign_id" nullable="true" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="FKCAMPAIGN00000001" implied="false" onDeleteCascade="false" table="sms_campaign"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="external_id" nullable="true" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="submittedon_date" nullable="true" remarks="" size="10" type="DATE" typeCode="91"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="delivered_on_date" nullable="true" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="11" name="is_notification" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="FKCAMPAIGN00000001" unique="false">
<column ascending="true" name="campaign_id"/>
</index>
<index name="FKCLIENT00000001" unique="false">
<column ascending="true" name="client_id"/>
</index>
<index name="FKGROUP000000001" unique="false">
<column ascending="true" name="group_id"/>
</index>
<index name="FKSTAFF000000001" unique="false">
<column ascending="true" name="staff_id"/>
</index>
</table>
<table catalog="fineract_default" name="stretchy_parameter" 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="fineract_default" column="parent_id" foreignKey="fk_stretchy_parameter_001" implied="false" onDeleteCascade="false" table="stretchy_parameter"/>
<child catalog="fineract_default" column="parameter_id" foreignKey="fk_report_parameter_002" implied="false" onDeleteCascade="false" table="stretchy_report_parameter"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="parameter_name" nullable="false" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="parameter_variable" nullable="true" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="parameter_label" nullable="false" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="parameter_displayType" nullable="false" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="parameter_FormatType" nullable="false" remarks="" size="10" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="parameter_default" nullable="false" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="7" name="special" nullable="true" remarks="" size="1" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="8" name="selectOne" nullable="true" remarks="" size="1" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="9" name="selectAll" nullable="true" remarks="" size="1" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="10" name="parameter_sql" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="11" name="parent_id" nullable="true" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="fk_stretchy_parameter_001" implied="false" onDeleteCascade="false" table="stretchy_parameter"/>
</column>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_stretchy_parameter_001_idx" unique="false">
<column ascending="true" name="parent_id"/>
</index>
<index name="parameter_name" unique="true">
<column ascending="true" name="parameter_name"/>
</index>
</table>
<table catalog="fineract_default" name="stretchy_report" 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="fineract_default" column="stretchy_report_id" foreignKey="m_report_mailing_job_ibfk_3" implied="false" onDeleteCascade="false" table="m_report_mailing_job"/>
<child catalog="fineract_default" column="stretchy_report_id" foreignKey="scheduled_email_campaign_ibfk_1" implied="false" onDeleteCascade="false" table="scheduled_email_campaign"/>
<child catalog="fineract_default" column="report_id" foreignKey="sms_campaign_ibfk_1" implied="false" onDeleteCascade="false" table="sms_campaign"/>
<child catalog="fineract_default" column="report_id" foreignKey="fk_report_parameter_001" implied="false" onDeleteCascade="true" table="stretchy_report_parameter"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="report_name" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="report_type" nullable="false" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="report_subtype" nullable="true" remarks="" size="20" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="4" name="report_category" nullable="true" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="5" name="report_sql" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="6" name="description" nullable="true" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="7" name="core_report" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="8" name="use_report" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="b'0'" digits="0" id="9" name="self_service_user_report" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="report_name" unique="true">
<column ascending="true" name="report_name"/>
</index>
</table>
<table catalog="fineract_default" name="stretchy_report_parameter" 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="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="fk_report_parameter_001" implied="false" onDeleteCascade="true" table="stretchy_report"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="parameter_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="fk_report_parameter_002" implied="false" onDeleteCascade="false" table="stretchy_parameter"/>
</column>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="3" name="report_parameter_name" nullable="true" remarks="" size="45" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_report_parameter_001_idx" unique="false">
<column ascending="true" name="report_id"/>
</index>
<index name="fk_report_parameter_002_idx" unique="false">
<column ascending="true" name="parameter_id"/>
</index>
<index name="report_parameter_unique" unique="true">
<column ascending="true" name="report_id"/>
<column ascending="true" name="parameter_id"/>
</index>
</table>
<table catalog="fineract_default" name="topic" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<child catalog="fineract_default" column="topic_id" foreignKey="fk_topic_has_m_appuser_topic" implied="false" onDeleteCascade="false" table="topic_subscriber"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="title" nullable="false" remarks="" size="100" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="enabled" nullable="true" remarks="" size="1" type="BIT" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="entity_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="entity_type" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="member_type" nullable="false" remarks="" size="65535" type="TEXT" typeCode="-1"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<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="fineract_default" name="topic_subscriber" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="topic_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_topic_has_m_appuser_topic" implied="false" onDeleteCascade="false" table="topic"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="user_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_topic_has_m_appuser_m_appuser1" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="subscription_date" nullable="false" remarks="" size="10" type="DATE" typeCode="91"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="fk_topic_has_m_appuser_m_appuser1" unique="false">
<column ascending="true" name="user_id"/>
</index>
<index name="fk_topic_has_m_appuser_topic" unique="false">
<column ascending="true" name="topic_id"/>
</index>
</table>
<table catalog="fineract_default" name="twofactor_access_token" numRows="9" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="token" nullable="false" remarks="" size="32" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="appuser_id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5">
<parent catalog="fineract_default" column="id" foreignKey="fk_2fa_access_token_user_id" implied="false" onDeleteCascade="false" table="m_appuser"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="3" name="valid_from" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="valid_to" nullable="false" remarks="" size="19" type="DATETIME" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="enabled" nullable="false" remarks="" size="1" type="BIT" typeCode="-7"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="token" unique="false">
<column ascending="true" name="token"/>
</index>
<index name="token_appuser_UNIQUE" unique="true">
<column ascending="true" name="token"/>
<column ascending="true" name="appuser_id"/>
</index>
<index name="user" unique="false">
<column ascending="true" name="appuser_id"/>
</index>
</table>
<table catalog="fineract_default" name="twofactor_configuration" numRows="0" remarks="" type="TABLE">
<column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="BIGINT" typeCode="-5"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="40" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="value" nullable="true" remarks="" size="1024" type="VARCHAR" typeCode="12"/>
<primaryKey column="id" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="id"/>
</index>
<index name="name" unique="true">
<column ascending="true" name="name"/>
</index>
</table>
<table catalog="fineract_default" name="x_registered_table" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="registered_table_name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12">
<child catalog="fineract_default" column="x_registered_table_name" foreignKey="m_entity_datatable_check_ibfk_1" implied="false" onDeleteCascade="false" table="m_entity_datatable_check"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="application_table_name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="NULL" digits="0" id="2" name="entity_subtype" nullable="true" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="100" digits="0" id="3" name="category" nullable="false" remarks="" size="10" type="INT" typeCode="4"/>
<primaryKey column="registered_table_name" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="registered_table_name"/>
</index>
</table>
<table catalog="fineract_default" name="x_table_column_code_mappings" numRows="0" remarks="" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="column_alias_name" nullable="false" remarks="" size="50" type="VARCHAR" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="code_id" nullable="false" remarks="" size="10" type="INT" typeCode="4">
<parent catalog="fineract_default" column="id" foreignKey="FK_x_code_id" implied="false" onDeleteCascade="false" table="m_code"/>
</column>
<primaryKey column="column_alias_name" sequenceNumberInPK="1"/>
<index name="PRIMARY" unique="true">
<column ascending="true" name="column_alias_name"/>
</index>
<index name="FK_x_code_id" unique="false">
<column ascending="true" name="code_id"/>
</index>
</table>
</tables>
</database>