edtech / apps /api /delete-user.ts
CognxSafeTrack
fix(whatsapp): send day 1 content instantly and allow INSCRIPTION to reset state for testing
f9629ec
raw
history blame contribute delete
352 Bytes
import { PrismaClient } from '@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());