capstone
테이블 (8)
게시물 (Post)
- Post_ID (Key) — int — 기본 키 — NOT NULL
- title (Field) — String
- User_ID (Field2) — int
- Update_Time (Field3) — datetime
- videoURL (Field4) — String
게시물 댓글 (Post_Comment)
- Comment_ID (Key) — int — 기본 키 — NOT NULL
- Post_ID (Key3) — int — 외래 키 → 게시물.Post_ID — NOT NULL
- User_ID (Key2) — int — 외래 키 → 사용자.User_ID — NOT NULL
- contant (Field) — String
- Parent_ID (Field2) — int
- Field3 — datetime
게시물 좋아요 (Post_Like)
- Like_ID (Key) — int — 기본 키 — NOT NULL
- User_ID (Key2) — int — 외래 키 → 사용자.User_ID — NOT NULL
- Post_ID (Key3) — int — 외래 키 → 게시물.Post_ID — NOT NULL
게시물 해시태그 (Post HashTag)
- Post_Hash_ID (Key) — int — 기본 키 — NOT NULL
- Post_ID (Key2) — int — 외래 키 → 게시물.Post_ID — NOT NULL
- Hash_ID (Key3) — int — 외래 키 → 해시태그.Hash_ID — NOT NULL
댓글 좋아요 (Comment_Like)
- Like_ID (Key) — int — 기본 키 — NOT NULL
- User_ID (Key2) — int — 외래 키 → 사용자.User_ID — NOT NULL
- Comment_ID (Key3) — int — 외래 키 → 게시물 댓글.Comment_ID — NOT NULL
사용자 (User)
- User_ID (Key) — int — 기본 키 — NOT NULL
- User_Name (Field) — String
- Profile_Image (Field2) — String
- Email (Field3) — String
- Password (Field4) — String
알림 (Notification)
- Noti_ID (Key) — int — 기본 키 — NOT NULL
- Post_ID (Key2) — int — 외래 키 → 게시물.Post_ID — NOT NULL
- Type (Field) — Enum
- read (Field2) — Boolean
- Noti_Time (Field3) — datetime
- Sender_ID (Key3) — int — 외래 키 → 사용자.User_ID — NOT NULL
- Reciever_ID (Key4) — int — 외래 키 → 사용자.User_ID — NOT NULL
해시태그 (HashTag)
- Hash_ID (Key) — int — 기본 키 — NOT NULL
- Hash_Name (Field) — String