mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-21 14:19:39 +02:00
* 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
8 lines
313 B
Ruby
8 lines
313 B
Ruby
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
|