const { PrismaClient } = require('@prisma/client');
const prisma = new PrismaClient();

async function main() {
  const tours = await prisma.tour.findMany({
    include: {
      participants: {
        include: {
          user: { select: { email: true, name: true } }
        }
      }
    }
  });
  console.log(JSON.stringify(tours, null, 2));
}

main().finally(() => prisma.$disconnect());
