멋사 홈페이지 DB
테이블 (3)
Comment (Untitled3)
- comment_id (PK) — Long — 기본 키 — NOT NULL
- post_id (FK1) — Long — 외래 키 → Post.post_id — NOT NULL
- user_id (FK2) — Long — 외래 키 → Post.user_id — NOT NULL
- Field
- Field2
Post (Untitled2)
- post_id (PK) — Long — 기본 키 — NOT NULL
- user_id (FK) — Long — 외래 키 → User.user_id — NOT NULL
- title (Field2)
- body (Field3)
User (Untitled)
- user_id (PK) — Long — 기본 키 — NOT NULL
- Field
- Field2
- Field3