<?php
include 'db.php';

echo "Checking token_transactions table structure...\n\n";

try {
    $stmt = $pdo->query('DESCRIBE token_transactions');
    echo "token_transactions table structure:\n";
    while ($row = $stmt->fetch()) {
        echo "  " . $row['Field'] . " - " . $row['Type'] . "\n";
    }
} catch (Exception $e) {
    echo "Error: " . $e->getMessage() . "\n";
}

echo "\nDone!\n";
?>
