
import { getDatabase } from '../src/lib/database';
import { DrizzleDatabase } from '../src/lib/database/drizzle';

async function checkUserRole() {
    const db = await getDatabase();
    const users = await db.getAllUsers();
    console.log('Users found:', users.length);
    users.forEach(u => {
        console.log(`User: ${u.email}, Role: ${u.role}, ID: ${u.id}`);
    });
}

checkUserRole().catch(console.error);
