멋사 홈페이지

테이블 (3)

게시글 (Untitled2)

  • post_id — 기본 키 — NOT NULL
  • title (제목) — String
  • contents (내용) — String
  • upload_time (업로드 시각) — DateTimeField
  • view_count (조회수) — Integer
  • user_id — Integer — 외래 키 → 유저.user_id — NOT NULL

댓글 (Untitled3)

  • comment_id — Integer — 기본 키 — NOT NULL
  • reply_comment (내용) — String
  • user_name (닉네임) — String
  • upload_time (작성일) — DateTimeField
  • post_id — 외래 키 → 게시글.post_id — NOT NULL
  • user_id — Integer — 외래 키 → 유저.user_id — NOT NULL

유저 (Untitled)

  • user_id — Integer — 기본 키 — NOT NULL
  • user_id (아이디) — String
  • password (비밀번호) — String
  • email (이메일) — EmailFied
  • user_name (닉네임) — String
  • major (학과) — String
  • part (파트) — String