Primer commit - Sprint 1
This commit is contained in:
13
supabase/migrations/20260531000002_enable_rls.sql
Normal file
13
supabase/migrations/20260531000002_enable_rls.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
-- ============================================================
|
||||
-- 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;
|
||||
Reference in New Issue
Block a user