api recipe and ingredient, GET and PUT

This commit is contained in:
2024-02-16 00:30:19 -05:00
parent 7e4c1dca7e
commit 4ddb2ea8ff
18 changed files with 610 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
-- Verify rsugest:ingredient-table on pg
BEGIN;
SELECT id, recipe_id, text, purpose, name, name_conf,
amount_quantity, amount_unit, amount_conf, preparation,
preparation_conf, comment, comment_conf
FROM recipe.ingredient
WHERE FALSE;
ROLLBACK;

View File

@@ -0,0 +1,7 @@
-- Verify rsugest:recipe-schema on pg
BEGIN;
SELECT pg_catalog.has_schema_privilege('recipe', 'usage');
ROLLBACK;

View File

@@ -0,0 +1,11 @@
-- Verify rsugest:recipe-table on pg
BEGIN;
select id, title, url, site_name, cuisine, category, description,
cook_time, prep_time, yields
FROM recipe.recipe
WHERE FALSE;
ROLLBACK;