univil

Tables (4)

Favorite (fav)

  • 즐겨찾기 식별자 (fav_idx) — Primary key — NOT NULL
  • 사용자 식별자 (user_idx) — Foreign key → User.사용자 식별자 — NOT NULL — NOT NULL
  • 가게 식별자 (store_idx) — Foreign key → Store.가게 식별자 — NOT NULL

Reviews (review)

  • 리뷰 식별자 (review_idx) — Primary key — NOT NULL
  • 사용자 식별자 (user_idx) — Foreign key → User.사용자 식별자 — NOT NULL
  • 가게 식별자 (store_idx) — Foreign key → Store.가게 식별자 — NOT NULL
  • content
  • stars
  • posted_time
  • modified_time

Store (store)

  • 가게 식별자 (store_idx) — Primary key — NOT NULL
  • latitude
  • longitude
  • store_type
  • name
  • open_time — datetime
  • closed_time
  • address
  • call
  • detail — richtext

User (user)

  • 사용자 식별자 (user_idx) — Primary key — NOT NULL — NOT NULL
  • id (user_id)
  • pw (user_pw)
  • name (user_name)
  • favorite (user_favorite)
  • email (user_email)