youtube
Tables (4)
Channel (대학별 채널)
- id (PK) — Primary key — NOT NULL
- title (제목)
- subscriber_count (구독자 수)
- total_views (총 조회수)
- video_count (업로드 비디오 수)
- description (채널 설명)
Tag (영상 카테고리)
- id (PK) — Primary key — NOT NULL
- name (카테고리)
Video (3개년 입시 영상)
- id (PK) — Primary key — NOT NULL
- id (FK) — Foreign key → Channel.id — NOT NULL
- title (제목)
- like_count (좋아요수)
- view_count (조회수)
- comment_count (댓글수)
- duration (영상길이)
- upload_date (업로드일)
- has_caption (캡션 여부)
- url (영상 url)
- thumbnail_url (썸네일 url)
Video_tag (video와 tag 관계)
- video_id (PK) — Foreign key → Video.id — NOT NULL
- tag_id (PK2) — Foreign key → Tag.id — NOT NULL