Skip to content

Commit

Permalink
Update Prisma examples (#742)
Browse files Browse the repository at this point in the history
### Description

- Remove shadow database configuration that's not required. Neon
supports this (see: [Improving the developer experience for Prisma
users](https://neon.tech/blog/prisma-dx-improvements) from Neon)
- Update Prisma to 5.0.0
- Remove `jsonProtocol` Preview feature (Generally Available in v5.0.0)
- Format Prisma schemas
  • Loading branch information
ruheni authored Jul 17, 2023
1 parent ccc35b1 commit cd38955
Show file tree
Hide file tree
Showing 6 changed files with 1,140 additions and 1,025 deletions.
4 changes: 2 additions & 2 deletions storage/postgres-pgvector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
},
"dependencies": {
"@prisma/client": "4.13.0",
"@prisma/client": "^5.0.0",
"@upstash/ratelimit": "^0.4.2",
"@vercel/kv": "^0.2.1",
"autoprefixer": "10.4.14",
Expand All @@ -36,7 +36,7 @@
"eslint": "8.38.0",
"eslint-config-next": "13.3.5-canary.1",
"postcss": "8.4.22",
"prisma": "^4.13.0",
"prisma": "^5.0.0",
"tailwindcss": "3.3.1",
"ts-node": "^10.9.1",
"turbo": "^1.9.3",
Expand Down
Loading

4 comments on commit cd38955

@vercel
Copy link

@vercel vercel bot commented on cd38955 Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

edge-functions-i18n – ./edge-middleware/i18n

edge-functions-i18n.vercel.app
edge-functions-i18n-git-main.vercel.sh
edge-functions-i18n.vercel.sh

@vercel
Copy link

@vercel vercel bot commented on cd38955 Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

postgres-drizzle – ./storage/postgres-drizzle

postgres-drizzle-vercel-labs.vercel.app
postgres-drizzle.vercel.app
postgres-drizzle-git-main-vercel-labs.vercel.app

@vercel
Copy link

@vercel vercel bot commented on cd38955 Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-flask – ./python/nextjs-flask

nextjs-python.vercel.app
next-flask-git-main-vercel-labs.vercel.app
nextjs-flask-starter.vercel.app
next-flask-vercel-labs.vercel.app

@vercel
Copy link

@vercel vercel bot commented on cd38955 Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

edge-ab-testing-statsig – ./edge-middleware/ab-testing-statsig

edge-ab-testing-statsig.vercel.app
edge-ab-testing-statsig-now-examples.vercel.app
edge-ab-testing-statsig-git-main-now-examples.vercel.app
edge-ab-testing-statsig.vercel.sh

Please sign in to comment.