api recipe and ingredient, GET and PUT
This commit is contained in:
11
sqitch/verify/ingredient-table.sql
Normal file
11
sqitch/verify/ingredient-table.sql
Normal 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;
|
||||
7
sqitch/verify/recipe-schema.sql
Normal file
7
sqitch/verify/recipe-schema.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
-- Verify rsugest:recipe-schema on pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
SELECT pg_catalog.has_schema_privilege('recipe', 'usage');
|
||||
|
||||
ROLLBACK;
|
||||
11
sqitch/verify/recipe-table.sql
Normal file
11
sqitch/verify/recipe-table.sql
Normal 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;
|
||||
Reference in New Issue
Block a user