<?php
require_once __DIR__ . '/../../config.php';
$db = getDB();
$stmt = $db->query("SHOW COLUMNS FROM transacciones");
$cols = $stmt->fetchAll();
foreach ($cols as $c) {
    if (stripos($c['Field'], 'sky') !== false || stripos($c['Field'], 'track') !== false || stripos($c['Field'], 'carrier') !== false || stripos($c['Field'], 'label') !== false) {
        echo $c['Field'] . " (" . $c['Type'] . ")\n";
    }
}
