Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: adds id field to README slackclone

Ant Wilsonde624b174ecb
diff --git a/examples/nextjs-slack-clone/README.md b/examples/nextjs-slack-clone/README.md
index 6a6474b9865..673dd9f9564 100644
--- a/examples/nextjs-slack-clone/README.md
+++ b/examples/nextjs-slack-clone/README.md
@@ -177,6 +177,7 @@ comment on table public.messages is 'Individual messages sent by each user.';
-- USER ROLES
create table public.user_roles (
+ id bigint generated by default as identity primary key,
user_id uuid references public.users on delete cascade not null,
role app_role not null,
unique (user_id, role)
@@ -185,6 +186,7 @@ comment on table public.user_roles is 'Application roles for each user.';
-- ROLE PERMISSIONS
create table public.role_permissions (
+ id bigint generated by default as identity primary key,
role app_role not null,
permission app_permission not null,
unique (role, permission)