mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
docs: row-level-security.mdx, syntax error in create table user_id field (#28055)
Update row-level-security.mdx syntax in create table user_id field
This commit is contained in:
1 parent
057b2f1705
commit
8f616dfee3
1 file changed
+3
-3
@@ -127,7 +127,7 @@ Let's say you have a table called `profiles` in the public schema and you only w
|
||||
-- 1. Create table
|
||||
create table profiles (
|
||||
id uuid primary key,
|
||||
user_id references auth.users,
|
||||
user_id uuid references auth.users,
|
||||
avatar_url text
|
||||
);
|
||||
|
||||
@@ -155,7 +155,7 @@ You can create a policy where the `using` clause checks if the user owns the pro
|
||||
-- 1. Create table
|
||||
create table profiles (
|
||||
id uuid primary key,
|
||||
user_id references auth.users,
|
||||
user_id uuid references auth.users,
|
||||
avatar_url text
|
||||
);
|
||||
|
||||
@@ -182,7 +182,7 @@ Let's say you have a table called `profiles` in the public schema and you only w
|
||||
-- 1. Create table
|
||||
create table profiles (
|
||||
id uuid primary key,
|
||||
user_id references auth.users,
|
||||
user_id uuid references auth.users,
|
||||
avatar_url text
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user