mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Prepare fixture data for account sync tests (#493)
* Rename account balance field for clarity `original_balance` and `original_currency` may infer that these values are "original" to the account. In reality, they represent the "current" balance and currency on the account. * Prepare fixture data for account sync testing * Update to new field * Fix conflicts * Remove local schema change
This commit is contained in:
parent
d3b326d273
commit
7d48c01833
37 changed files with 230 additions and 265 deletions
6
db/migrate/20240227142457_rename_account_balance.rb
Normal file
6
db/migrate/20240227142457_rename_account_balance.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
class RenameAccountBalance < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
rename_column :accounts, :original_balance, :balance
|
||||
rename_column :accounts, :original_currency, :currency
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue