
ALTER TABLE public.association_public_pages
  ADD COLUMN IF NOT EXISTS body_blocks jsonb NOT NULL DEFAULT '[]'::jsonb,
  ADD COLUMN IF NOT EXISTS sidebar_blocks jsonb NOT NULL DEFAULT '[]'::jsonb,
  ADD COLUMN IF NOT EXISTS sidebar_enabled boolean NOT NULL DEFAULT false,
  ADD COLUMN IF NOT EXISTS sidebar_title text;

ALTER TABLE public.public_form_templates
  ADD COLUMN IF NOT EXISTS body_blocks jsonb NOT NULL DEFAULT '[]'::jsonb,
  ADD COLUMN IF NOT EXISTS sidebar_blocks jsonb NOT NULL DEFAULT '[]'::jsonb,
  ADD COLUMN IF NOT EXISTS sidebar_enabled boolean NOT NULL DEFAULT false,
  ADD COLUMN IF NOT EXISTS sidebar_title text;
