-- ============================================================
-- HeavyHaul Agent — early-access signups from the marketing landing page.
-- Service-role only (RLS enabled, zero policies), same model as all tables.
-- ============================================================

create table public.early_access_signups (
  id uuid primary key default gen_random_uuid(),
  email text not null unique,
  role text,             -- broker | carrier | dispatcher | driver | other
  source text not null default 'landing',
  created_at timestamptz not null default now()
);

alter table public.early_access_signups enable row level security;
-- No policies on purpose: anon/authenticated keys can read or write NOTHING.
-- The server (service role) is the only path to this table.
