steven-tey / precedent

An opinionated collection of components, hooks, and utilities for your Next.js project.
https://precedent.dev
MIT License
4.65k stars 406 forks source link

fix: remove deprecated jsonProtocol at prisma schema #75

Closed onurhan1337 closed 2 months ago

onurhan1337 commented 6 months ago

In this pull request, I have removed the deprecated jsonProtocol from the Prisma schema. This change was necessary to keep the codebase up-to-date and avoid potential issues in the future.

Changes:

vercel[bot] commented 6 months ago

@onurhan1337 is attempting to deploy a commit to the Elegance Team on Vercel.

A member of the Team first needs to authorize it.

onurhan1337 commented 6 months ago

@steven-tey , Prisma announce that jsonProtocol is now Generally Available and is the default wire protocol that Prisma Client will use under the hood. So I deleted deprecated line from prisma.schema.

https://www.prisma.io/blog/prisma-5-f66prwkjx72s#a-more-efficient-json-based-wire-protocol