diff options
Diffstat (limited to 'app/models/user_custom_attribute.rb')
-rw-r--r-- | app/models/user_custom_attribute.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/user_custom_attribute.rb b/app/models/user_custom_attribute.rb index 559e93be360..4ebb8ba9f00 100644 --- a/app/models/user_custom_attribute.rb +++ b/app/models/user_custom_attribute.rb @@ -11,6 +11,9 @@ class UserCustomAttribute < ApplicationRecord scope :by_updated_at, ->(updated_at) { where(updated_at: updated_at) } scope :arkose_sessions, -> { by_key('arkose_session') } + BLOCKED_BY = 'blocked_by' + UNBLOCKED_BY = 'unblocked_by' + class << self def upsert_custom_attributes(custom_attributes) created_at = DateTime.now |