naeggo

Tables (3)

ingredients (Untitled2)

  • 아이디 (id) — AUTO_INCREMENT — Primary key — NOT NULL
  • 재료명 (name) — NOT NULL

recipe (Untitled)

  • 아이디 (id) — AUTO_INCREMENT — Primary key — NOT NULL
  • 제목 (title) — NOT NULL
  • 간단설명 (description) — NOT NULL
  • 이미지 주소 (image_url) — NOT NULL
  • 소요시간 (time)
  • 난이도 (difficulty)
  • 팁 (tip) — NOT NULL
  • 양 (servings)
  • 재료 (ingredients) — NOT NULL
  • 조리법 (instructions) — NOT NULL

recipe_ingredient (Untitled3)

  • 아이디 (id) — AUTO_INCREMENT — Primary key — NOT NULL
  • 레시피아이디 (recipe_id) — Foreign key → recipe.아이디 — NOT NULL
  • 재료아이디 (ingredient_id) — Foreign key → ingredients.아이디 — NOT NULL