fix:트리거 감사로그 목록 Out of sort memory 에러 수정
- select * → 목록에 필요한 컬럼만 select (JSON 대용량 컬럼 제외) - old_values, new_values, session_info 등 정렬 버퍼 과다 사용 방지 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,9 @@ public function __construct(
|
||||
*/
|
||||
public function index(Request $request): View
|
||||
{
|
||||
$query = TriggerAuditLog::query()->orderByDesc('created_at');
|
||||
$query = TriggerAuditLog::query()
|
||||
->select(['id', 'table_name', 'row_id', 'dml_type', 'changed_columns', 'operation_id', 'created_at'])
|
||||
->orderByDesc('created_at');
|
||||
|
||||
// 필터링
|
||||
if ($request->filled('table_name')) {
|
||||
|
||||
Reference in New Issue
Block a user