You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ar...@apache.org on 2023/04/27 18:47:08 UTC

[fineract] branch develop updated: FINERACT-1923-Add-db-indices-loan-table

This is an automated email from the ASF dual-hosted git repository.

arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new a29f95414 FINERACT-1923-Add-db-indices-loan-table
a29f95414 is described below

commit a29f95414e3c356b8e00dbd4e32c6590425f916e
Author: Ruchi Dhamankar <ru...@gmail.com>
AuthorDate: Thu Apr 27 14:53:06 2023 +0530

    FINERACT-1923-Add-db-indices-loan-table
---
 .../db/changelog/tenant/changelog-tenant.xml       |  1 +
 .../tenant/parts/0105_add_indices_loan_table.xml   | 45 ++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml b/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
index 8b150c20d..73bee640d 100644
--- a/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
+++ b/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
@@ -124,4 +124,5 @@
     <include file="parts/0102_add_external_event_for_loan_reschedule.xml" relativeToChangelogFile="true" />
     <include file="parts/0103_modify_parameter_json_column_custom_job_parameters.xml" relativeToChangelogFile="true" />
     <include file="parts/0104_loan_product_add_repayment_overdue_days_config.xml" relativeToChangelogFile="true" />
+    <include file="parts/0105_add_indices_loan_table.xml" relativeToChangelogFile="true" />
 </databaseChangeLog>
diff --git a/fineract-provider/src/main/resources/db/changelog/tenant/parts/0105_add_indices_loan_table.xml b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0105_add_indices_loan_table.xml
new file mode 100644
index 000000000..fc0f163b5
--- /dev/null
+++ b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0105_add_indices_loan_table.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements. See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License. You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied. See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
+                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+                   xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
+    <changeSet author="fineract" id="1">
+        <createIndex indexName="FK_loan_status_id" tableName="m_loan">
+            <column name="loan_status_id"/>
+        </createIndex>
+    </changeSet>
+    <changeSet author="fineract" id="2">
+        <createIndex indexName="FK_loan_expected_maturedon_date" tableName="m_loan">
+            <column name="expected_maturedon_date"/>
+        </createIndex>
+    </changeSet>
+    <changeSet author="fineract" id="3">
+        <createIndex indexName="FK_loan_last_closed_business_date" tableName="m_loan">
+            <column name="last_closed_business_date"/>
+        </createIndex>
+    </changeSet>
+    <changeSet author="fineract" id="4">
+        <createIndex indexName="FK_loan_overpaidon_date" tableName="m_loan">
+            <column name="overpaidon_date"/>
+        </createIndex>
+    </changeSet>
+</databaseChangeLog>