mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
* 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
7 lines
197 B
Ruby
7 lines
197 B
Ruby
class RenameAccountBalance < ActiveRecord::Migration[7.2]
|
|
def change
|
|
rename_column :accounts, :original_balance, :balance
|
|
rename_column :accounts, :original_currency, :currency
|
|
end
|
|
end
|