create table if not exists external_service_settings (
  service_id text primary key,
  enabled boolean not null default false,
  mode text not null default 'disabled',
  public_config jsonb not null default '{}'::jsonb,
  secret_config jsonb not null default '{}'::jsonb,
  created_at timestamptz not null default now(),
  updated_at timestamptz not null default now()
);
