Revert "Upstream 20240517"
This commit is contained in:
parent
9c006fd893
commit
f6dec44e95
2347 changed files with 26470 additions and 87494 deletions
|
@ -20,9 +20,6 @@ class AccountStat < ApplicationRecord
|
|||
|
||||
belongs_to :account, inverse_of: :account_stat
|
||||
|
||||
scope :by_recent_status, -> { order(arel_table[:last_status_at].desc.nulls_last) }
|
||||
scope :without_recent_activity, -> { where(last_status_at: [nil, ...1.month.ago]) }
|
||||
|
||||
update_index('accounts', :account)
|
||||
|
||||
def following_count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue