cocktail_helper

테이블 (5)

재료 (tb_material)

  • 재료 식별자 (material_id) — text — 기본 키 — NOT NULL
  • 재료명 (material_name) — text
  • 재료 카테고리 (material_category_id) — text
  • 갖고있음 (own) — boolean
  • 설명 (description) — text

재료 카테고리 (tb_material_category)

  • 재료 카테고리 식별자 (material_category_id) — text — 기본 키 — NOT NULL
  • 재료명 (material_category_name) — text — NOT NULL
  • 정렬기준값 (order_value) — int8 — NOT NULL

칵테일 (tb_cocktail)

  • 칵테일 식별자 (cocktail_no) — int8 — 기본 키 — NOT NULL
  • 칵테일 이름 (cocktail_name) — text
  • 칵테일 설명 (description) — text
  • 칵테일 제조방법 (cocktail_method) — text
  • 논알콜 여부 (is_non_alcohol) — bool

칵테일 제조방법 (tb_cocktail_method)

  • 제조방법 식별자 (cocktail_method) — text — 기본 키 — NOT NULL
  • 제조방법 표시 (method_text) — text
  • 제조방법 설명 (description) — text

칵테일-재료 매핑 (tb_cocktail_material)

  • 칵테일 식별자 (cocktail_no) — int8 — 기본 키 — NOT NULL
  • 재료 식별자 (material_id) — text — 기본 키 — NOT NULL
  • 선택사항인지 (optional) — bool
  • 용량 (amount) — text