This is an automated email from the ASF dual-hosted git repository.
adamsaghy 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 c7c85cb038 FINERACT-2181: Add missing indexes
c7c85cb038 is described below
commit c7c85cb038477930627aaf3f047cc7448b346723
Author: Adam Saghy <[email protected]>
AuthorDate: Mon May 5 12:10:30 2025 +0200
FINERACT-2181: Add missing indexes
---
.../tenant/module/loan/module-changelog-master.xml | 2 ++
.../module/loan/parts/1028_add_missing_indexes.xml | 42 ++++++++++++++++++++++
2 files changed, 44 insertions(+)
diff --git
a/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/module-changelog-master.xml
b/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/module-changelog-master.xml
index 999ae20a04..89230b66ea 100644
---
a/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/module-changelog-master.xml
+++
b/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/module-changelog-master.xml
@@ -49,4 +49,6 @@
<include relativeToChangelogFile="true"
file="parts/1024_accrual_adjustment_transaction_type.xml"/>
<include relativeToChangelogFile="true"
file="parts/1025_store_pre_closure_strategy_to_loan_level.xml"/>
<include relativeToChangelogFile="true"
file="parts/1026_add_interest_recognition_flag.xml"/>
+ <include relativeToChangelogFile="true"
file="parts/1027_add_capitalized_income_transaction_type.xml"/>
+ <include relativeToChangelogFile="true"
file="parts/1028_add_missing_indexes.xml"/>
</databaseChangeLog>
diff --git
a/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/parts/1028_add_missing_indexes.xml
b/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/parts/1028_add_missing_indexes.xml
new file mode 100644
index 0000000000..9d3eeef2b6
--- /dev/null
+++
b/fineract-loan/src/main/resources/db/changelog/tenant/module/loan/parts/1028_add_missing_indexes.xml
@@ -0,0 +1,42 @@
+<?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.3.xsd">
+ <changeSet author="fineract" id="1">
+ <createIndex
indexName="m_loan_transaction_transaction_type_enum_index"
tableName="m_loan_transaction">
+ <column name="transaction_type_enum"/>
+ </createIndex>
+ <createIndex indexName="m_loan_transaction_transaction_date_index"
tableName="m_loan_transaction">
+ <column name="transaction_date"/>
+ </createIndex>
+ <createIndex indexName="m_loan_transaction_created_on_utc_index"
tableName="m_loan_transaction">
+ <column name="created_on_utc"/>
+ </createIndex>
+ <createIndex indexName="m_loan_transaction_is_reversed_index"
tableName="m_loan_transaction">
+ <column name="is_reversed"/>
+ </createIndex>
+ <createIndex indexName="m_loan_transaction_submitted_on_date_index"
tableName="m_loan_transaction">
+ <column name="submitted_on_date"/>
+ </createIndex>
+ </changeSet>
+</databaseChangeLog>