news

Tables (4)

Untitled (comment)

  • user_id (news_id) — Foreign key → news.user_id — NOT NULL
  • Field (comments)
  • Field (user_id)
  • Field (created_at)
  • Field (updated_at)
  • Field

Untitled2 (users)

  • Key (user_id) — Primary key — NOT NULL
  • Field (name)
  • Field (email)
  • Field (password)

news

  • user_id (news_id) — Primary key — NOT NULL
  • Field (title)
  • Field2 (content)
  • Field (created_at)
  • Field (updated_at)
  • Key (user_id) — Foreign key → Untitled2.Key — NOT NULL
  • Field (image)

user authentication (profile)

  • Key (profile_id) — Primary key — NOT NULL
  • email (nickname)
  • Key (user_id) — Foreign key → Untitled2.Key — NOT NULL
  • Field (email)
  • Field (password)