feat: mobile-first refactor for BottleDetails & RLS security/performance optimizations

This commit is contained in:
2025-12-26 23:58:35 +01:00
parent 20f7436e66
commit 20659567fd
9 changed files with 734 additions and 282 deletions

View File

@@ -41,7 +41,7 @@ EXCEPTION WHEN OTHERS THEN
RAISE WARNING 'handle_new_user failed: %', SQLERRM;
RETURN new;
END;
$$ LANGUAGE plpgsql SECURITY DEFINER;
$$ LANGUAGE plpgsql SECURITY DEFINER SET search_path = '';
-- RLS Policy for user_subscriptions insert (for client-side fallback)
DO $$