Skip to content

Commit

Permalink
Merge pull request #543 from Twinkle069/main
Browse files Browse the repository at this point in the history
Added binaryTargets to fix openssl error
  • Loading branch information
appujet authored Apr 25, 2024
2 parents 0e9dad2 + b6ce8b6 commit 936159c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions prisma/example.mongodb.schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

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

datasource db {
Expand Down
1 change: 1 addition & 0 deletions prisma/example.postgresql.schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

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

datasource db {
Expand Down
2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

generator client {
provider = "prisma-client-js"
//engineType = "binary" // if you using replit than use this engine type to fix errors
binaryTargets = ["native", "debian-openssl-3.0.x"]
}

datasource db {
Expand Down

0 comments on commit 936159c

Please sign in to comment.