From 8f616dfee3a61df459008400a07fcceedb04f3d7 Mon Sep 17 00:00:00 2001 From: mio256 Date: Sat, 20 Jul 2024 05:12:27 +0900 Subject: [PATCH] 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 --- .../content/guides/database/postgres/row-level-security.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/docs/content/guides/database/postgres/row-level-security.mdx b/apps/docs/content/guides/database/postgres/row-level-security.mdx index 039dcf14b4a..8ad8aeea5b7 100644 --- a/apps/docs/content/guides/database/postgres/row-level-security.mdx +++ b/apps/docs/content/guides/database/postgres/row-level-security.mdx @@ -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 );