springclonecoding
Tables (4)
Comment (Untitled4)
- Id — Long — Primary key — NOT NULL
- postid (Key) — Long — Foreign key → Post.postid — NOT NULL
- Id (Id2) — Long — Foreign key → Post.userid — NOT NULL
- Field
Like (Untitled2)
- Id (id) — Long — Primary key — NOT NULL
- postid (Key) — Long — Foreign key → Post.postid — NOT NULL
- userid — Long — Foreign key → Post.userid — NOT NULL
- 유저 (userId) — Long
- 포스트 (postId) — Long
- Field
Post (Untitled)
- postid (Key) — Long — Primary key — NOT NULL
- userid — Long — Foreign key → User.UserId — NOT NULL
- 내용 (content) — String
- 작성자 (userId) — Long
- 작성일 (createAt) — LocalDateTime
- 좋아요 (likes) — Int
- 댓글 (List<Comment>) — Comment
- Field
User (Untitled3)
- UserId (userid) — Long — Primary key — NOT NULL
- Field