<?php

require __DIR__.'/vendor/autoload.php';
$app = require_once __DIR__.'/bootstrap/app.php';

$pdo = new PDO('mysql:host=127.0.0.1;dbname=jurislocator', 'root', '');
$stmt = $pdo->query('DESCRIBE users');

echo "Users table columns:\n";
echo "==================\n";
foreach($stmt->fetchAll(PDO::FETCH_ASSOC) as $row) {
    echo $row['Field'] . ' (' . $row['Type'] . ")\n";
}
