Open kusaljr opened 1 month ago
Does generate
work? I'm guessing the same issue? Really weird, I haven't tested on M2 as I don't have access to one (I'm on M1)
Same issue in generate also
@steebchen
My schema.prisma file
datasource db {
// could be postgresql or mysql
provider = "sqlite"
url = "file:dev.db"
}
generator db {
provider = "go run github.com/steebchen/prisma-client-go"
}
model Post {
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
title String
published Boolean
desc String?
}
If you can set PRISMA_CLIENT_GO_LOG=debug
and then re-run everything and paste it here, that might be helpful for me to debug
Here is debug log for generate
Here is debug log for db push
Thanks. Can you please try running the engine in your console:
/Users/macbook/Library/Caches/prisma/binaries/cli/5.13.0/prisma-cli-darwin-arm64 version
and check if it has the same error?
I'm using M2, go version go1.22.3 darwin/arm64
My schema