UMC

Tables (7)

Category (Untitled5)

  • 카테고리 아이디 (category_id) — BIGINT — Primary key — NOT NULL
  • 음식 카테고리 (category_name) — VARCHAR(50)
  • 만들어진 날짜 (created_at) — DATETIME
  • 수정된 날짜 (modified_at) — DATETIME

Favor_Category (Untitled7)

  • 선호 카테고리 아이디 (favor_category_id) — BIGINT — Primary key — NOT NULL
  • 유저아이디 (user_id) — BIGINT — Foreign key → User.유저아이디 — NOT NULL
  • 카테고리 아이디 (category_id2) — BIGINT — Foreign key → Category.카테고리 아이디 — NOT NULL
  • 만들어진 날짜 (created_at) — DATETIME
  • 수정된 날짜 (modified_at) — DATETIME

Mission (Untitled2)

  • 미션아이디 (mission_id) — BIGINT — Primary key — NOT NULL
  • 미션 상태 (Field) — BOOLEAN
  • Field2
  • 리뷰아이디 (review_id) — BIGINT — Foreign key → Review.리뷰아이디 — NOT NULL
  • 유저아이디 (user_id) — BIGINT — Foreign key → User.유저아이디 — NOT NULL
  • 만들어진 날짜 (created_at) — DATETIME
  • 수정된 날짜 (modified_at) — DATETIME

Restaurant (Untitled4)

  • 레스토랑 아이디 (restaurant_id) — BIGINT — Primary key — NOT NULL
  • 만들어진 날짜 (created_at) — DATETIME
  • 수정된 날짜 (modified_at) — DATETIME
  • 영업 상태 (status) — BOOLEAN
  • 위치 (location) — VARCHAR(100)
  • Field

Restaurant_Category (Untitled6)

  • 레스토랑 카테고리 아이디 (restaurant_category_id) — BIGINT — Primary key — NOT NULL
  • Field
  • 레스토랑 아이디 (restaurant_id) — BIGINT — Foreign key → Restaurant.레스토랑 아이디 — NOT NULL
  • 카테고리 아이디 (category_id2) — BIGINT — Foreign key → Category.카테고리 아이디 — NOT NULL
  • 만들어진 날짜 (created_at) — DATETIME
  • 수정된 날짜 (modified_at) — DATETIME

Review (Untitled3)

  • 리뷰아이디 (review_id) — BIGINT — Primary key — NOT NULL
  • 리뷰내용 (review_content) — VARCHAR(1000)
  • 만들어진 날짜 (created_at) — DATETIME
  • 수정된 날짜 (modified_at) — DATETIME
  • 별점 (rate) — BIGINT
  • 리뷰사진 (picture)
  • 레스토랑 아이디 (restaurant_id) — BIGINT — Foreign key → Restaurant.레스토랑 아이디 — NOT NULL
  • 유저아이디 (user_id) — BIGINT — Foreign key → User.유저아이디 — NOT NULL

User (Untitled)

  • 유저아이디 (user_id) — BIGINT — Primary key — NOT NULL
  • 성별 (gender) — BOOLEAN
  • 생년월일 (birth_date) — DATETIME
  • 포인트 (point) — BIGINT
  • 만들어진 날짜 (created_at) — DATETIME
  • 수정된 날짜 (modified_at) — DATETIME