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

Fix foreign account sync crash (#794)

* Fix foreign account sync crash

* Refactor synth provider and show UI error if not configured

* Generate error message on missing exchange rates while converting balances

* Ignore sync messaged in i18n-tasks unused

* Generate missing exchange rate error during entry normalization

* Update alert classes
This commit is contained in:
Jakub Kottnauer 2024-05-27 18:10:28 +02:00 committed by GitHub
parent e9c8897eaf
commit 483d67846c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 102 additions and 45 deletions

View file

@ -0,0 +1,8 @@
class ChangeAccountErrorColumnsDefault < ActiveRecord::Migration[7.2]
def up
change_column_default :accounts, :sync_warnings, from: "[]", to: []
change_column_default :accounts, :sync_errors, from: "[]", to: []
Account.update_all(sync_warnings: [])
Account.update_all(sync_errors: [])
end
end