asdf

Tables (5)

comment

  • id — int(11) — Primary key — NOT NULL — 번호
  • content — text — 내용
  • create_date — datetime(6) — 작성일
  • modify_date — datetime(6) — 수정일
  • author_id — bigint(20) — Foreign key — 작성자
  • post_id — int(11) — Foreign key → post.id — 게시글 번호

comment_vote

  • comment_id — int(11) — Foreign key → comment.id — NOT NULL — 댓글 번호
  • voter_id — bigint(20) — Foreign key — NOT NULL — 추천한 회원

post

  • id — int(11) — Primary key — NOT NULL — 번호
  • content — text — 내용
  • create_date — datetime(6) — 작성일
  • modify_date — datetime(6) — 수정일
  • subject — varchar(200) — 제목
  • author_id — bigint(20) — Foreign key — 작성자

post_vote

  • post_id — int(11) — Foreign key → post.id — NOT NULL
  • voter_id — bigint(20) — Foreign key — NOT NULL

user

  • id — bigint(20) — Primary key — NOT NULL — 번호
  • email — varchar(255) — 이메일
  • password — varchar(255) — 비밀번호
  • username — varchar(255) — 계정명