umc_0example

테이블 (12)

가게정보 (Untitled10)

  • 가겨정보_id (long) — not null — 기본 키 — NOT NULL
  • 가게이름 (string) — not null
  • 사장님 구분번호 (integer) — not null
  • 가게주소 (string2) — not null
  • 지역_id (long2) — not null — 외래 키 → 지역.지역_id — NOT NULL
  • 리뷰_id (long3) — not null — 외래 키 → 리뷰.리뷰_id — NOT NULL

리뷰 (Untitled7)

  • 리뷰_id (long) — not null — 기본 키 — NOT NULL
  • 별점 (float) — not null
  • 리뷰내용 (text) — not null
  • 날짜 (datetime) — not null
  • 유저_id (long2) — not null — 외래 키 → 유저.유저_id — NOT NULL
  • 이미지 (string) — null

리뷰 답글 (Untitled8)

  • 리뷰 답글_id (string) — not null — 기본 키 — NOT NULL
  • 리뷰_id (long) — not null — 외래 키 → 리뷰.리뷰_id — NOT NULL
  • 날짜 (datetime) — not null
  • 리뷰 답글 (string2) — null

문의 (Untitled4)

  • 문의_id (long) — not null — 기본 키 — NOT NULL
  • 유저_id (long2) — not null — 외래 키 → 유저.유저_id — NOT NULL
  • 문의제목 (string) — not null
  • 문의 유형 (string2) — null
  • 문의 내용 (text) — not null

미션 (Untitled12)

  • 미션_id (long) — not null — 기본 키 — NOT NULL
  • 미션제목 (string) — not null
  • 미션내용 (string2) — not null
  • 미션기한 (integeri) — not null
  • 성공점수 (interger) — not null
  • 가겨정보_id (long2) — not null — 외래 키 → 가게정보.가겨정보_id — NOT NULL
  • 미션 타입 (enum) — not null

선호음식 (Untitled2)

  • 선호음식_id (long) — not null — 기본 키 — NOT NULL
  • 음식_id (long2) — not null — 외래 키 → 음식.음식_id — NOT NULL
  • 유저_id (long3) — not null — 외래 키 → 유저.유저_id — NOT NULL

약관 (Untitled5)

  • 약관_id (long) — not null — 기본 키 — NOT NULL
  • 약관명 (enum) — null

약관동의 (Untitled6)

  • 약관동의_id (long) — not null — 기본 키 — NOT NULL
  • 약관_id (long2) — not null — 외래 키 → 약관.약관_id — NOT NULL
  • 유저_id (long3) — not null — 외래 키 → 유저.유저_id — NOT NULL

유저 (Untitled)

  • 유저_id (long) — not null — 기본 키 — NOT NULL
  • 이름 (string) — not null
  • 성별 (enum) — not null
  • 생년월일 (local date) — not null
  • 주소 (sting) — not null
  • 포인트 (integer) — not null
  • 이메일 (string2) — not null
  • 휴대폰번호 (string3) — null
  • update_at (datetime) — null
  • delete_at (datetime2) — null

유저미션 (Untitled9)

  • 유저미션_id (long) — not null — 기본 키 — NOT NULL
  • 미션_id (long2) — not null — 외래 키 → 미션.미션_id — NOT NULL
  • 진행여부 (enum) — not null
  • 유저_id (long3) — not null — 외래 키 → 유저.유저_id — NOT NULL

음식 (Untitled3)

  • 음식_id (long) — not null — 기본 키 — NOT NULL
  • 음식 종류 (string) — not null

지역 (Untitled11)

  • 지역_id (long) — not null — 기본 키 — NOT NULL
  • 지역명 (string) — not null