<?php
require_once __DIR__ . '/../config/config.php';
$db = Database::getInstance();
try {
    $cols = $db->fetchAll('DESCRIBE message_templates');
    foreach ($cols as $c) echo $c['Field'] . ' => ' . $c['Type'] . PHP_EOL;
} catch (Exception $e) {
    echo 'Error: ' . $e->getMessage() . PHP_EOL;
}
