Download supabase/grants_public_user.sql from Himankpro/Sub: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/spaces/Himankpro/Sub/resolve/main/supabase/grants_public_user.sql
- Command line
-
hf download hf://spaces/Himankpro/Sub/supabase/grants_public_user.sql
-
curl -L -o grants_public_user.sql https://huggingface.co/spaces/Himankpro/Sub/resolve/main/supabase/grants_public_user.sql
363 Bytes
| -- Required when login/sign-up run in the browser against public."User" (Supabase anon key). | |
| -- Run in SQL Editor after your "User" table exists. | |
| grant usage on schema public to anon, authenticated; | |
| grant select, insert on table public."User" to anon; | |
| -- Production: prefer hashed passwords + RPC/Edge Function instead of plain Password in the client. | |