Checking access…
Save KPI / Bonus uploads here so you can open them again later — even after closing the browser or using another computer (when signed in).
Pulls what is already loaded in this browser (KPI files, Bonus HT, etc.) and stores it in Supabase under your account.
Run this once in Supabase → SQL Editor, then refresh this page.
create table if not exists data_locker ( id uuid primary key default gen_random_uuid(), user_id uuid references auth.users(id) on delete cascade, name text not null, kind text not null default 'kpi', payload jsonb not null, created_at timestamptz default now() ); alter table data_locker enable row level security; create policy "users manage own locker" on data_locker for all using (auth.uid() = user_id) with check (auth.uid() = user_id);