Bhavya-Sonigra opened a new pull request, #6296:
URL: https://github.com/apache/fineract/pull/6296

   ### Description
   This PR implements feature 
[FINERACT-2774](https://issues.apache.org/jira/browse/FINERACT-2774), 
increasing the storage capacity for notes across the Fineract platform to 
support `TEXT` data types.
   
   **Background:**
   Previously, the note management system restricted the length of all notes 
(client, loan, group, etc.) to a hard limit of 1,000 characters. This prevented 
institutions from recording comprehensive business evaluations, detailed client 
interaction logs, and longer administrative records.
   
   **Changes Made:**
   * Added a Liquibase migration script to modify the data type of the `note` 
column in the `m_note` table to `TEXT`.
   * Updated the `Note` JPA entity to remove the 1,000 character restriction 
and map the column to `TEXT`.
   * Modified the `NoteCreateRequest` and `NoteUpdateRequest` DTOs to increase 
the `@Size(max = ...)` validation limit to 65,535 characters, aligning with 
standard relational database `TEXT` limits.
   * Verified functionality and structural integrity locally by running 
targeted unit tests across the `fineract-core` and `fineract-provider` modules.
   
   ---
   
   ### Checklist
   Please make sure these boxes are checked before submitting your pull request 
- thanks!
   
   - [x] Write the commit message as per our guidelines
   - [x] Acknowledge that we will not review PRs that are not passing the build 
("green") - it is your responsibility to get a proposed PR to pass the build, 
not primarily the project's maintainers.
   - [x] Create/update unit or integration tests for verifying the changes made.
   - [x] Follow our coding conventions.
   - [ ] Add required Swagger annotation and update API documentation at 
`fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm` with 
details of any API changes
   - [x] This PR must not be a "code dump". Large changes can be made in a 
branch, with assistance. Ask for help on the developer mailing list.
   - [x] If merging this PR resolves a JIRA issue, I will mark that issue as 
resolved and set "Fix Version/s" appropriately.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to