Files
fourge-portal/supabase/migrations/20260423150000_add_meeting_notes.sql
Krao Hasanee eee0885811 Fix file sharing load speed and move error; misc updates
- Remove recursive directory size calculations (single Seafile API call per list)
- Remove 'Used in this location' usage display
- Fix move using v2 per-type endpoints instead of broken batch endpoint
- Send entry type from frontend for correct move routing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 14:20:38 -04:00

16 lines
592 B
SQL

create table public.meeting_notes (
id uuid default gen_random_uuid() primary key,
meeting_at timestamptz default now() not null,
title text not null,
attendees text default '',
notes text not null default '',
created_by uuid references public.profiles(id) on delete set null,
created_at timestamptz default now() not null,
updated_at timestamptz default now() not null
);
alter table public.meeting_notes enable row level security;
create policy "Team all meeting_notes" on public.meeting_notes
for all using (get_my_role() = 'team') with check (get_my_role() = 'team');