direct url

This commit is contained in:
Benjamin Palko 2025-01-25 23:18:37 -05:00
parent 39cb8df6c6
commit 3ac73f2664
2 changed files with 4 additions and 2 deletions

1
.env
View file

@ -7,6 +7,7 @@ TWILIO_PHONE_NUMBER=
# PRISMA # PRISMA
DATABASE_URL="postgres://hestia:test123@localhost:5432/hestia" DATABASE_URL="postgres://hestia:test123@localhost:5432/hestia"
DIRECT_URL="postgres://hestia:test123@localhost:5432/hestia"
# CLERK # CLERK
PUBLIC_CLERK_PUBLISHABLE_KEY=secret_do_not_commit_or_change_this_create_.env.local_instead PUBLIC_CLERK_PUBLISHABLE_KEY=secret_do_not_commit_or_change_this_create_.env.local_instead

View file

@ -10,8 +10,9 @@ generator pothos {
} }
datasource db { datasource db {
provider = "postgresql" provider = "postgresql"
url = env("DATABASE_URL") url = env("DATABASE_URL")
directUrl = env("DIRECT_URL")
} }
model User { model User {