why isn't this working? "CREATE POLICY "ss" ON pub...
# help
p
why isn't this working? "CREATE POLICY "ss" ON public.profiles FOR SELECT USING (auth.uid() = id);" I get "Error adding policy: operator does not exist: uuid = character varying" This is recommended in the doc, what am I missing?
n
Hello ! This thread has been automatically created from your message in a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
s
The error indicates that your
id
column on
public.profiles
is a varchar, rather than a UUID
n
patcito (2022-03-21)