UMC-5th Server

Tables (6)

Mission (미션)

  • 미션번호 (Key) — bigint(10) — Primary key — NOT NULL
  • 미션내용 (Field) — text
  • 미션포인트 (Field2) — bigint(10)

Review (리뷰)

  • 리뷰아이디 (Key3) — varchar(10) — Primary key — NOT NULL
  • 유저아이디 (Key) — bigint(10) — Foreign key → User.ID — NOT NULL
  • 가게아이디 (Key2) — bigint(10) — Foreign key → Store.ID — NOT NULL
  • 가게종류 (Key22) — bigint(10) — Foreign key → Store.가게종류 — NOT NULL
  • 리뷰내용 (Field) — text
  • 별점 (Field2) — int(1)
  • 리뷰사진 (Field3) — text
  • 생성일 (Field5) — datetime(6)
  • 수정일 (Field6) — datetime(6)

Store (가게)

  • ID (Key) — bigint(10) — Primary key — NOT NULL
  • 가게종류 (Key2) — bigint(10) — Foreign key → Type of Restarant.ID — NOT NULL
  • 가게이름 (Field) — varchar(20)
  • 가게주소 (Field2) — varchar(25)
  • 생성일 (Field3) — datetime(6)
  • 수정일 (Field4) — datetime(6)

Type of Restarant (식당 종류)

  • ID (Key) — bigint(10) — Primary key — NOT NULL
  • 종류 (Field) — varchar(10)
  • 생성일 (Field2) — datetime(6)
  • 수정일 (Field3) — datetime(6)

User (사용자)

  • ID (Key) — bigint(10) — Primary key — NOT NULL
  • 비밀번호 (Field) — varchar(10)
  • 이메일 (Field2) — varchar(10
  • 획득포인트 (Field5) — bigint(10)
  • 닉네임 (Field3) — varchar(10)
  • Field7 — varchar(11)
  • 수정일 (Field6) — datetime(6)
  • 생성일 (Field4) — datetime(6)

UserMission (유저미션)

  • id (Key) — varchar(10) — Primary key — NOT NULL
  • 유저아이디 (key2) — bigint(10) — Foreign key → User.ID — NOT NULL
  • 가게아이디 (Key2) — bigint(10) — Foreign key → Store.ID — NOT NULL
  • 가게종류 (Key22) — bigint(10) — Foreign key → Store.가게종류 — NOT NULL
  • 미션번호 (key3) — bigint(10) — Foreign key → Mission.미션번호 — NOT NULL
  • 상태 (Field) — varchar(10)