feat: arastirma modulleri odeme ve operasyonlari tamamla

This commit is contained in:
2026-08-09 09:24:26 +03:00
parent 4b4e00c6ee
commit 2b75e97ad6
45 changed files with 1316 additions and 330 deletions
+4
View File
@@ -30,6 +30,10 @@ async function main() {
console.log("🌱 Empty database detected. Running demo seed...");
await runSeed();
if (process.env.ENABLE_DEMO_ACCOUNTS !== "true") {
await prisma.user.deleteMany({ where: { email: { in: ["demo@winninghunter.local", "admin@winninghunter.local"] } } });
console.log("🔒 Public demo accounts removed.");
}
}
main()