7 lines
172 B
Ruby
7 lines
172 B
Ruby
class AuditLog < ApplicationRecord
|
|
belongs_to :user, optional: true
|
|
|
|
validates :data, presence: true
|
|
|
|
MODERATOR_AUDIT_LOG_CATEGORY = "moderator.audit.log".freeze
|
|
end
|