1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-21 14:19:39 +02:00
Maybe/db/migrate/20240717113535_remove_default_from_account_balance.rb
Zach Gollwitzer e9f42c1a65
Add default currencies to forms based on preference (#994)
* Add default currencies to forms based on preference

* Remove dev debugging
2024-07-17 08:57:17 -04:00

6 lines
229 B
Ruby

class RemoveDefaultFromAccountBalance < ActiveRecord::Migration[7.2]
def change
change_column_default :accounts, :balance, from: "0.0", to: nil
change_column_default :accounts, :currency, from: "USD", to: nil
end
end