insert([ 'user_type' => $userType, 'user_id' => $userId, 'operation' => $operation, 'ip_address' => Request::ip(), 'created_at' => now(), ]); } }