DDing

Tables (14)

group_buy_comment

  • idx — int — Primary key — NOT NULL
  • 게시글 번호 (post_id) — int
  • 댓글 내용 (text)

group_buy_history

  • idx (user_id) — int — Foreign key → user.idx — NOT NULL
  • 게시글id (post_id) — int — Foreign key → group_buy_post.게시글id — NOT NULL

group_buy_like

  • idx — int — Primary key — NOT NULL
  • idx (user_id) — int — Foreign key → user.idx — NOT NULL
  • 게시글 id (post_id) — int

group_buy_post

  • 게시글id (id) — int — Primary key — NOT NULL
  • 제목 (title) — VARCHAR(64)
  • 내용 (content) — TEXT
  • 가격 (price) — int
  • 위치 (location) — TEXT
  • 날짜 (date) — datetime

group_buy_sub_post (CopyOf공동구매)

  • 게시글id (id) — int — Primary key — NOT NULL
  • 제목 (title) — VARCHAR(64)
  • 내용 (content) — TEXT
  • 가격 (price) — int
  • 위치 (location) — TEXT
  • 날짜 (date) — datetime
  • 지역 (region) — VARCHAR(16)

meeting_comment

  • idx — int — Primary key — NOT NULL
  • 작성자 (user_id) — int — Foreign key → user.idx — NOT NULL
  • 게시글 번호 (post_id) — int
  • 댓글 내용 (text)

meeting_history

  • 게시글 id (post_id) — int — Primary key — NOT NULL
  • 사용자 id (user_id) — int — Foreign key → user.idx — NOT NULL

meeting_like

  • idx — int — Primary key — NOT NULL
  • 사용자 id (user_id) — int
  • 게시글 id (post_id) — int

meeting_post

  • 게시글id (id) — int — Primary key — NOT NULL
  • 작성자 (idx) — int — Foreign key → user.idx — NOT NULL
  • 제목 (title) — VARCHAR(64)
  • 내용 (content) — TEXT
  • 가격 (price) — int
  • 위치 (location) — TEXT
  • 날짜 (date) — datetime
  • 지역 (region) — VARCHAR(16)
  • Field

meeting_sub_post (CopyOfCopyOf공동구매)

  • 게시글id (id) — int — Primary key — NOT NULL
  • 작성자 (user_id) — int — Foreign key → user.idx — NOT NULL
  • 제목 (title) — VARCHAR(64)
  • 내용 (content) — TEXT
  • 가격 (price) — int
  • 위치 (location) — TEXT
  • 날짜 (date) — datetime
  • 지역 (region) — VARCHAR(16)

participate

  • idx — int — Foreign key → user.idx — NOT NULL
  • user_id — int
  • post_id — int
  • 상태 (status) — VARCHAR(16)

profile

  • idx — int — Foreign key → user.idx — NOT NULL
  • 생년월일 (birthdate) — Datetime
  • 자기소개 (bio) — TEXT
  • 전화번호 (phone_number) — VARCHAR(11)
  • 닉네임 (nickname) — VARCHAR(32)
  • score — int

user

  • idx — int — Primary key — NOT NULL
  • 이메일 주소 (email) — VARCHAR(64)
  • 비밀번호 (password) — VARCHAR(256)

user_review

  • idx — int — Primary key — NOT NULL
  • idx (user_id) — int — Foreign key → user.idx — NOT NULL
  • 작성자id (write_user_id) — int
  • score — int
  • comment — TEXT