introspection fails (Supabase)
I've got a large application originally written w/ nextjs and prisma, but due to it being large, the performance has massively reduced, so I'm doing a rewrite of the customer facing part in svelte and drizzle, I want to leave the primary db changes in the main app, but want to use drizzle for this so I can deploy on the edge...
When I do
npx drizzle-kit introspect
I get back:
Whenever I rerun the command, the number of tables/columns it completes changes every time, sometimes it's 200 or so columns, sometimes it's more. Any idea what I'm missing?2 Replies
I am getting this as well
@mr nooli you can see here https://github.com/drizzle-team/drizzle-orm/issues/2338 -- apparently switching up the ports can do the trick.
I was able to get it to work by changing the driver from
postgres
to pg
Thanks! I’ve ended up adding it back to the NextJS platform so I’m not running into it anymore!