<?php
require_once __DIR__ . '/public/index.php'; // This registers autoloader but might run router
// Better to just manually require the config
require_once __DIR__ . '/config/Database.php';

$db = App\Config\Database::getInstance()->getConnection();
$stmt = $db->query("SHOW COLUMNS FROM tenants");
echo "TENANTS:\n";
print_r($stmt->fetchAll(PDO::FETCH_ASSOC));

$stmt = $db->query("SHOW COLUMNS FROM users");
echo "\nUSERS:\n";
print_r($stmt->fetchAll(PDO::FETCH_ASSOC));
