lets-listen-together

Tables (4)

Channel

  • 채널 아이디 (id) — string — Primary key — NOT NULL
  • 이름 (name) — string — NOT NULL
  • 설명 (description) — string
  • 이미지 (Image) — string
  • 태그 (Tags) — string[]

Music

  • 음악 아이디 (id) — string — Primary key — NOT NULL
  • 채널 아이디 (channelId) — string — Foreign key → Channel.채널 아이디 — NOT NULL
  • 타이틀 (title) — string — NOT NULL
  • 채널 타이틀 (channelTitle) — string
  • 이미지 (image) — string
  • 총 러닝 타임 (duration) — number — NOT NULL
  • 주소 (url) — string — NOT NULL

User

  • id — string — Primary key — NOT NULL — Auto Increment
  • 닉네임 (nickName) — string — NOT NULL — 닉네임
  • 프로필 이미지 (profileImage) — string — 프로필 이미지

UserChannel

  • 유저 아이디 (userId) — string — Foreign key → User.id — NOT NULL — Auto Increment
  • 채널 아이디 (channelId) — string — Foreign key → Channel.채널 아이디 — NOT NULL