mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 03:24:09 +00: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
6 lines
135 B
Ruby
6 lines
135 B
Ruby
class AddLastSyncDateToAccounts < ActiveRecord::Migration[7.2]
|
|
def change
|
|
add_column :accounts, :last_sync_date, :date
|
|
end
|
|
end
|