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

This commit is contained in:
Harun CAN
2026-04-09 12:04:27 +03:00
parent 6627c213ec
commit 5f78ce274e
11 changed files with 381 additions and 107 deletions
+7
View File
@@ -0,0 +1,7 @@
const { PrismaClient } = require('@prisma/client');
const prisma = new PrismaClient();
async function main() {
const projects = await prisma.project.findMany();
console.log(projects.map(p => ({id: p.id, title: p.title})));
}
main().catch(console.error).finally(() => prisma.$disconnect());