metamong

Tables (6)

Collection (Untitled6)

  • 컬렉션 id (collection_id) — Primary key — NOT NULL
  • 유저 id (user_id) — Primary key — NOT NULL
  • 영화 id (movie_id) — Primary key — NOT NULL
  • 유저 id (user_id2) — Foreign key → User.유저 id — NOT NULL
  • 이름 (collecton_name)
  • 좋아요 수 (collection_favoriteCount)
  • 업로드 여부 (collection _isShared)
  • 삭제일 (collection_deletedAt)
  • 생성일 (collection_createdAt)
  • 수정일 (collection_modifiedAt)

Comment (Untitled4)

  • 코멘트 id (comment_id) — Primary key — NOT NULL
  • 유저 id (user_id) — Primary key — NOT NULL
  • 영화 id (movie_id2) — Foreign key → Movie.영화 id — NOT NULL
  • 유저 id (user_id2) — Foreign key → User.유저 id — NOT NULL
  • 내용 (comment_content)
  • 좋아요 수 (comment_favoriteCount)
  • 싫어요 수 (comment_dislikeCount)
  • 생성일 (comment_createdAt)
  • 삭제일 (comment_deletedAt)

Favorite (Untitled3)

  • 즐겨찾기 id (favorite_id) — Primary key — NOT NULL
  • 컬렉션 id (collection_id) — Primary key — NOT NULL
  • 코멘트 id (comment_id) — Foreign key → Comment.코멘트 id — NOT NULL
  • 유저 id (user_id2) — Foreign key → Comment.유저 id — NOT NULL
  • 영화 id (movie_id2) — Foreign key → Comment.영화 id — NOT NULL
  • 유저 id (user_id22) — Foreign key → Comment.유저 id — NOT NULL
  • 영화 id (movie_id) — Foreign key → Movie.영화 id — NOT NULL
  • 유저 id (user_id) — Foreign key → User.유저 id — NOT NULL
  • 컬렉션 id (collection_id2) — Foreign key → Collection.컬렉션 id — NOT NULL
  • 유저 id (user_id3) — Foreign key → Collection.유저 id — NOT NULL
  • 영화 id (movie_id3) — Foreign key → Collection.영화 id — NOT NULL
  • 유저 id (user_id23) — Foreign key → Collection.유저 id — NOT NULL
  • 추가일 (favorite_addedAt)

Movie (Untitled2)

  • 영화 id (movie_id) — Primary key — NOT NULL
  • 제목 (movie_title)
  • 감독명 (movie_director_name)
  • 장르 (movie_genre)
  • 줄거리 (movie_contents)
  • 포스터 (movie_posterUrl)
  • 스틸컷 (movie_stillUrl)
  • 즐겨찾기 (movie_favorite)
  • 상영 시간 (movie_runningTime)
  • 국가 (movie_nation)
  • 회사 (movie_company)
  • 심의 (movie_ratedYn)
  • 타입 (movie_type)
  • 배우 (movie_actor)
  • 개봉일 (movie_releasedAt)
  • 생성일 (movie_createdAt)
  • 수정일 (movie_modifiedAt)
  • 삭제일 (movie_deletedAt)

User (Untitled)

  • 유저 id (user_id) — Primary key — NOT NULL
  • 이름 (user_name)
  • 이메일 (user_email)
  • 비밀번호 (password)
  • 구분 (role)
  • 생성일 (createdAt)
  • 수정일 (modifiedAt)
  • Field (deletedAt)

collection_movie (Untitled7)

  • 컬렉션 id (collection_id) — Foreign key → Collection.컬렉션 id — NOT NULL
  • 영화 id (movie_id) — Foreign key → Movie.영화 id — NOT NULL
  • 유저 id (user_id2) — Foreign key → Collection.유저 id — NOT NULL