게시판

테이블 (6)

게시글-좋아요/싫어요 (Untitled5)

  • articleId (Key2) — 외래 키 → 게시판.articleId — NOT NULL
  • userId (Key) — 외래 키 → 유저.userId — NOT NULL
  • isLike (Field) — boolean

게시판 (Untitled2)

  • articleId (Key) — 기본 키 — NOT NULL
  • userId (Key2) — 외래 키 → 유저.userId — NOT NULL
  • title (Field2)
  • createAt (Field3)
  • updateAt (Field4)
  • text (Field5)

댓글 (Untitled3)

  • id (Key) — 기본 키 — NOT NULL
  • userId (Key2) — 외래 키 → 유저.userId — NOT NULL
  • articleId (Key3) — 외래 키 → 게시판.articleId — NOT NULL
  • text (Field)
  • createAt (Field2)
  • updateAt (Field3)

댓글-좋아요/싫어요 (Untitled6)

  • id (Key2) — 외래 키 → 댓글.id — NOT NULL
  • userId (Key) — 외래 키 → 유저.userId — NOT NULL
  • isLike (Field)

유저 (Untitled)

  • userId (Key) — 기본 키 — NOT NULL
  • password (Field)
  • nickName (Field2)

즐겨찾기 (Untitled4)

  • userId (Key) — 외래 키 → 유저.userId — NOT NULL
  • articleId (Key2) — 외래 키 → 게시판.articleId — NOT NULL