상상해커톤

테이블 (7)

likes (Untitled3)

  • Key (id) — 기본 키 — NOT NULL
  • Key (video_id) — 외래 키 → videos.Key — NOT NULL
  • Key (user_id) — 외래 키 → users.Key — NOT NULL

province_users (Untitled7)

  • Key (id) — 기본 키 — NOT NULL
  • Key (user_id) — 외래 키 → users.Key — NOT NULL
  • Key (province_id) — 외래 키 → provinces.Key — NOT NULL

provinces (Untitled2)

  • Key (id) — 기본 키 — NOT NULL
  • 구역이름 (name)
  • 이미지 (image)
  • 소개 (intro)
  • 구독자수 (subscriber_count)

replies (Untitled5)

  • Key (id) — 기본 키 — NOT NULL
  • Key (video_id) — 외래 키 → videos.Key — NOT NULL
  • Key (user_id) — 외래 키 → users.Key — NOT NULL
  • 내용 (content)
  • 변경일 (updatedAt)

users (Untitled)

  • Key (id) — 기본 키 — NOT NULL

video_tags (Untitled6)

  • Key — 기본 키 — NOT NULL
  • Key (id) — 외래 키 → videos.Key — NOT NULL
  • 태그 (tag)

videos (Untitled4)

  • Key (id) — 기본 키 — NOT NULL
  • Key (province_id) — 외래 키 → provinces.Key — NOT NULL
  • 영상제목 (title)
  • 영상 링크 (url)
  • 좋아요 수 (like_count)
  • 댓글 수 (reply_count)
  • 설명 (description)