sql fixes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 10m51s

This commit is contained in:
2026-01-02 18:27:36 -08:00
parent baeb9488c6
commit 13cd30bec9
2 changed files with 4 additions and 0 deletions

View File

@@ -2809,6 +2809,8 @@ CREATE TRIGGER on_recipe_fork
-- It replaces the need to call get_best_sale_prices_for_user for each user individually.
-- Returns: TABLE(...) - A set of records including user details and deal information.
-- =================================================================
DROP FUNCTION IF EXISTS public.get_best_sale_prices_for_all_users();
CREATE OR REPLACE FUNCTION public.get_best_sale_prices_for_all_users()
RETURNS TABLE(
user_id uuid,