mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00: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
9 lines
313 B
Ruby
9 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
|