mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
* Fix bug: Loan % doesn't allow exact rate Fixes #1487 Change the step of the interest rate field to 0.005. It's unlikely that we'll see interest rates in smaller increments. * step 0.005 * migration for loan interest rates precision * add new line
6 lines
168 B
Ruby
6 lines
168 B
Ruby
class ChangeLoanInterestRatePrecision < ActiveRecord::Migration[7.2]
|
|
def change
|
|
change_column :loans, :interest_rate, :decimal, precision: 10, scale: 3
|
|
end
|
|
end
|