-- Enable RLS on all application tables. -- -- All data access in this project goes through Prisma via a direct Postgres -- connection (service_role), which bypasses RLS. We do NOT use Supabase -- PostgREST for any data queries. Enabling RLS with zero policies closes the -- PostgREST surface entirely: anon/authenticated roles cannot read or write -- any table through the Supabase REST or Realtime APIs. -- -- Prisma is unaffected — direct connections with service_role skip RLS. -- Supabase Storage is a separate subsystem and is also unaffected. ALTER TABLE "Owner" ENABLE ROW LEVEL SECURITY; ALTER TABLE "Species" ENABLE ROW LEVEL SECURITY; ALTER TABLE "Breed" ENABLE ROW LEVEL SECURITY; ALTER TABLE "Pet" ENABLE ROW LEVEL SECURITY; ALTER TABLE "Post" ENABLE ROW LEVEL SECURITY; ALTER TABLE "PostImage" ENABLE ROW LEVEL SECURITY; ALTER TABLE "Milestone" ENABLE ROW LEVEL SECURITY; ALTER TABLE "Story" ENABLE ROW LEVEL SECURITY; ALTER TABLE "StoryView" ENABLE ROW LEVEL SECURITY; ALTER TABLE "Follow" ENABLE ROW LEVEL SECURITY; ALTER TABLE "Block" ENABLE ROW LEVEL SECURITY; ALTER TABLE "Report" ENABLE ROW LEVEL SECURITY;