4 months ago
bun install v1.1.34 (5e5e7c60)
Resolving dependencies
Resolved, downloaded and extracted [10]
$ sleep 5 && bunx prisma generate && bunx prisma migrate deploy
Prisma schema loaded from prisma/schema.prisma
✔ Generated Prisma Client (v6.2.1) to ./node_modules/@prisma/client in 506ms
Start by importing your Prisma Client (See: https://pris.ly/d/importing-client)
Help us improve the Prisma ORM for everyone. Share your feedback in a short 2-min survey: https://pris.ly/orm/survey/release-5-22
warn Versions of prisma@6.4.1 and @prisma/client@6.2.1 don't match.
This might lead to unexpected behavior.
Please make sure they have the same version.
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "railway", schema "public" at "postgres-ul-2.railway.internal:5432"
Error: P1001: Can't reach database server at postgres-ul-2.railway.internal:5432
Please make sure your database server is running at postgres-ul-2.railway.internal:5432
.
error: postinstall script from "tupi-api" exited with 1
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
4 months ago
Hello,
The private network is not available during build, you would want to instead do your migrations in a pre-deploy command -