mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 10:31:13 -05:00
15 lines
747 B
SQL
15 lines
747 B
SQL
-- The content_submissions table already has RLS policies defined
|
|
-- We just need to ensure RLS is enabled (it should already be enabled from previous migrations)
|
|
-- This migration verifies RLS is enabled
|
|
|
|
-- Verify RLS is enabled on content_submissions
|
|
ALTER TABLE public.content_submissions ENABLE ROW LEVEL SECURITY;
|
|
|
|
-- Verify all existing RLS policies are in place
|
|
-- (They should already exist from previous migrations, but we document them here)
|
|
|
|
-- Users can create submissions (already exists)
|
|
-- Users can view their own submissions (already exists)
|
|
-- Moderators can view all content submissions (already exists)
|
|
-- Moderators can update content submissions (already exists)
|
|
-- Moderators can delete content submissions (already exists) |