-- ============================================================
-- Migration 002: Enable Row Level Security en todas las tablas
-- Intención de RLS: DATA_MODEL.md §"Intención de RLS"
-- Policies concretas: migration 003
-- ============================================================

ALTER TABLE public.organizations    ENABLE ROW LEVEL SECURITY;
ALTER TABLE public.consent_versions ENABLE ROW LEVEL SECURITY;
ALTER TABLE public.surveys          ENABLE ROW LEVEL SECURITY;
ALTER TABLE public.questions        ENABLE ROW LEVEL SECURITY;
ALTER TABLE public.consent_records  ENABLE ROW LEVEL SECURITY;
ALTER TABLE public.responses        ENABLE ROW LEVEL SECURITY;
ALTER TABLE public.answers          ENABLE ROW LEVEL SECURITY;
