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
DATABASE_URL="postgres://hestia:test123@localhost:5432/hestia"
DIRECT_URL="postgres://hestia:test123@localhost:5432/hestia"
# CLERK
PUBLIC_CLERK_PUBLISHABLE_KEY=secret_do_not_commit_or_change_this_create_.env.local_instead

View file

@ -12,6 +12,7 @@ generator pothos {
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
directUrl = env("DIRECT_URL")
}
model User {