amorriscode / elysia-starter

A batteries included starter for building an API using bun and Elysia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deployment issues on railway

thomas779 opened this issue · comments

+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?
}