diff options
author | Starfall <us@starfall.systems> | 2021-06-08 09:28:57 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2021-06-08 09:28:57 -0500 |
commit | f95637178671b1aa0648fa506231717229a6cd8f (patch) | |
tree | fbaa725bcdb88220c5d1e299b338b196822460e5 /app/models/account_stat.rb | |
parent | 2c6fcb9cf8fbb09e900fc3625837529155f98f4f (diff) | |
parent | db5baf3d1a93cbf6961f721205cff0beaf71bffd (diff) |
Merge branch 'glitch'
Conflicts: yarn.lock: caniuse-lite has been outdated in upstream for awhile, and we fixed it a few weeks ago in our fork
Diffstat (limited to 'app/models/account_stat.rb')
-rw-r--r-- | app/models/account_stat.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/account_stat.rb b/app/models/account_stat.rb index a826a9af3..44da4f0d0 100644 --- a/app/models/account_stat.rb +++ b/app/models/account_stat.rb @@ -11,10 +11,11 @@ # created_at :datetime not null # updated_at :datetime not null # last_status_at :datetime -# lock_version :integer default(0), not null # class AccountStat < ApplicationRecord + self.locking_column = nil + belongs_to :account, inverse_of: :account_stat update_index('accounts#account', :account) |