main
Some checks failed
Backend Deploy 🚀 / build-and-deploy (push) Has been cancelled

This commit is contained in:
Harun CAN
2026-04-05 20:37:15 +03:00
parent 9f17ced37d
commit 9486f86cca
22 changed files with 2175 additions and 29 deletions

9
test-db.js Normal file
View File

@@ -0,0 +1,9 @@
const { PrismaClient } = require('@prisma/client');
const prisma = new PrismaClient();
async function main() {
const projects = await prisma.project.findMany({ select: { id: true, userId: true, title: true, status: true, deletedAt: true } });
console.log('Projects:', projects);
const users = await prisma.user.findMany({ select: { id: true, email: true } });
console.log('Users:', users);
}
main().catch(console.error).finally(() => prisma.$disconnect());