Skip to content

Commit 18e3cc0

Browse files
authored
add prisma linux primary target (#197)
1 parent 826a548 commit 18e3cc0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

apps/server/prisma/schema.prisma

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
// learn more about it in the docs: https://pris.ly/d/prisma-schema
33

44
generator client {
5-
provider = "prisma-client"
6-
output = "generated/client"
7-
moduleFormat = "esm"
5+
provider = "prisma-client"
6+
output = "generated/client"
7+
moduleFormat = "esm"
8+
binaryTargets = ["native", "linux-musl-openssl-3.0.x"] // linux needed for the deployment
89
}
910

1011
datasource db {

0 commit comments

Comments
 (0)