movie_lastpjt

Tables (11)

Collection (Untitled10)

  • pk (id) — INT — Primary key — NOT NULL
  • 제목 (title) — varchar
  • 공개여부 (public) — boolean
  • fk (user_id) — INT — Foreign key → User.pk — NOT NULL
  • fk (movie_id) — INT — Foreign key → movies.Movie.pk — NOT NULL

Comments (Untitled8)

  • pk (id) — INT — Primary key — NOT NULL
  • 작성일자 (created_at) — date
  • 수정일자 (updated_at) — date
  • fk (review_id) — INT — Foreign key → Review.pk — NOT NULL
  • fk (user_id) — INT — Foreign key → User.pk — NOT NULL

Filmograpy (Untitled5)

  • pk (id) — INT — Primary key — NOT NULL
  • 역할 (role) — text
  • fk (movie_id) — INT — Foreign key → movies.Movie.pk — NOT NULL
  • fk (people_id) — INT — Foreign key → People.pk — NOT NULL

People (Untitled2)

  • pk (id) — INT — Primary key — NOT NULL
  • 생년월일 (birthday) — text
  • 성별 (gender) — integer
  • 이름 (name) — text
  • 인기도 (popularity) — float
  • 프로필이미지 (profile_path) — text

Reserved (Untitled9)

  • pk (id) — INT — Primary key — NOT NULL
  • fk (user_id) — INT — Foreign key → User.pk — NOT NULL
  • fk (movie_id) — INT — Foreign key → movies.Movie.pk — NOT NULL

Review (Untitled6)

  • pk (id) — INT — Primary key — NOT NULL
  • 제목 (title) — varchar(100)
  • 평점 (vote_average) — float
  • 내용 (review) — text
  • 작성일자 (created_at) — date
  • 수정일자 (updated_at) — date
  • fk (moive_id) — INT — Foreign key → movies.Movie.pk — NOT NULL
  • fk (user_id) — INT — Foreign key → User.pk — NOT NULL

User (Untitled4)

  • pk (id) — INT — Primary key — NOT NULL
  • 이메일 (email) — varchar
  • 이름 (first_name) — varchar
  • 성 (last_name) — varchar
  • 성별 (gender) — choice
  • 나이 (age) — integer
  • 비밀번호 (password) — varchar

like_review (Untitled7)

  • pk (id) — INT — Primary key — NOT NULL
  • 좋아요/싫어요 (like_unlike) — integer
  • fk (review_id) — INT — Foreign key → Review.pk — NOT NULL
  • fk (user_id) — INT — Foreign key → User.pk — NOT NULL

movies.Genres (Untitled3)

  • pk (id) — INT — Primary key — NOT NULL
  • 장르 (name) — text

movies.Movie (Untitled)

  • pk (id) — INT — Primary key — NOT NULL
  • 영화제목 (title) — varchar
  • 원제목 (original_title) — text
  • 줄거리 (overview) — text
  • 영화포스터 (poster_path) — text
  • 평점 (vote_average) — float
  • 평점수 (vote_count) — integer
  • 개봉일 (release_date) — date
  • 상영시간 (runtime) — integer
  • 인기도 (popularity) — float
  • adult — boolean
  • 뒷배경포스터 (backdrop_path) — text
  • 한줄설명 (tagline) — text

preference (Untitled11)

  • Key — Primary key — NOT NULL
  • 영화 (Field)
  • 장르 (Field2)
  • 배우 (Field3)
  • fk (user_id) — INT — Foreign key → User.pk — NOT NULL
  • fk (movie_id) — INT — Foreign key → movies.Movie.pk — NOT NULL