miniproject

Tables (4)

comment (Untitled3)

  • PK (id) — Long — Primary key — NOT NULL
  • PK (userId) — Long — Foreign key → users.PK — NOT NULL
  • PK (postId) — Long — Foreign key → post.PK — NOT NULL
  • 내용 (commentContent) — String
  • 작성일 (createdAt) — Date
  • 수정일 (modifiedAt) — Date

post (Untitled2)

  • PK (id) — Long — Primary key — NOT NULL
  • PK (userId) — Long — Foreign key → users.PK — NOT NULL
  • 글 제목 (title) — String
  • 내용 (content) — String
  • 이미지경로 (imageUrl) — String
  • 좋아요 개수 (PostLikeCount) — int
  • 작성일 (createdAt) — Date
  • 수정일 (modifiedAt) — Date

postLike (Untitled4)

  • PK (id) — Long — Primary key — NOT NULL
  • PK (userId) — Long — Foreign key → users.PK — NOT NULL
  • PK (postId) — Long — Foreign key → post.PK — NOT NULL

users (dd)

  • PK (id) — Long — Primary key — NOT NULL
  • 이름 (userName) — String
  • 비밀번호 (password) — String
  • 닉네임 (userNickName) — String