erd

Tables (3)

board (Untitled)

  • 번호 (num) — Primary key — NOT NULL
  • 이름 (name) — Primary key
  • 아이디 (id) — Foreign key → christian.아이디 — NOT NULL
  • 비밀번호 (pass)
  • 이메일 (email)
  • 제목 (title)
  • 내용 (content)
  • 조회수 (readcount)
  • 이미지 (img)
  • 시간 (writedate)
  • 부모글 (ref)
  • 답글구분 (indent)
  • 답글순서 (step)
  • 댓글수 (comment_count)
  • 좋아요수 (like_it)
  • Field

board_comment (CopyOfUntitled2)

  • 댓글번호 (comment_num) — Primary key — NOT NULL
  • 게시판번호 (board_num) — Primary key
  • 아이디 (id) — Primary key
  • 번호 (num2) — Foreign key → board.번호 — NOT NULL
  • 이름 (name) — Foreign key → board.이름
  • 아이디 (id2) — Foreign key → board.아이디 — NOT NULL
  • 아이디 (id3) — Foreign key → christian.아이디 — NOT NULL
  • 내용 (content)
  • 작성시간 (writedate)

christian (CopyOfUntitled)

  • 아이디 (id) — Primary key — NOT NULL
  • 비밀번호 (pass)
  • 이름 (name)
  • 가입시간 (date)
  • 성별 (gender)
  • 전화번호 (phone)