elitenoire
elitenoire
DTDrizzle Team
Created by Noita on 2/3/2025 in #help
unique constraint does not seem to be applying as intended.
No need for object notation and just pass the unique function in the array
4 replies
DTDrizzle Team
Created by Noita on 2/3/2025 in #help
unique constraint does not seem to be applying as intended.
Follow the way the release notes suggest in https://github.com/drizzle-team/drizzle-orm/releases/tag/0.36.0
4 replies
DTDrizzle Team
Created by Deragon on 5/11/2024 in #help
'@neondatabase/serverless' can only connect to remote Neon/Vercel Postgres/Supabase instances
@Deragon @Mykhailo Okay. I have figured out something. Drizzle-kit will use the pg driver, so only have to install it as a dev dependency. Otherwise, it will want to use the neon serverless driver which will result to the error warning. We can still use the neon-http setup to query the database instead of the websocket.
8 replies
DTDrizzle Team
Created by Deragon on 5/11/2024 in #help
'@neondatabase/serverless' can only connect to remote Neon/Vercel Postgres/Supabase instances
The connection is still working using the neon-http setup. Do you know the danger the websocket warning is trying to prevent? Although this is in local dev, I haven't pushed to production yet.
8 replies
DTDrizzle Team
Created by Deragon on 5/11/2024 in #help
'@neondatabase/serverless' can only connect to remote Neon/Vercel Postgres/Supabase instances
@Mykhailo thanks but what do you mean by non-neon database? do you mean drizzle?
8 replies
DTDrizzle Team
Created by Deragon on 5/11/2024 in #help
'@neondatabase/serverless' can only connect to remote Neon/Vercel Postgres/Supabase instances
Have you found solution? I’m having the same warning when using the drizzle kit.
8 replies