가성비요리

테이블 (4)

레시피 (recipe)

  • 레시피번호 (recipe_id) — 기본 키 — NOT NULL
  • 작성자번호 (writer_id) — 외래 키 → 회원.유저번호 — NOT NULL
  • 레시피이름 (recipe_title)
  • 레시피설명 (recipe_content)
  • 예상비용 (recipe_cost)
  • 조리시간 (recipe_time)
  • 난이도 (recipe_difficulty)
  • 작성일 (recipe_made)

재료 (recipe_ingredient)

  • 레시피번호 (recipe_id) — 외래 키 → 레시피.레시피번호 — NOT NULL
  • 재료번호 (ingredient_id) — 외래 키 → 재료.재료번호 — NOT NULL
  • 수량 (recipe_ingredient_amount)

재료 (ingredient)

  • 재료번호 (ingredient_id) — 기본 키 — NOT NULL
  • 재료명 (ingredient_name)

회원 (user)

  • 유저번호 (user_id) — 기본 키 — NOT NULL
  • 이메일 (user_email) — NOT NULL
  • 비밀번호 (user_password) — NOT NULL
  • 별명 (user_nickname) — NOT NULL
  • 프로필이미지 (user_profile)
  • 가입일 (user_join) — NOT NULL
  • 등급 (user_status) — NOT NULL