NewsFit

Tables (5)

Article (Untitled2)

  • 기사 식별자 (article_id) — Long — Primary key — NOT NULL
  • 기사 제목 (title) — String
  • 주제 (Field) — ENUM
  • 내용 (content) — String
  • 언론사 (press) — String

Comment (Untitled3)

  • 댓글 식별자 (comment_id) — Long — Primary key — NOT NULL
  • 내용 (content) — String
  • 등록 일자 (createdAt) — Date
  • 유저 식별자 (user_id) — Long
  • 부모 댓글 식별자 (parent_comment_id)

Comment_To_Article (Untitled5)

  • 기사 식별자 (article_id) — Long — Foreign key → Article.기사 식별자 — NOT NULL
  • 댓글 식별자 (comment_id) — Long — Foreign key → Comment.댓글 식별자 — NOT NULL

Like_To_Article (Untitled6)

  • 유저식별자 (user_id) — Long — Primary key — NOT NULL
  • 기사 식별자 (article_id) — Long — Foreign key → Article.기사 식별자 — NOT NULL

User (Untitled)

  • 유저 식별자 (user_id) — Long — Primary key — NOT NULL
  • 유저 이메일 (email) — String
  • 유저 이름 (username) — String
  • 선호 주제 (preference_topic) — [ENUM]
  • 선호 언론사 (preference_comp) — [String]
  • 전화번호 (phone) — String
  • 성별 (sex) — ENUM
  • 생년월일 (birth) — Date
  • 활성화 여부 (isActivated) — Boolean