Fixed long RLS name

This commit is contained in:
Alexis
2025-03-15 14:52:26 +01:00
parent 6992bca957
commit 7f3a2b8d56
2 changed files with 5 additions and 5 deletions

View File

@@ -93,7 +93,7 @@ comment on table public.calendar_months is 'A calendar month.';
create table public.calendar_event_categories (
id bigint generated by default as identity primary key,
name text not null,
color app_colors default 'black',
color app_colors default 'white',
calendar_id bigint references public.calendars on delete cascade not null
);
comment on table public.calendar_event_categories is 'Categories describing events.';
@@ -136,7 +136,7 @@ comment on table public.calendar_event_categories_links is 'Link tables for mult
create table public.character_categories (
id bigint generated by default as identity primary key,
name text not null,
color app_colors default 'black',
color app_colors default 'white',
created_at timestamptz default now(),
updated_at timestamptz,
world_id bigint references public.worlds on delete cascade not null
@@ -335,7 +335,7 @@ create policy "Allow GMs to delete their calendar's months"
);
-- Event policies
create policy "Allow anonymous access to non-hidden events in published calendars" on public.calendar_events
create policy "Allow anon access to non-hidden events in published calendars" on public.calendar_events
for select
to authenticated, anon
using (