some more re-org + fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m14s
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m14s
This commit is contained in:
@@ -1398,6 +1398,7 @@ $$;
|
||||
-- Function to find recipes by a specific ingredient AND a specific tag.
|
||||
-- This allows for more refined recipe searching, e.g., "Find me a quick & easy recipe with chicken breast".
|
||||
-- We drop it first to handle cases where the return signature might change during development.
|
||||
DROP FUNCTION IF EXISTS public.find_recipes_by_ingredient_and_tag(TEXT, TEXT);
|
||||
|
||||
CREATE OR REPLACE FUNCTION public.find_recipes_by_ingredient_and_tag(p_ingredient_name TEXT, p_tag_name TEXT)
|
||||
RETURNS TABLE (
|
||||
@@ -1980,6 +1981,8 @@ $$;
|
||||
* @returns A promise that resolves to the newly created forked Recipe object.
|
||||
*/
|
||||
-- Function to create a personal, editable copy (a "fork") of a public recipe for a user.
|
||||
DROP FUNCTION IF EXISTS public.fork_recipe(UUID, BIGINT);
|
||||
|
||||
CREATE OR REPLACE FUNCTION public.fork_recipe(p_user_id UUID, p_original_recipe_id BIGINT)
|
||||
RETURNS SETOF public.recipes
|
||||
LANGUAGE sql
|
||||
|
||||
Reference in New Issue
Block a user