chore(prisma): update schema to include direct URL for migrations

This commit is contained in:
Fatih Kadir Akın
2026-01-12 00:56:55 +03:00
parent de6f1b5f8f
commit a32d620d6c
4 changed files with 23 additions and 17 deletions
+2
View File
@@ -2,6 +2,8 @@
# Add connection_limit and pool_timeout for serverless/production environments:
# Example: ?schema=public&connection_limit=5&pool_timeout=10
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/prompts_chat?schema=public"
# Direct URL for migrations (bypasses connection pooler) - used by Neon, Supabase, PlanetScale
# DIRECT_URL="postgresql://postgres:postgres@localhost:5432/prompts_chat?schema=public"
# NextAuth
NEXTAUTH_URL="http://localhost:3000"