<?php
require __DIR__ . '/vendor/autoload.php';
$app = require_once __DIR__ . '/bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$kernel->bootstrap();

$user = \App\Models\User::where('username', 'kesbangpol')->first();
if ($user) {
    $user->email = 'kesbangpol@gmail.com';
    $user->save();
    echo "Updated email to kesbangpol@gmail.com\n";
} else {
    echo "User kesbangpol not found\n";
}
