edtech / apps /api /delete.js
CognxSafeTrack
fix(whatsapp): send day 1 content instantly and allow INSCRIPTION to reset state for testing
f9629ec
raw
history blame contribute delete
357 Bytes
const { PrismaClient } = require('@prisma/client');
const prisma = new PrismaClient();
async function main() {
console.log("Deleting user...");
const res = await prisma.user.deleteMany({
where: { phone: '221781476249' }
});
console.log("Deleted count:", res.count);
}
main().catch(console.error).finally(() => prisma.$disconnect());