hanghaeblog
Tables (3)
Comment (댓글)
- ID (commentId) — Long — Primary key — NOT NULL
- ID (postId) — Long — Foreign key → Post.ID — NOT NULL
- ID (userId2) — Long — Foreign key → User.ID — NOT NULL
- Comment (comment) — String
Post (포스트)
- ID (postId) — Long — Primary key — NOT NULL
- ID (userId) — Long — Foreign key → User.ID — NOT NULL
- Title (title) — String
- Contents (contents) — String
- CreatedAt (createdAt) — LocalDateTime
- MoidifiedAt (modifiedAt) — LocalDateTime
User (회원정보)
- ID (userId) — Long — Primary key — NOT NULL
- Username (username) — String
- Password (password) — String
- Role (role) — UserRoleEnum