1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00

Add default currencies to forms based on preference (#994)

* Add default currencies to forms based on preference

* Remove dev debugging
This commit is contained in:
Zach Gollwitzer 2024-07-17 08:57:17 -04:00 committed by GitHub
parent e51806b98b
commit e9f42c1a65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 35 additions and 20 deletions

View file

@ -0,0 +1,6 @@
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