Drizzle TeamDT
Drizzle Team2y ago
4 replies
Ricardo Romero

How to use vercel postgres in localhost?

I have set up drizzle according to the docs, and can use drizzle kit to run migrations alright. (I have seen the tables created in vercel dashboard).
Still, when I try to use any drizzle functions in my sveltekit app, I get a websocket error. Any idea what I need to do to get vercel-postgres working?
Here's the relevant code and errors:
Was this page helpful?