Database Schema for Recipe/Ingredient/Measurement/Amount

Viewed 6772

I'm creating a recipe app to help my wife with her cake hobby. The idea is to create a recipe database to hold all of her cake recipes.

Each recipe would have multiple ingredients. Each ingredient would have a measurement (gm, ml, teaspoons etc) and then a quantity.

I understand how to create the 'recipes' and 'ingredients' tables and how to link the 2 with a junction table 'recipe_ingredients, however I am struggling with how to then implement the measurement and amount fields.

Can anyone with a bit more database experience suggest a database scheme or have any tips to handle this?

2 Answers
Related