forked from FITER1/fineract-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EA-112 Make amount to 8 decimal points from default 2 decimal places
- Loading branch information
Showing
3 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,4 +118,18 @@ | |
</sql> | ||
</changeSet> | ||
|
||
<changeSet id="upgrade_scale_from_2_to_8" author="[email protected]"> | ||
<preConditions onFail="MARK_RAN"> | ||
<columnExists tableName="m_charge" columnName="amount"/> | ||
</preConditions> | ||
<modifyDataType tableName="m_charge" columnName="amount" newDataType="DECIMAL(19,8)"/> | ||
</changeSet> | ||
|
||
<changeSet id="upgrade-m_interest_rate_scale_from_4_to_8" author="[email protected]"> | ||
<preConditions onFail="MARK_RAN"> | ||
<columnExists tableName="m_interest_rate" columnName="current_rate"/> | ||
</preConditions> | ||
<modifyDataType tableName="m_interest_rate" columnName="current_rate" newDataType="DECIMAL(10,8)"/> | ||
</changeSet> | ||
|
||
</databaseChangeLog> |