fix: restore DATABASE_URL in schema.prisma for Prisma 7 runtime client #1

Merged
jason merged 1 commits from claude/reverent-proskuriakova into master 2026-03-12 23:46:49 -05:00

1 Commits

Author SHA1 Message Date
042c45d9dd fix: restore DATABASE_URL in schema.prisma for Prisma 7 runtime client
Prisma 7's prisma.config.ts only configures the CLI, not the runtime
PrismaClient. Without url in the datasource block, the generated client
defaults to engineType "client" (WASM) which requires an adapter,
causing next-auth adapter errors on OAuth callback.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 23:46:01 -05:00