fix: simplify prisma.config.ts and exclude it from Next.js tsconfig

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Beldor
2026-06-18 13:12:03 -03:00
parent 1339f42e69
commit 9a3ef4efc3
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -1,10 +1,5 @@
import { defineConfig } from "prisma/config";
// dotenv only needed for local dev (docker-compose passes env vars directly)
if (process.env.NODE_ENV !== "production") {
await import("dotenv/config").catch(() => {});
}
export default defineConfig({
schema: "prisma/schema.prisma",
migrations: {