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

This commit is contained in:
Harun CAN
2026-05-09 05:57:56 +02:00
parent 3d36926fe9
commit 58832e99d1
17 changed files with 1469 additions and 59 deletions
+12
View File
@@ -0,0 +1,12 @@
const { PrismaClient } = require('@prisma/client');
const prisma = new PrismaClient();
async function main() {
const admin = await prisma.user.findFirst({
where: { email: 'admin@contentgen.ai' },
include: { roles: { include: { role: true } } }
});
console.log(JSON.stringify(admin, null, 2));
}
main().catch(console.error).finally(() => prisma.$disconnect());