How to get drizzle-kit to connect to local supabase via websockets with neondatabase/serverless to
Hi,
I am working on an app that I plan to deploy to Cloudflare. I read that
I am migrating over from Prisma, and I want to introspect my current schema with
When I run
Reading the
https://orm.drizzle.team/docs/drizzle-config-file#driver
I am working on an app that I plan to deploy to Cloudflare. I read that
neondatabase/serverless is the proper driver to connect a postgres database from that environment.I am migrating over from Prisma, and I want to introspect my current schema with
drizzle-kit pull so I don't have to build it up myself.When I run
drizzle-kit pull, I keep getting this warning: Warning '@neondatabase/serverless' can only connect to remote Neon/Vercel Postgres/Supabase instances through a websocket, which results in an error:Reading the
drizzle.config.ts documentation, I can't seem to find where or how to set the driver. The section on driver only provides three options, but I don't see anything specific to neon.https://orm.drizzle.team/docs/drizzle-config-file#driver
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.