Recipe
Tables (4)
Ingredients
- 재료 아이디 (ingredient_id) — int — Primary key — NOT NULL — primary key,auto_increment
- 재료이름 (name) — char(100)
Recipe_Ingredients
- 재료 아이디 (ingredient_id) — int — Foreign key → Ingredients.재료 아이디 — NOT NULL — foreign key
- 레시피 아이디 (recipe_id) — int — Foreign key → Recipes.레시피 아이디 — NOT NULL — foreign key
Recipes
- 레시피 아이디 (recipe_id) — int — Primary key — NOT NULL — primary key,auto_increment
- 제목 (Field) — char(100)
- 설명 (description) — char(100)
- 요리시간 (cooking_time) — char(100)
Storage
- 재료 아이디 (ingredient_id) — int — Primary key — NOT NULL — primary key,auto_increment
- 재료 이름 (name) — char(100)