코더랜드
엘리스 프로젝트 3팀 ERD
테이블 (7)
게시글 (Post)
- Object Id (id) — string — 기본 키 — NOT NULL
- 작성자 (author) — User — 외래 키 → 유저 정보.Object Id — NOT NULL
- 댓글 목록 (comments) — Array<Comment>
- 제목 (title) — string
- 내용 (contents) — string
- 조회수 (views) — number
- 대분류 (subject) — string
- 만든 날짜 (createdAt) — Date
- 수정 날짜 (updatedAt) — Date
- 악명 (anonymous) — boolean
- 좋아요 (likes) — number
게시글 북마크 (Bookmark)
- Object Id (id) — string — 기본 키 — NOT NULL
- 포스트 (postId) — Post — 외래 키 → 게시글.Object Id — NOT NULL
- 유저 (userId) — User — 외래 키 → 유저 정보.Object Id — NOT NULL
게시글 좋아요 (Post_Like)
- Object Id (id) — string — 기본 키 — NOT NULL
- 포스트 (postId) — Post — 외래 키 → 게시글.Object Id — NOT NULL
- 유저 (userId) — User — 외래 키 → 유저 정보.Object Id — NOT NULL
댓글 (Comment)
- Object Id (id) — string — 기본 키 — NOT NULL
- 글 ID (postId) — Post — 외래 키 → 게시글.Object Id — NOT NULL
- 작성자 (author) — User — 외래 키 → 유저 정보.Object Id — NOT NULL
- 내용 (contents) — string
- 좋아요 (likes) — number
- 만든 날짜 (createdAt) — Date
- 수정 날짜 (updatedAt) — Date
- Object Id (id2) — string — 외래 키 → 댓글.Object Id — NOT NULL
댓글 좋아요 (Comment_Like)
- Object Id (id) — string — 기본 키 — NOT NULL
- 유저 (userId) — User — 외래 키 → 댓글.Object Id — NOT NULL
- 댓글 (commentId) — Comment — 외래 키 → 유저 정보.Object Id — NOT NULL
모집 정보 (Gather info)
- 장소 (area) — string
- 완료 여부 (isCompleted) — boolean
- 모집 인원 (memberCount) — number
- 신청자 (members) — Array<User>
- 태그 (tags) — Array<string>
- 카테고리 (category) — string
- Object Id (id) — string — 외래 키 → 게시글.Object Id — NOT NULL
유저 정보 (User)
- Object Id (id) — string — 기본 키 — NOT NULL
- 구글 ID (googleId) — string
- 구글 닉네임 (nickname) — string
- 구글 이름 (name) — string
- 프로필 사진 (profile) — string
- 등급 (grade) — number
- 트랙 기수 (track) — string
- 깃랩 레포 (gitlab) — string