diff options
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 44da4f0d0..b49827267 100644 --- a/app/models/account_stat.rb +++ b/app/models/account_stat.rb @@ -15,8 +15,9 @@ class AccountStat < ApplicationRecord self.locking_column = nil + self.ignored_columns = %w(lock_version) belongs_to :account, inverse_of: :account_stat - update_index('accounts#account', :account) + update_index('accounts', :account) end |