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/19 12:08:02 UTC

[fineract] branch develop updated: FINERACT-1724: Increase schema RO password length

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 542971053 FINERACT-1724: Increase schema RO password length
542971053 is described below

commit 542971053e16db5a238bf4a4cb96298513fdfcec
Author: Adam Saghy <ad...@gmail.com>
AuthorDate: Wed Apr 19 12:41:04 2023 +0200

    FINERACT-1724: Increase schema RO password length
---
 .../db/changelog/tenant-store/changelog-tenant-store.xml       |  1 +
 .../0007_x_extend_tenant_ro_passwords.xml}                     | 10 +++-------
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/fineract-provider/src/main/resources/db/changelog/tenant-store/changelog-tenant-store.xml b/fineract-provider/src/main/resources/db/changelog/tenant-store/changelog-tenant-store.xml
index ae5bb4f01..e0efb45cf 100644
--- a/fineract-provider/src/main/resources/db/changelog/tenant-store/changelog-tenant-store.xml
+++ b/fineract-provider/src/main/resources/db/changelog/tenant-store/changelog-tenant-store.xml
@@ -27,6 +27,7 @@
      <include file="parts/0005_jdbc_connection_string.xml" relativeToChangelogFile="true"/>
      <include file="parts/0006_drop_retry_parameter_columns.xml" relativeToChangelogFile="true"/>
      <include file="parts/0007_encrypt_existing_tenant_passwords.xml" relativeToChangelogFile="true"/>
+     <include file="parts/0007_x_extend_tenant_ro_passwords.xml" relativeToChangelogFile="true"/>
      <include file="parts/0008_encrypt_existing_ro_tenant_passwords.xml" relativeToChangelogFile="true"/>
      <include file="parts/0009_set_and_encrypt_ro_if_not_exists.xml" relativeToChangelogFile="true"/>
 </databaseChangeLog>
diff --git a/fineract-provider/src/main/resources/db/changelog/tenant-store/changelog-tenant-store.xml b/fineract-provider/src/main/resources/db/changelog/tenant-store/parts/0007_x_extend_tenant_ro_passwords.xml
similarity index 62%
copy from fineract-provider/src/main/resources/db/changelog/tenant-store/changelog-tenant-store.xml
copy to fineract-provider/src/main/resources/db/changelog/tenant-store/parts/0007_x_extend_tenant_ro_passwords.xml
index ae5bb4f01..8cc24e6cc 100644
--- a/fineract-provider/src/main/resources/db/changelog/tenant-store/changelog-tenant-store.xml
+++ b/fineract-provider/src/main/resources/db/changelog/tenant-store/parts/0007_x_extend_tenant_ro_passwords.xml
@@ -22,11 +22,7 @@
 <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">
-     <include file="parts/0003_reset_postgresql_sequences.xml" relativeToChangelogFile="true"/>
-     <include file="parts/0004_readonly_database_connection.xml" relativeToChangelogFile="true"/>
-     <include file="parts/0005_jdbc_connection_string.xml" relativeToChangelogFile="true"/>
-     <include file="parts/0006_drop_retry_parameter_columns.xml" relativeToChangelogFile="true"/>
-     <include file="parts/0007_encrypt_existing_tenant_passwords.xml" relativeToChangelogFile="true"/>
-     <include file="parts/0008_encrypt_existing_ro_tenant_passwords.xml" relativeToChangelogFile="true"/>
-     <include file="parts/0009_set_and_encrypt_ro_if_not_exists.xml" relativeToChangelogFile="true"/>
+    <changeSet author="fineract" id="1" context="tenant_store_db">
+        <modifyDataType tableName="tenant_server_connections" columnName="readonly_schema_password" newDataType="varchar(255)"/>
+    </changeSet>
 </databaseChangeLog>