멋사
테이블 (3)
Comment
- comment_id — 기본 키 — NOT NULL
- comment_content (댓글내용)
- created_at (작성일)
- liked (좋아요)
- user_id (user_id2) — 외래 키 → User.user_id — NOT NULL
- post_id — 외래 키 → Post.post_id — NOT NULL
Post
- post_id — 기본 키 — NOT NULL
- content (내용)
- created_at (작성일)
- liked (좋아요)
- image (이미지)
- user_id — 외래 키 → User.user_id — NOT NULL
User
- user_id — 기본 키 — NOT NULL
- userid (유저아이디)
- password (비밀번호)
- username (닉네임)