hiphop_clone

Tables (3)

domestic_comments (Untitled2)

  • 댓글 고유 아이디 (comment_id) — not null auto_increment — Primary key — NOT NULL
  • 글 고유 아이디 (post_id) — not null auto_increment — Foreign key → domestic_posts.글 고유 아이디 — NOT NULL
  • 댓글 내용 (content)
  • 댓글 작성 시간 (date) — not null
  • 유저 고유 아이디(닉네임 (username) — primary key — Foreign key → users.유저 고유 아이디(닉네임 — NOT NULL

domestic_posts (domestic)

  • 글 고유 아이디 (post_id) — not null auto_increment — Primary key — NOT NULL
  • 게시글 카테고리 (type) — not null
  • 게시글 제목 (title) — not null
  • 글 작성 날짜 (date) — not null
  • 유저 고유 아이디(닉네임 (username) — primary key — Foreign key → users.유저 고유 아이디(닉네임 — NOT NULL
  • 글 내용 (content)

users (Untitled)

  • 유저 고유 아이디(닉네임 (username) — primary key — Primary key — NOT NULL
  • 비밀번호 (password) — not null