loup
loup
DTDrizzle Team
Created by readitron on 3/4/2024 in #help
How to reference supabase auth user?
I currently have a Supabase database with lot of function, trigger, and RLS. How did u add Drizzle with schema without overwritting your RLS, etc... I dont wanna loose all my work if Drizzle overwrite my setup
9 replies
DTDrizzle Team
Created by readitron on 3/4/2024 in #help
How to reference supabase auth user?
but Im quite confusing with Drizzle. For example in supabase, for making RLS we can check the auth() connected for checking if he got right to access. But is it a custom function made by Supabase ? Or Drizzle can know which user is connected for making the righ RLS (like with NextAuth) ? Sry if isnt clear. Im searching a way to be able in a futur to move away from Supaabse without a lot of changes
9 replies
DTDrizzle Team
Created by readitron on 3/4/2024 in #help
How to reference supabase auth user?
I wanna add Drizzle to my NextJS using Supabase, do u know if we can also add RLS in drizzle ?
9 replies
DTDrizzle Team
Created by Naeemgg on 3/4/2024 in #help
Finding it hard to get started with vercel postgres
Add script no ?
"migrations:generate": "drizzle-kit generate:pg",
"migrations:push": "drizzle-kit push:pg",
"migrations:drop": "drizzle-kit drop --config=drizzle.config.ts",
"migrations:generate": "drizzle-kit generate:pg",
"migrations:push": "drizzle-kit push:pg",
"migrations:drop": "drizzle-kit drop --config=drizzle.config.ts",
65 replies
DTDrizzle Team
Created by Naeemgg on 3/4/2024 in #help
Finding it hard to get started with vercel postgres
Ive go some issue too with the official docs (TS error, and others stuff...)
65 replies