Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate necessitate of the binary targets in the prisma schema. #301

Open
alasdairwilson opened this issue Jan 14, 2025 · 0 comments
Open

Comments

@alasdairwilson
Copy link
Collaborator

generator client {
  provider      = "prisma-client-js"
  binaryTargets = ["native", "debian-openssl-3.0.x", "linux-musl-openssl-3.0.x"]
  enums         = true
}

This change to binary targets to add musl to the existing debian openssl was added in #300 as an emergency fix to an outage that occurred due to a redeploy while there was an active course that day. The wisdom of this notwithstanding (🤣 ) I can only assume the issue was either caused by the image update in #290 which had never been deployed and so might have broken it or a change in fly.io machine configuration.

I question whether we should be defining binaryTargets here at all, but it does work for now (and hopefully forever).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant