식사일기

테이블 (8)

backgroundColor (배경컬러)

  • colorIdx (컬러값Idx) — 기본 키 — NOT NULL
  • mealIdx (Key) — Int — 외래 키 → meal.idx — NOT NULL
  • color (배경컬러) — String

day (1일)

  • idx (Key) — Int — 기본 키 — NOT NULL
  • date (날짜) — timestamp
  • representMealIdx (대표식사Idx) — Int

favorite (맛집)

  • idx (Key) — Int — 기본 키 — NOT NULL
  • adress (주소)
  • latitude (Field)
  • longitude (Field2)
  • mapImage (지도이미지)
  • rating (별점)

fullness (식사정도)

  • fullnessIdx (식사정도Idx) — 기본 키 — NOT NULL
  • mealIdx (Key) — Int — 외래 키 → meal.idx — NOT NULL
  • code (Field) — Int
  • text (Field2) — Int

meal (한끼식사)

  • idx (Key) — Int — 기본 키 — NOT NULL
  • dayIdx — Int — 외래 키 → day.idx — NOT NULL
  • favoriteIdx (맛집Idx) — Int — 외래 키 → favorite.idx — NOT NULL
  • recipeIdx (레시피Idx) — Int — 외래 키 → recipe.idx — NOT NULL
  • createdDate (생성일) — timestamp
  • showedDate (표기일) — timestamp
  • fullnessStatus (식사정도) — Int
  • backgroundColor (배경컬러)
  • imagePath (이미지경로) — array
  • title (음식텍스트)
  • mealState (식사유형) — Int
  • mealTime (식사시간) — Int

mealState (식사유형)

  • idx (식사유형Idx) — 기본 키 — NOT NULL
  • mealIdx (Key) — Int — 외래 키 → meal.idx — NOT NULL
  • code (Field) — Int
  • text (Field2)

mealTime (식사시간)

  • idx (식사시간Idx) — 기본 키 — NOT NULL
  • mealIdx (Key) — Int — 외래 키 → meal.idx — NOT NULL
  • code (Field) — Int
  • text (Field2)

recipe (레시피)

  • idx (Key) — Int — 기본 키 — NOT NULL
  • contents (내용)
  • link (연결링크)
  • image (mealImagePath)
  • ingridients (재료)