import { PrismaClient } from '@prisma/client' const prisma = new PrismaClient() async function check() { const pages = await prisma.pageContent.findMany({ where: { slug: 'home' }, orderBy: { locale: 'asc' } }) console.log('\n=== VERSÕES DA PÁGINA HOME ===\n') for (const page of pages) { const content = typeof page.content === 'string' ? JSON.parse(page.content) : page.content console.log(`[${page.locale.toUpperCase()}] Hero title: ${content.hero?.title?.substring(0, 70)}...`) console.log(` Atualizado: ${page.updatedAt}`) console.log('') } await prisma.$disconnect() } check().catch(console.error)