wewe
Tables (6)
ChatModel (채팅)
- _id (키값) — ObjectId — Primary key — NOT NULL
- user (이름) — ObejctId
- chats (채팅) — Array
- createdAt (생성날짜) — Date
- updatedAt (수정날짜) — Date
FollowerModel (팔로워)
- _id (키값) — ObjectId — Primary key — NOT NULL
- user (사용자) — ObjectId
- followers (팔로워) — Array
- following (팔로잉) — Array
- createdAt (생성날짜) — Date
- updatedAt (수정날짜) — Date
NotificationModel (알람)
- _id (키값) — ObjectId — Primary key — NOT NULL
- user (사용자) — ObjectId
- notifications (알람) — Array
- createdAt (생성날짜) — Date
- updatedAt (수정날짜) — Date
PostModel (게시글)
- _id (키값) — ObjectId — Primary key — NOT NULL
- user (이름) — ObjectId
- text (이메일) — String
- location (비밀번호) — String
- picUrl (사진) — String
- likes (좋아요) — Array
- comments (댓글) — Array
- createdAt (생성날짜) — Date
- updatedAt (수정날짜) — Date
ProfileModel (프로필)
- _id (키값) — ObjectId — Primary key — NOT NULL
- user (사용자) — ObjectId
- bio (자기소개) — String
- social (SNS) — Object
- createdAt (생성날짜) — Date
- updatedAt (수정날짜) — Date
UserModel (사용자)
- _id (키값) — ObjectId — Primary key — NOT NULL
- name (이름) — String
- email (이메일) — String
- password (비밀번호) — String
- username (닉네임) — String
- profilePicUrl (프로필사진) — String
- newMessagePopup (팝업) — Boolean
- unreadMessage (읽지 않은 메세지) — Boolean
- unreadNotification (읽지않은알림) — Boolean
- role (계정구분) — String
- resetToken (리셋토큰) — String
- expireToken (토큰) — Date
- createdAt (생성날짜) — Date
- updatedAt (수정날짜) — Date