fix: postgres direct connections for migrations

This commit is contained in:
2025-08-23 17:34:24 +02:00
parent ab72dacb61
commit 6a7b449363
2 changed files with 3 additions and 1 deletions

View File

@@ -15,7 +15,8 @@
"docker:chat": "dotenvx run -f .env.docker -- docker buildx build --platform linux/amd64 -f apps/chat/Dockerfile . --secret id=TURBO_TOKEN,env=TURBO_TOKEN --secret id=TURBO_TEAM,env=TURBO_TEAM --no-cache",
"act": "act --secret-file .env.ci",
"db:migrate": "yarn workspace @hctv/db db:migrate",
"ui:add": "yarn workspace @hctv/web ui:add"
"ui:add": "yarn workspace @hctv/web ui:add",
"prisma": "yarn workspace @hctv/db prisma"
},
"devDependencies": {
"turbo": "^2.4.4"

View File

@@ -13,6 +13,7 @@ generator client {
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
directUrl = env("DATABASE_DIRECT_URL")
}
model User {