mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 13:35:21 +02:00
loan: Set the first valuation as the original principal. (#2088)
Fix: #1645.
This commit is contained in:
parent
5cb2183bdf
commit
f181ba941f
10 changed files with 59 additions and 13 deletions
5
db/migrate/20250405210514_add_initial_balance_field.rb
Normal file
5
db/migrate/20250405210514_add_initial_balance_field.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddInitialBalanceField < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
add_column :loans, :initial_balance, :decimal, precision: 19, scale: 4
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue