Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby
415 B
Raw Blame
class AddPrincipalOnlyTransfersToLoans < ActiveRecord::Migration[8.1]
  # A linked transfer can be the principal part of a payment whose interest is
  # recorded separately. No ledger marker reliably says so, so the borrower
  # sets the behaviour per loan instead of the replay guessing from an amount.
  def change
    add_column :loans, :principal_only_transfers, :boolean, default: false, null: false
  end
end