SQLを表示
create table if not exists public.operation_status (
id uuid primary key default gen_random_uuid(),
status text not null default '未定',
start_date date,
end_date date,
group_name text not null default '',
bus_type text not null default '大型',
note text not null default '',
updated_at timestamptz not null default now()
);
alter table public.operation_status enable row level security;
create policy "company read" on public.operation_status for select using (true);
create policy "company insert" on public.operation_status for insert with check (true);
create policy "company update" on public.operation_status for update using (true) with check (true);
create policy "company delete" on public.operation_status for delete using (true);
alter publication supabase_realtime add table public.operation_status;