cookie-zip

Tables (6)

Comment

  • 댓글 식별자 (id) — Int — Primary key — NOT NULL
  • 댓글 내용 (text) — String
  • 생성일 (createdAt) — DateTime
  • 갱신일 (updatedAt) — DateTime

Like

  • 좋아요 식별자 (id) — Int — Primary key — NOT NULL
  • 생성일 (createdAt) — DateTime
  • 갱신일 (updatedAt) — DateTime

Subscribe

  • 구독 식별자 (id) — Int — Primary key — NOT NULL
  • 생성일 (createdAt) — DateTime
  • 갱신일 (updatedAt) — DateTime

Token

  • 토큰 식별자 (id) — Int — Primary key — NOT NULL
  • 생성일 (createdAt) — DateTime
  • 갱신일 (updatedAt) — DateTime

User

  • 사용자 식별자 (id) — Int — Primary key — NOT NULL
  • 이메일 (email) — String
  • 닉네임 (name) — String
  • 프로필사진 (avatar) — String?
  • 생성일 (createdAt) — DateTime
  • 갱신일 (updatedAt) — DateTime
  • 토큰 (token) — Int — Foreign key → Token.토큰 식별자 — NOT NULL
  • 비디오 식별자 (videos) — Video[] — Foreign key → Video.비디오 식별자 — NOT NULL

Video

  • 비디오 식별자 (id) — Int — Primary key — NOT NULL
  • 제목 (title) — String
  • 세부내용 (description) — String
  • 동영상 (videoUrl) — String
  • 생성일 (createdAt) — DateTime
  • 갱신일 (updatedAt) — DateTime
  • 사용자 식별자 (user) — Int — Foreign key → User.사용자 식별자 — NOT NULL