Queries slow even with accelerate
I don't know what to expect, but queries seems very slow. Using Prisma postgres with accelerate, all my queries incl. simple ones like findUnique with where clause on primary key and very few columns, takes at least 250ms (seen via Prisma Optimize).
Located in Denmark (running Nextjs locally).
Probably network latency, but is there anything I can do about that ? I was under the impression accelerate made data "global" with fast local access....
Prisma 6.2 seems incompatible with Turso
I am getting both type and runtime errors when creating a prisma client with the libsql adapter.
Is this expected behaviour?
My project was working fine with Prisma
^5.16.2 and I decided to upgrade for the enums, but I'm not being able to query data. Migrations do work properly though
...
trying to push my first schema to prisma
But i get the following error i think it is a cache problem as i change the data and still get the same error how do i clear the cache in Prisma or it just the same as doing it in npm

Was a token launched or the one that is out is a scam
I see a prism token that is currently being traded. Is it a scam ?
Can't access the database from the console
I created my first Prisma project. I'm using Postgres. When I try to access the database, I'm getting an unknown error.
The URL I tried to access: https://console.prisma.io/cm5zeabi802086sfan8v8ylgs/cm5zebg9n01k311g3mmyjm47i/cm5zebg9o01k411g3zo5e164j/database/overview...

Could not find the migration file at
I am getting this error when trying to update my DB tables after making changes in the prisma.schema.
I havnt touched any migration files and want to get a better understanding for what went wrong.
Could not find the migration file at prisma\migrations\0_init\migration.sql. Please delete the directory or restore the migration file....
python question
The new Postgres service, does it work with inserting python from form data? Can you edit columns etc online or is it local then upload it?
TypeScript issue with JSON[] field filter using path
I have the following model and am using a PostgreSQL database:
model Message { mentions Json[] }...
Please add Dark/Night mode on console.prisma.io
Night/Dark mode is very helpful for devs/users. I know the extension- Dark Reader, but why extension?
"code":"P6003" Prisma example: accelerate-hacker-news
When I upvote on official example- I upvode a post- I got this error-
Error: Failed to invalidate Accelerate cache. Response was 400 Bad Request. {"code":"P6003","message":"There is a hold on your account. Reason: planLimitReached. Please contact Prisma support if you think this is an error."}
at async addVotes (addVotes.ts:21:3)
code link ...
Query works but getting a TS error
Hello! I wrote a query that is working but I am getting a Typescript error that I cannot debug. Could someone more experienced tell me what this could be about?
Of course I don't want you to work for me. Not looking for help solving the problem, just some steering on the right direction. Thank you so much in advance.
Query:...
Prisma MongoDB
Hello everyone. I want to using Prisma with MongoDB, NestJS. I was setup with docs, and when start server, I have an error with Typescript:
```
yarn start
[9:51:57 AM] Starting compilation in watch mode...
...
Prisma Studio Whitescreen?
Hello, when i start up prisma studio using yarn prisma studio -p 6000, i don't get any errors. When i open the url, it's just a white screen. Any help is appreciated, thanks
Im getting some errors out of nowhere
My app was working perfectly fine and suddenly im getting some prisma errors like:
PrismaClientKnownRequestError:
Invalid
prisma.user.findUnique() invocation:
...Can we pg_dump or pg_restore?
I would like to migrate a database from Vercel Storage to Prisma Postgres, but currently it doesn't seem possible due to being unable to connect directly.
Can't configure Prisma query engine on FreeBSD server
I successfully compiled the engine including /root/prisma-engines/target/release/libquery_engine.so and other files, renamed release/deps/libquery_engine.so to release/deps/libqueryengine.so.node and set variables in the shell like export PRISMA... Now I run npx prisma db push and it successfully creates tables in the database.
But when I run my tRPC server file as DEBUG=prisma* node dist/server/routers/_app.js which tries to use Prisma client, I get result
root@www2:/usr/local/www # DEBUG=prisma* node dist/server/routers/_app.js
prisma:tryLoadEnv Environment variables not found at null +5ms...
Migration to v6 Cockroach DB
I am working on my local environment on a project that uses Prisma. The config looks like this:
```
generator client {
provider = "prisma-client-js"...
Console prisma studio
Hello, when I run prisma studio locally everything is fine, but in the prisma studio console I get this error. Is it a bug in the console or on my side?
I get this error even with an empty database, I have asked AI and tried many different configs.... nothing helps
installHook.js:1 Error: {"error_code":"P1012","message":"\u001b[1;91merror\u001b[0m: \u001b[1mError validating: This line is not a valid field or attribute definition.\u001b[0m\n \u001b[1;94m-->\u001b[0m \u001b[4mschema.prisma:57\u001b[0m\n\u001b[1;94m | \u001b[0m\n\u001b[1;94m56 | \u001b[0mmodel Staff {\n\u001b[1;94m57 | \u001b[0m \u001b[1;91mid Int @id(map: "Staff_pkey") @default(nextval('staff_id_seq")\u001b[0m\n\u001b[1;94m58 | \u001b[0m name String\n\u001b[1;94m | \u001b[0m\n\u001b[1;91merror\u001b[0m: \u001b[1mError validating: This line is not a valid field or attribute definition.\u001b[0m\n \u001b[1;94m-->\u001b[0m \u001b[4mschema.prisma:67\u001b[0m\n\u001b[1;94m | \u001b[0m\n\u001b[1;94m66 | \u001b[0mmodel Studio {\n\u001b[1;94m67 | \u001b[0m \u001b[1;91mid Int @id(map: "Studio_pkey") @default(nextval('studio_id_seq")\u001b[0m\n\u001b[1;94m68 | \u001b[0m name String\n\u001b[1;94m | \u001b[0m\n\nValidation Error Count: 2"}...
Hello, i'm getting error when i start my project
I'm use Postgresql with Prisma but i'm getting this error when i start my project:
I tried connect postgresql with psql <link> and it's connected but i don't know why this error occured 😢
I'm tried
npm update @prisma/client prisma but it didn't work
My model file: ```generator client {...
Delete annoying warning in production
This warning pop-up in my log all the time :
prisma:warn In production, we recommend using prisma generate --no-engine (See: prisma generate --help)
I'm using the "normal" client and also the "edge" client, depending on my endpoint, so I can't use the --no-engine option.
Is there a way to make this warning finally go away ?
Thanks !...