React noob
07/21/2022, 12:59 PMsql
create policy insert_as_admin ON storage.buckets.id = 'hiking-picture'::text for all using (
(EXISTS ( SELECT 1
FROM profiles
WHERE ((profiles.admin IS TRUE) AND (profiles.id = 'b815-8e02-6c3f13e05026'::uuid))))
); I have a syntax error ``Failed to validate sql query: syntax error at or near "="`` but i don't really see where it atNeedle
07/21/2022, 12:59 PMNeedle
07/21/2022, 4:20 PM