pacto
pacto
DTDrizzle Team
Created by pacto on 6/14/2024 in #help
Drizzle with self hosted supabase not working
Well, It used to work for me with direct connection in Nextjs without an issue, but then I started checking if user is authenticated in my middleware which then bricked because of postgres not supporting some functionality. What is your self hosted setup? Did you manage to connect? I am hosting on my own server, but also tried on localhost. So far I was unable to even push my migrations, I will try with the supabase CLI later today probably
12 replies
DTDrizzle Team
Created by pacto on 6/14/2024 in #help
Drizzle with self hosted supabase not working
b
12 replies
DTDrizzle Team
Created by pacto on 6/14/2024 in #help
Drizzle with self hosted supabase not working
Same config works just fine with official supabase instance. How can I disable these ssl checks when pushing migrations? Also how can I specify a url when making migrations?
12 replies
DTDrizzle Team
Created by Simon on 6/11/2024 in #help
Drizzle with Zod throws type errors with simple `numeric` example
your numeric data can be null when you are grabbing it from db, you can either make it notNull in drizzle schema or nullable in zod to allow null values
14 replies