mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Handle missing exchange rate provider, allow fallback for missing rates (#955)
* Clean up exchange rate logic * Remove stale method
This commit is contained in:
parent
bef335c631
commit
6767aaed1d
20 changed files with 383 additions and 609 deletions
6
db/migrate/20240706151026_rename_rate_fields.rb
Normal file
6
db/migrate/20240706151026_rename_rate_fields.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
class RenameRateFields < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
rename_column :exchange_rates, :base_currency, :from_currency
|
||||
rename_column :exchange_rates, :converted_currency, :to_currency
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue