deployment issues on railway
thomas779 opened this issue · comments
Re. railwayapp/nixpacks#1030 (comment)
Pinging @amorriscode
+1
would love to see someone help us here
Was able to fix it simply by just adding the binaryTargets line
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "debian-openssl-1.1.x", "debian-openssl-3.0.x"]
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model User {
id String @id
email String @unique
name String?
}