import { PrismaClient } from '@prisma/client'; const prisma = new PrismaClient(); async function main() { console.log('🔄 Running database migrations...'); // This script can be used to run custom migrations // For standard migrations, use: npx prisma migrate deploy console.log('✅ Migrations complete'); } main() .catch((e) => { console.error('❌ Migration failed:', e); process.exit(1); }) .finally(async () => { await prisma.$disconnect(); });