Hi all,
I am trying to implement a simple web site to create a recipes DB. The idea is simple, tables and content:
* 'recipe' : with id(PK), name, description, author
* 'step': id(PK), recipe_id(FK), step_number, description
* 'step_ingredient': recipe_id(PK), ingredient_id(FK), step_id(PK), amount
* 'ingredient': id(PK), name, provider
Something like that but skipping the tables I did not listed. Only the four tables I mentioned are mandatory. So basically I would like to use this module for a recipes CRUD system.
I can also consider something like this:
The key points, and actually, what I am struggling to implement are, 1. to be able to keep the order of the ingredients added, and 2. for each ingredient be able to define the amount of it in the add recipe or edition windows.
Thanks a lot and best regards.