TripleH
테이블 (9)
리뷰 (review)
- 리뷰아이디 (review_id) — int — 기본 키 — NOT NULL
- 영화아이디 (movie_id) — int — 외래 키 → 영화.영화아이디 — NOT NULL
- 유저아이디 (user_id) — int — 외래 키 → 유저.유저아이디 — NOT NULL
- 날짜 (created_at) — date
- 내용 (content) — text
- 평점 (rating) — float
영화 (Movie)
- 영화아이디 (movie_id) — int — 기본 키 — NOT NULL
- 영화제목 (title) — text
- 포스터 (poster) — text
- 줄거리 (overview) — text
- 개봉일 (released_date) — date
- 러닝타임 (running_time) — int
- 평균평점 (avg_rating) — float
- 국가 (nation) — text
- 언어 (language) — text
- 청불유무(선택) (adult) — bool
- 유튜브 (youtube_key) — text
영화-장르 (movie-genre)
- 영화아이디 (movie_id) — int — 외래 키 → 영화.영화아이디 — NOT NULL
- 장르아이디 (genre_id) — int — 외래 키 → 장르.장르아이디 — NOT NULL
유저 (user)
- 유저아이디 (user_id) — int — 기본 키 — NOT NULL
- 이메일 (email) — text
- 비밀번호 (password) — text
- 닉네임 (nickname) — text
- 팔로잉 (following) — int
유저-리뷰(좋아요) (user-review)
- 리뷰아이디 (review_id) — int — 외래 키 → 리뷰.리뷰아이디 — NOT NULL
- 유저아이디 (user_id) — int — 외래 키 → 유저.유저아이디 — NOT NULL
유저-영화(좋아요) (user-like)
- 영화아이디 (movie_id) — int — 외래 키 → 영화.영화아이디 — NOT NULL
- 유저아이디 (user_id) — int — 외래 키 → 유저.유저아이디 — NOT NULL
- 좋아요 (Field) — int
유저-장르 (user-genre-preference)
- 장르아이디 (genre_id) — int — 외래 키 → 장르.장르아이디 — NOT NULL
- 유저아이디 (user_id) — int — 외래 키 → 유저.유저아이디 — NOT NULL
- 카운트 (count) — int
장르 (genre)
- 장르아이디 (genre_id) — int — 기본 키 — NOT NULL
- 장르 (genre) — text
챗봇 (chatmessage)
- 유저아이디 (user_id) — int — 외래 키 → 유저.유저아이디 — NOT NULL
- 역할 (role) — text
- 내용 (content) — text
- 날짜 (timestamp) — date