<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;

return new class extends Migration
{
    public function up(): void
    {
        DB::table('users')
            ->where('role', 'admin')
            ->update(['is_kyc_verified' => true]);
    }

    public function down(): void
    {
        // Keep admin accounts as KYC verified on rollback as well.
    }
};

