-- Per-tenant ficha: logo + dashboard module settings -- Idempotent. alter table public.tenants add column if not exists logo_url text; alter table public.tenants add column if not exists settings jsonb not null default '{}'::jsonb; comment on column public.tenants.logo_url is 'Client logo for portal shell (URL or storage path under tenant-assets).'; comment on column public.tenants.settings is 'JSON: { modules: { kpis, crm, seguimiento, estrategia, calendario, ad-tracker, activos, creatives, asistente }, branding: {} }';