Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

313 B
Raw Blame
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