This commit is contained in:
2026-03-12 23:20:49 -05:00
parent f5a1361fd3
commit 8b4a18e29d
2 changed files with 22 additions and 14 deletions

15
check_prisma.js Normal file
View File

@@ -0,0 +1,15 @@
const { PrismaClient } = require('@prisma/client');
const prisma = new PrismaClient();
async function main() {
try {
const count = await prisma.user.count();
console.log('User count:', count);
} catch (e) {
console.error('Error counting users:', e);
} finally {
await prisma.$disconnect();
}
}
main();