Skip to content

Commit 8b71f2f

Browse files
VladUZHclaude
andcommitted
fix: add DATABASE_URL to prisma schema datasource
prisma migrate deploy requires the url property in the datasource block, even when using driver adapters in application code. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 545e844 commit 8b71f2f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/api/prisma/schema.prisma

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ generator client {
55

66
datasource db {
77
provider = "postgresql"
8+
url = env("DATABASE_URL")
89
}
910

1011
// ─── Tenant ──────────────────────────────────────────────────────────────────

0 commit comments

Comments
 (0)