diff --git a/app/src/Database/Relations/Concerns/Unique.php b/app/src/Database/Relations/Concerns/Unique.php index 3fa9c93f..1b8ac6cc 100644 --- a/app/src/Database/Relations/Concerns/Unique.php +++ b/app/src/Database/Relations/Concerns/Unique.php @@ -296,7 +296,7 @@ public function getPaginatedQuery(Builder $query, $limit = null, $offset = null) } $primaryKeyName = $this->getParent()->getKeyName(); - $modelIds = $constrainedBuilder->get()->pluck($primaryKeyName)->toArray(); + // $sql = $constrainedBuilder->toSql(); $modelIds = $constrainedBuilder->get() ->pluck($primaryKeyName) ->toArray();