movieCommunityProject

Tables (16)

file

  • Key (uid) — int — Primary key — NOT NULL — 파일 번호
  • user_no (user_uid) — int — Foreign key → user.user_no — NOT NULL — 업로더 고유 아이디
  • Field (file_name) — varchar2(128) — NOT NULL — 파일명
  • Field (file_size) — number(10) — NOT NULL — 파일 byte크기
  • Field2 (file_type) — varchar2(128) — NOT NULL — 파일 형식
  • Field (timedate) — date — NOT NULL — 업로드일
  • Field (img_height) — number(6) — NOT NULL — 이미지 높이
  • Field (img_width) — number(6) — NOT NULL — 이미지 너비

forum_category

  • Key (uid) — int — Primary key — NOT NULL — 카테고리 번호
  • Key (req_read) — number(10 — Foreign key → user_role.Key — NOT NULL — 읽기 권한 요구 등급
  • Key (req_write) — number(10) — Foreign key → user_role.Key — NOT NULL — 쓰기 권한 요구 등급
  • Field (guest) — varchar2(1) — NOT NULL — 손님 보기 허용 여부

forum_notice

  • Key (uid) — int — Primary key — NOT NULL — 고유 번호
  • Key (thread_id) — int — Foreign key → forum_thread.Key — NOT NULL — 글 번호
  • Field (all_forum) — number(1) — NOT NULL — 전체 공지 (0/1)

forum_post

  • Key (uid) — int — Primary key — NOT NULL — 덧글 번호
  • Field (text) — varchar2(512) — NOT NULL — 덧글 내용
  • Key (thread_id) — int — Foreign key → forum_thread.Key — NOT NULL — 글 번호
  • user_no (author_id) — int — Foreign key → user.user_no — NOT NULL — 덧글 작성자 고유 아이디
  • Field (vote) — int — NOT NULL — 찬성/반대 점수
  • Field (timedate) — date — NOT NULL — 날짜

forum_review

  • Key (uid) — int — Primary key — NOT NULL — 고유 번호
  • Key (thread_id) — int — Foreign key → forum_thread.Key — NOT NULL — 글 번호
  • Field (movie_id) — int — NOT NULL — 영화 고유 아이디
  • Field (rate) — number(4) — NOT NULL — 평점

forum_thread

  • Key (uid) — int — Primary key — NOT NULL — 글 번호
  • Key (forum_category_id) — int — Foreign key → forum_category.Key — NOT NULL — 게시판 카테고리 번호
  • Field (count_read) — int — NOT NULL — 읽은 횟수
  • Field2 (count_post) — int — NOT NULL — 덧글 수
  • user_no (author_id) — int — Foreign key → user.user_no — NOT NULL — 글 작성자 고유 아이디
  • Field (thread_locked) — number(1) — NOT NULL — 글 잠금 여부
  • Field (post_locked) — number(1) — NOT NULL — 덧글 잠금 여부
  • Field (vote) — int — NOT NULL — 찬성/반대 점수
  • Field (text) — varchar2(2048) — NOT NULL — 글 내용
  • Field (title) — varchar2(128) — NOT NULL — 글 제목
  • Field (timedate) — date — NOT NULL — 날짜

forum_upload

  • Key (uid) — int — Primary key — NOT NULL — 고유 번호
  • Key (thread_id) — int — Foreign key → forum_thread.Key — NOT NULL — 글 번호
  • Key (file_id) — int — Foreign key → file.Key — NOT NULL — 파일 번호

forum_vote

  • Key (uid) — int — Primary key — NOT NULL — 고유 번호
  • user_no (user_id) — int — Foreign key → user.user_no — NOT NULL — 유저 고유 아이디
  • Field (content_id) — int — NOT NULL — 참조할 글 번호
  • Field (type) — number(2) — NOT NULL — 참조할 글 타입 (1: 글, 2: 덧글)
  • Field (vote) — number(1) — NOT NULL — -1: 반대, 0: 중립(취소), 1: 찬성
  • Field (timedate) — date — NOT NULL — 날짜

list_watch (movie_user_favorite)

  • Key (uid) — int — Primary key — NOT NULL — 고유 번호
  • user_no (user_id) — int — Foreign key → user.user_no — NOT NULL — 유저 고유 아이디
  • Key (movie_id) — int — Foreign key → movie.Key — NOT NULL — 영화 고유 아이디
  • Field (add_date) — date — NOT NULL — 추가 날짜
  • Field (watch) — number(1) — NOT NULL — 관람 여부

movie

  • Key (uid) — int — Primary key — NOT NULL — 영화 고유 아이디
  • Field (last_update) — date — NOT NULL — 테이블 마지막 업데이트일
  • Field (title) — varchar2(255) — NOT NULL — 원문 제목
  • Field (title_kor) — varchar2(512) — 국문 제목
  • Field (product_year) — number(12) — 제작 년도
  • Field (open_date) — date — 개봉일
  • Field (country) — varchar2(64) — 국가
  • Field (genre) — varchar2(512) — 장르
  • Field (director) — varchar2(128) — 감독
  • Field (vote) — number(4) — 평점
  • Field (vote_count) — int — NOT NULL — 평점 된 횟수
  • Field (budget) — int — 제작 예산
  • Field (adult) — number(1) — NOT NULL — 성인 여부
  • Field (run_time) — number(6) — NOT NULL — 상영 시간

notification

  • Key (uid) — int — Primary key — NOT NULL — 고유 번호
  • user_no (sender_id) — int — Foreign key → user.user_no — NOT NULL — 송신자 고유 아이디
  • user_no (receiver_id) — int — Foreign key → user.user_no — NOT NULL — 수신자 고유 아이디
  • Field2 (content_id) — int — NOT NULL — 참조할 글 번호
  • Field (content_type) — number(2) — NOT NULL — 참조할 글 타입 (0: 쪽지, 1: 글, 2: 덧글)
  • Field (timedate) — date — NOT NULL — 날짜
  • Field (checked) — number(1) — NOT NULL — 열람 여부

point_shop

  • Key (uid) — number(20) — Primary key — NOT NULL — 아이템 고유 번호
  • Field (item_name) — varchar2(255) — NOT NULL — 아이템 이름
  • Field (item_type) — varchar2(255) — NOT NULL — 아이템 종류
  • Field (item_point) — int — NOT NULL — 요구 포인트
  • Field (item_stock) — int — NOT NULL — 아이템 수량
  • Key (file_id) — int — Foreign key → file.Key — NOT NULL — 파일 번호
  • Key (req_role_id) — number(10) — Foreign key → user_role.Key — NOT NULL — 요구되는 등급 고유 번호
  • Field (item_locked) — number(1) — NOT NULL — 아이템 잠금 여부

user (userlist)

  • user_no (u_id) — int — Primary key — NOT NULL — 유저 고유 아이디 (카카오 고유 아이디 번호)
  • user_name (nickname) — varchar2(15 char) — NOT NULL — 닉네임
  • email — varchar2(345 char) — NOT NULL — 이메일
  • account_locked — number(1) — NOT NULL — 계정 LOCK 여부
  • created_ip (create_ip) — varchar2(64) — NOT NULL — 계정을 생성한 IP
  • last_update_ip — varchar2(64) — NOT NULL — 마지막 로그인 IP
  • created_date — date — NOT NULL — 생성일
  • last_update_date — date — NOT NULL — 마지막 로그인 날짜
  • Field (points) — int — NOT NULL — 활동 점수
  • Key (role_id) — number(10) — Foreign key → user_role.Key — NOT NULL — 등급 고유 번호
  • Field (view_adult) — number(1) — NOT NULL — 성인 열람
  • Field (age_adult) — number(1) — NOT NULL — 성인 나이 여부

user_admin

  • Key (u_id) — int — Primary key — NOT NULL — 고유 번호
  • user_no (user_uid) — int — Foreign key → user.user_no — NOT NULL — 유저 고유 아이디

user_letter

  • Key (uid) — int — Primary key — NOT NULL — 고유 번호
  • user_no (sender_id) — int — Foreign key → user.user_no — NOT NULL — 송신자 고유 아이디
  • user_no (receiver_id) — int — Foreign key → user.user_no — NOT NULL — 수신자 고유 아이디
  • Field2 (text) — varchar2(512) — NOT NULL — 쪽지 내용
  • Field (timedate) — date — NOT NULL — 날짜
  • Field (checked) — number(1) — NOT NULL — 열람 여부

user_role

  • Key (u_id) — number(10) — Primary key — NOT NULL — 등급 고유 번호
  • Field (role_name) — varchar2(12 char) — NOT NULL — 등급 이름
  • Field (req_point) — int — NOT NULL — 필요 포인트
  • Field (role_priority) — int — NOT NULL — 등급 우선 순위