pinned

Tables (4)

Chatbot (챗봇)

  • 유저아이디 (_id) — ObjectId — Foreign key → User.유저아이디 — NOT NULL
  • 이메일 (emal) — String
  • 대화내역 (conversations) — [{ sender, message, createdAt }]

Diary (일기)

  • 유저아이디 (_id) — ObjectId — Foreign key → User.유저아이디 — NOT NULL
  • 이메일 (email) — String
  • 제목 (title) — String
  • 일기 (diary) — String
  • 이미지 (image) — String
  • 폴라로이드 색상 (color) — String
  • 감정 (emotion) — Number
  • 생성날짜 (createdAt) — ISODate

TestScore (테스트 점수)

  • 유저아이디 (_id) — ObjectId — Foreign key → User.유저아이디 — NOT NULL
  • 이메일 (email) — String
  • 점수 (score) — [{ score, createdAt }]

User (유저)

  • 유저아이디 (_id) — ObjectId — Primary key — NOT NULL
  • 이메일 (email) — String
  • 이름 (name) — String
  • 캐릭터 (character) — int