<?php

require dirname(__DIR__) . '/db.php';

$count = (int) $pdo->query('SELECT COUNT(*) FROM users')->fetchColumn();
echo "DB OK - users: $count\n";
echo "Admin seed: " . ($count > 0 ? 'yes' : 'no') . "\n";
