<?php

use App\Models\Setting;
use Illuminate\Database\Migrations\Migration;

return new class extends Migration
{
    public function up(): void
    {
        // PRC-338: ticket_merge_allow_cross_client kaldırıldı — cross-client
        // ticket merge artık her zaman reddedilir (privacy/data-leakage
        // guard). Eski kurulumlarda kalan satır temizlenir.
        Setting::where('key', 'ticket_merge_allow_cross_client')->delete();
    }

    public function down(): void
    {
        // Irreversible — toggle removed by design (cross-client merge forbidden).
    }
};
