Skip to content

Commit

Permalink
RLS to public.speakers
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyuujin committed Jul 11, 2024
1 parent b6e1d3c commit 3c3f5fa
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions supabase/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,21 @@ create table if not exists public.speakers (

ALTER TABLE public.speakers ADD COLUMN display_order int;

alter table
public.speakers enable row level security;

create policy "Allow select for all speakers." on public.speakers for
select
using (true);

create policy "Allow insert for all speakers." on public.speakers for
insert
with check (true);

create policy "Allow update for all speakers." on public.speakers for
update
using (true);

create table if not exists public.staffs (
id uuid not null primary key default uuid_generate_v4(),
name varchar(100) not null,
Expand Down

0 comments on commit 3c3f5fa

Please sign in to comment.