멋사블로그
테이블 (7)
Comment (Untitled4)
- commentId (Key) — 기본 키 — NOT NULL
- 내용 (Field)
- 생성날짜 (Field2)
- userId (Key2) — 외래 키 → User.userId — NOT NULL
- postId (Key3) — 외래 키 → Post.postId — NOT NULL
Like (Untitled6)
- likeId (Key) — 기본 키 — NOT NULL
- 수 (Field)
- Field2
- userId (Key2) — 외래 키 → User.userId — NOT NULL
- postId (Key3) — 외래 키 → Post.postId — NOT NULL
Post (Untitled3)
- postId (Key) — 기본 키 — NOT NULL
- 제목 (Field)
- 생성날짜 (Field2)
- 내용 (Field3)
- userId (Key2) — 외래 키 → User.userId — NOT NULL
Post.Tag (Untitled7)
- id (Key) — 기본 키 — NOT NULL
- postId (Key2) — 외래 키 → Post.postId — NOT NULL
- tagId (Key3) — 외래 키 → Tag.tagId — NOT NULL
Tag (Untitled5)
- tagId (Key) — 기본 키 — NOT NULL
- 이름 (Field)
- 색 (Field2)
User (Untitled)
- userId (Key) — 기본 키 — NOT NULL
- 이름 (Field)
- 메일 (Field2)
- 생년월일 (Field3)
- 가입일 (Field4)
User Profile (Untitled2)
- profileId (Key) — 기본 키 — NOT NULL
- 전공 (Field)
- userId (Key2) — 외래 키 → User.userId — NOT NULL