<?php

use Illuminate\Support\Facades\DB;

require __DIR__ . '/vendor/autoload.php';

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

$m = DB::table('migrations')->where('migration', '2025_12_28_000000_create_categories_table')->first();
if ($m) {
    echo "Found: {$m->migration} (Batch {$m->batch})\n";
} else {
    echo "NOT FOUND: 2025_12_28_000000_create_categories_table\n";
}
