mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-21 06:09:38 +02:00
* Add last_sync_date to accounts table * Always sync Account after Valuation or Transaction creation, update, or deletion. Skip sync if user clicks "sync" button without changing anything * Sync user accounts daily based on last_login_at
5 lines
135 B
Ruby
5 lines
135 B
Ruby
class AddLastSyncDateToAccounts < ActiveRecord::Migration[7.2]
|
|
def change
|
|
add_column :accounts, :last_sync_date, :date
|
|
end
|
|
end
|