const { PrismaClient } = require('@prisma/client'); const prisma = new PrismaClient(); async function main() { const result = await prisma.subscriptionPlan.deleteMany({ where: { name: { in: ['测试套餐', '测试版', 'Test Plan', 'TestPackage'] } } }); console.log('Deleted count:', result.count); const remaining = await prisma.subscriptionPlan.findMany({ orderBy: { sortOrder: 'asc' } }); console.log('Remaining plans:', remaining.map(p => ({ id: p.id, name: p.name, level: p.level, priceMonthly: p.priceMonthly }))); } main().catch(console.error).finally(() => prisma.$disconnect());