added on delete cascade

This commit is contained in:
Ollie Halliday authored and Joshen Lim committed 2022-12-21 15:31:18 +07:00
1 parent 70b66c916f
commit 32a3ec5f7e
1 file changed
+1 -1
@@ -812,7 +812,7 @@ create publication supabase_realtime
sql: `
-- Create a table for public profiles
create table profiles (
id uuid references auth.users not null primary key,
id uuid references auth.users on delete cascade not null primary key,
updated_at timestamp with time zone,
username text unique,
full_name text,