test
테이블 (10)
followings (accounts_user_followings)
- Key — 기본 키 — NOT NULL
- to_user_id (id2) — 외래 키 → user.id — NOT NULL
- from_user_id (id3) — 외래 키 → user.id — NOT NULL
genres (movies_genre)
- Key — 기본 키 — NOT NULL
- name (Field)
movie (movies_movie)
- id (Key) — 기본 키 — NOT NULL
- Field
- Field2
- Field3
- Field4
- Field5
- Field6
- Field7
- Field8
review (movies_review)
- Key — 기본 키 — NOT NULL
- user_id (id) — 외래 키 → user.id — NOT NULL
- comment_id (Key3) — 외래 키 → review.Key
- movie_id (Key2) — 외래 키 → movie.id — NOT NULL
user (accounts_user)
- id — 기본 키 — NOT NULL
- Field
- Field2
배우/감독 좋아요 누른 유저 (movies_actor_like_users)
- Key — 기본 키 — NOT NULL
- actor_id (Key2) — 외래 키 → actors.Key — NOT NULL
- user_id (id) — 외래 키 → user.id — NOT NULL
영화 좋아요 누른 유저 (movies_movie_like_users)
- Key2 — 기본 키 — NOT NULL
- user_id (id) — 외래 키 → user.id — NOT NULL
- movie_id (Key) — 외래 키 → movie.id — NOT NULL
중계테이블 (movies_movie_genre)
- Key3 — 기본 키 — NOT NULL
- movie_id (Key) — 외래 키 → movie.id — NOT NULL
- genre_id (Key2) — 외래 키 → genres.Key — NOT NULL
중계테이블 (movies_movie_actor)
- Key — 기본 키 — NOT NULL
- actor_id (Key2) — 외래 키 → actors.Key — NOT NULL
- movie_id (Key3) — 외래 키 → movie.id — NOT NULL