Prisma

P

Prisma

Join the community to ask questions about Prisma and get answers from other members.

Join

Migration issue in UAT

i am just using command like "npx prisma migrate deploy" to deploy migration files... i have 34 migration done.... but now what i have done is like take a copy of databse ......

Getting an error thread 'tokio-runtime-worker' panicked at libs/user-facing-errors/src/quaint.rs

Hi, Help! I started getting this error on production and not sure where it's coming from. The logs say to add RUST_BACKTRACE=1 Would that be in on my api server, like so? RUST_BACKTRACE=1 node src/...

Parameterized Views for postgres 🦄

This is the continuation but unrelated to this thread (not necessary to read) Simplified Schema: ```...

Is joining views into models a recommended pattern? 🦄

We're a bit on the edge with preview features but we just discovered today how convenient it is to create Views and be able to reference and include them from other Models. Underlying we're using Postgres for context. Simplified Schema: ...

How to remove (Rate how likely you are to recommend Prisma)

Rate how likely you are to recommend Prisma I do the prisma generate in the docker build and this is delaying the startup Command used: npx prisma generate --schema ./prisma/DATABASE_PROVIDER-schema.prisma...
No description

Updating Major Version from 3.4.2 to 6.4.0

Hey Y'all I'm incredibly out of date here as the header says. I'm looking to update from 3.4.2 in order to use the more robust transaction API and I was wondering if there are any major breaking changes that I should know about between the 3 major versions. I honestly have a pretty simple implementation at the moment and I only use the old transactions in a couple of places which I already planned to have to update. I'm currently working on a major refactor of my project that's requiring me to rethink the majority of my queries anyways, would it almost be better to just spin up a new version, transfer over my migrations and go from there? If transferring migrations ends up needing to happen are there any concerns there as well? I was using Claude to help me with this but when I noticed the model wasn't aware of the new version I decided to come here and ask since it's such a large jump. ...

FiveM and Prisma

Hey, has anyone tried prisma with FiveM? for some day come the node 22 update for it. I become this error but idk why. https://pastie.io/fkkldv.less pls tag me if some one has a idea...

connect mongodb database in console fail

my steps: 1. Database -> New connection -> Accelerate 2. Enter Database connection string: mongodb+srv://{name}:{password}@cluster0.hnnjj.mongodb.net/{path}?retryWrites=true&w=majority&ssl=true&authSource=admin 3. Click Save connection I get the feedback "We were unable to process your request. Please refresh and try again.",the Network response is { redirect: currentUrlPath, status: 302, revalidate: true, reload: false}...

React Native Prisma issue

Has anyone ran into this error? TurboModuleRegistry.getEnforcing(...): 'Prisma' could not be found. Verify that a module by this name is registered in the native binary. I have ran 'npx expo prebuild --clear' and everything installs fine. ...

Compatibility of Prisma with Azure Synapse SQL

I’m currently working on a project that involves Azure Synapse SQL, and I was wondering if Prisma ORM is compatible with it. From my understanding, Prisma supports Microsoft SQL Server and Azure SQL, but I couldn’t find any official confirmation regarding Azure Synapse SQL. Could you clarify whether Prisma can be used with Synapse SQL, particularly with Dedicated SQL Pools and Serverless SQL Pools?...

as type error

If no relationships are configured in the model, no type error occurs, but if a relationship model is defined in the model, a type error occurs ```ts async create<T extends Prisma.TokenRecordCreateArgs>(args: T) { return this.prisma.tokenRecord.create(args) as Promise<Prisma.TokenRecordGetPayload<T>>;...

NestJS with Optimize not working

Hey everyone! I am currently looking to add Optimize to my NestJS app. Can you guys help me out figuring out why I am not receiving anything in my optimize? I am using the following libraries and version: - "@prisma/client": "^6.4.0", - "prisma": "^6.4.0",...

nexus-prisma already out of date?

I am trying to decide if we should use nexus-prisma in out project, but looking around for a community or support I get the feeling that it is already getting out of date without much attention. May anyone recommend using nexus-prisma or else suggest some alternative that may work better?...

Slow queries 1/2 on a simple SELECT by ID PGSQL

Hello, we're using Prisma on the FREE plan right now. We do have issues with random latencies on some random queries, please find some examples attached in this email. The query is a pretty simple SELECT in a table that currently have only 250 records. It seems like there is a cold start that take more than > 3 secs long before executing the query but we are unsure and we don't find anything related to it. :what: Please can you tell us if there is a cold start thing or something else that is causing this issue?...
No description

Multi Project (Database) Set-up With Prisma and Neon

Hi all, I am currently investigating a project per user set up for my multi-tenant application which uses Neon, Prisma ORM and Next.js hosted in Vercel. I have played around with the Neon API and was able to create a new project and run migrations on that project as soon as a new user logs in to the application. ...

Call for sponsorship: HACKHAZARDS '25 - India's largest community-run hackathon

Hi I wish to get in touch with someone from the Prisma team. I am the organizer of HACKHAZARDS '25 - India's largest community-run online hackathon. We are looking for sponsorships for the same. Please let me know to whom or where I can send full details about the event and how it would benefit Prisma. Thanks...

Schema Engine Error: unexpected message from server during prisma migrate dev

Hey, i am using prisma orm and prisma postgres in my next js project.I am experiencing an issue while running the following prisma command: npx prisma migrate dev --name added_saved_job The issue i got is: Error: Schema engine error; unexpected message from server...

Prisma Transaction type error

I'm getting this weird type error on a Prisma transaction https://files.arxk.io/u/8pG9CR.png...