MOODFLIX

Tables (9)

calendar (캘린더)

  • 캘린더 아이디 (id) — Long — Primary key — NOT NULL
  • 유저 아이디 (user_id) — Long — Foreign key → users.유저 아이디 — NOT NULL
  • 영화 아이디 (movie_id) — Long — Foreign key → movies.영화 아이디 — NOT NULL
  • 추천 아이디 (recommendation_id) — Long
  • 날짜 (date) — Date
  • 메모 (note) — String
  • 등록일 (created_at) — Datetime
  • 수정일 (updated_at) — Datetime

emotion_tags (감정 태그)

  • 감정태그 아이디 (id) — Long — Primary key — NOT NULL
  • 감정태그명 (tag_name)

movie_emotion_scores (영화 감정 점수)

  • 영화 감정 점수 아이디 (id) — Long — Primary key — NOT NULL
  • 영화 아이디 (movie_id) — Long — Foreign key → movies.영화 아이디 — NOT NULL
  • 감정태그 아이디 (id2) — Long — Foreign key → emotion_tags.감정태그 아이디 — NOT NULL
  • 점수 (score) — Float

movies (영화)

  • 영화 아이디 (id) — Long — Primary key — NOT NULL
  • TMDB 아이디 (tmdb_id) — Long
  • 제목 (title) — Stirng
  • 줄거리 (overview) — Stirng
  • 포스터 (poster_url) — Stirng
  • 개봉일 (release_date) — Date
  • 등록일 (created_at) — Datetime
  • 수정일 (updated_at) — Datetime

recommendations (영화 추천)

  • 추천 아이디 (id) — Long — Primary key — NOT NULL
  • 유저 아이디 (user_id) — Long — Foreign key → users.유저 아이디 — NOT NULL
  • 감정입력 아이디 (user_emotion_input_id) — Long — Foreign key → user_emotion_inputs.감정입력 아이디 — NOT NULL
  • 영화 아이디 (movie_id) — Long — Foreign key → movies.영화 아이디 — NOT NULL
  • 유사도 점수 (similarity_score) — Float
  • 추천일시 (created_at) — Datetime

reviews (리뷰)

  • 리뷰 아이디 (id) — Long — Primary key — NOT NULL
  • 유저 아이디 (user_id) — Long — Foreign key → users.유저 아이디 — NOT NULL
  • 영화 아이디 (id2) — Long — Foreign key → movies.영화 아이디 — NOT NULL
  • 내용 (content) — String
  • 평점 (rating) — Float
  • 작성일시 (created_at) — Datetime
  • 수정일시 (updated_at) — Datetime

user_emotion_inputs (사용자 감정 입력)

  • 감정입력 아이디 (id) — Long — Primary key — NOT NULL
  • 유저 아이디 (id2) — Long — Foreign key → users.유저 아이디 — NOT NULL
  • 감정 입력 텍스트 (input_text) — String
  • 입력일시 (created_at) — Datetime

user_emotion_scores (사용자 감정 점수)

  • 감정점수 결과 아이디 (id) — Long — Primary key — NOT NULL
  • 감정태그 아이디 (tag_id) — Long — Foreign key → emotion_tags.감정태그 아이디 — NOT NULL
  • 감정입력 아이디 (emotion_input_id) — Long — Foreign key → user_emotion_inputs.감정입력 아이디 — NOT NULL
  • 점수 (score) — Float

users (유저)

  • 유저 아이디 (id) — Long — Primary key — NOT NULL
  • 이메일 (email) — String
  • 비밀번호 (password) — String
  • 닉네임 (name) — String
  • 성별 (gender) — String
  • 생년월일 (birth_date) — Date
  • 프로필 이미지 (profile_image) — String
  • 가입방식 (provider) — String
  • 가입일시 (created_at) — Datetime
  • 수정일시 (updated_ at) — Datetime
  • 탈퇴여부 (deleted) — Boolean