<?php
require 'config/database.php';
$pdo = getDBConnection();
try {
    $cols = $pdo->query("DESCRIBE `movimientos_inventario`")->fetchAll();
    foreach ($cols as $col) {
        echo "{$col['Field']} - {$col['Type']} - Null: {$col['Null']} - Key: {$col['Key']} - Default: {$col['Default']}" . PHP_EOL;
    }
} catch (Exception $e) {
    echo "Error: " . $e->getMessage() . PHP_EOL;
}
