<?php

namespace App\Console;

use App\Console\Commands\GenerateSimpleRelationships;
use App\Console\Commands\MakeModelWithRelationships;
use App\Console\Commands\PruneAuditLogs;
use App\Console\Commands\UpdateLogicalRelationships;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
    protected $commands = [
        PruneAuditLogs::class,
        UpdateLogicalRelationships::class,
        MakeModelWithRelationships::class,
        GenerateSimpleRelationships::class,
    ];

    protected function schedule(Schedule $schedule): void
    {
        // Laravel 12부터는 routes/console.php에서 스케줄러를 정의합니다.
        // Schedule::command() 방식 사용
    }

    protected function commands(): void
    {
        // 라우트 콘솔 혹은 커맨드 자동 로딩 필요 시 사용
        // $this->load(__DIR__.'/Commands');
    }
}
