-- Users table
create table users (
  id uuid primary key default gen_random_uuid(),
  email text unique not null,
  created_at timestamp default now()
);

-- Meal plans table
create table meal_plans (
  id uuid primary key default gen_random_uuid(),
  user_id uuid references users(id),
  plan jsonb,
  created_at timestamp default now()
);

-- Clinician summaries table
create table clinician_summaries (
  id uuid primary key default gen_random_uuid(),
  user_id uuid references users(id),
  summary text,
  created_at timestamp default now()
);
