Spring lv.3 ERD

Tables (3)

Comment (Untitled3)

  • post_id (Key) — long — Foreign key → Post.post_id — NOT NULL
  • comment_content (Field) — String
  • post_id (Field2)

Post (Untitled2)

  • post_id (Key) — long — Primary key — NOT NULL
  • title (Field) — String
  • content (Field2) — String
  • username (Field3) — String
  • createdAt (Field4) — LocalDateTime
  • modifiedAt (Field5) — LocalDateTime
  • commentList (Field6) — List<Commnet>

User (Untitled)

  • user_id (Key) — long — Primary key — NOT NULL
  • username (Field) — String
  • password (Field2) — String