This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
Outdated Drizzle documentation #7102
Replies: 2 comments
-
Thanks for reporting this! I've shared it with our documentation team so we can get that example updated. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Page to Investigate
https://vercel.com/docs/storage/vercel-postgres/using-an-orm#drizzle
Steps to Reproduce
Hello, as stated in the official Drizzle documentation How to migrate to
0.21.0
, thedrizzle.config.ts
needs the following changes:We need to replace
connectionString
byurl
and replacedriver: 'pg'
by dialect: "postgresql".Also, the command
npx drizzle-kit push:pg
is now deprecated and needs to be replaced bynpx drizzle-kit push
Hope this helps! The Vercel documentation is not on GitHub, so I couldn't make the change myself, but I have provided the updated docs here!
Beta Was this translation helpful? Give feedback.
All reactions