Multiple Schema File issues
npx prisma format
or npx prisma generate
, it fails to load those other schema files, i dont have any model in main file tho, so not sure if that's the issue, but it shouldnt be, here's also my file tree:
```shell
prisma
├── schema...Prism generate fails on VPS but not locally

How to utilize Prisma defined in back-end to the front-end
How to include prisma/sql in serverless lambda?
how do I do this upsert query in prisma?
Complicated groupBy query
post.findMany()
to find posts for a specific user, but in this query I would like to include the number of reactions
associated with a post for a kind of reactionType
. In my project, I am using emoji reactions on posts, and I need to return the number of reactions per emoji type (reactionType
). However, I am at a loss for how to do this without many queries per request.
Using groupBy()
works if I grab the posts first and then use the post.id
of each post... ..."prisma generate --sql" keeps on hanging
prisma 5.19.0 preview feature "typedSql" not valid feature
How do I rollback a prisma transaction when I have 2 different prisma clients
How to handle default items alongside user-created ones?
Typescript clutter: Prisma + Postgresql + JSON fields is a mess
Prisma + Turborepo build fails in Vercel
Environment variable not found: DATABASE_URL.
...How can i string filter but for number?
Unique constraint fails when creating user(s)in parallel during tests for api endpoints
[SOLVED] Prisma won't build consistently with the same Dockerfile specs
node:20
and node:20-alpine
locally.
When building with the same machines on Github Action ubuntu-latest
runner they fail with the following error:
PrismaClientValidationError: Invalid client engine type, please use `library` or `binary`
PrismaClientValidationError: Invalid client engine type, please use `library` or `binary`
Error: P3005 The database schema is not empty.
datasource db.schemas
are empty, and public._prisma_migrations
does not exist.
I have the initial migration in migrations/0_init/migration.sql
, generated via https://www.prisma.io/docs/orm/prisma-migrate/workflows/baselining
I'm getting Error: P3005 The database schema is not empty.
with either prisma migrate dev
and prisma migrate deploy
. In addition prisma migrate reset
also has the same error. ...Eloquent's relations equivalent in Prisma?
db push stuck