🔗 Link claims — one-time setup

This makes each crew member's personal app link work on only their phone. One paste, one Run, done forever.

create table if not exists public.link_claims (
  member_id uuid primary key,
  store_id uuid not null,
  device_token text not null,
  claimed_at timestamptz not null default now()
);

alter table public.link_claims enable row level security;

grant select, insert, update, delete on public.link_claims to authenticated;
grant select, insert, update, delete on public.link_claims to anon;

drop policy if exists "link claims app access" on public.link_claims;

create policy "link claims app access" on public.link_claims
  for all to authenticated
  using (true)
  with check (true);
  1. Tap Copy the setup text above.
  2. Open Supabase and go into the Taco bell project (the crew app one).
  3. Open the SQL Editor and start a new query.
  4. Paste, then tap Run.
  5. Tell Marigold "done" — she'll check it landed.

Safe to run more than once. It only creates the claims list — it doesn't change anything else in the app.