community
Tables (3)
Comment (댓글)
- comment_id (댓글 아이디) — Foreign key → User.id — NOT NULL
- comment (댓글 내용)
- created_at (작성 시각)
- post_id (게시글 아이디) — Foreign key → Post.id — NOT NULL
Post (게시글)
- id (아이디) — Foreign key → User.id — NOT NULL
- title (제목)
- body (내용)
- created_at (작성시각)
User (사용자)
- id (아이디) — Primary key — NOT NULL
- Username (닉네임)