vincent-peugnet / antilope

Antilope private tracker for IRL sharing, allowing members to share anything inside communities.

Home Page:https://antilope-alpha.club1.fr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mini forum

vincent-peugnet opened this issue · comments

A forum post structure.

Should I user a Post and Thread structure or only a Post with a parentPost property like in this schema picture ?

Post Entity

  • id int
  • thread Thread
  • createdAt DateTime
  • editedAt DateTime
  • message string
  • author User

Thread Entity

  • id int
  • author User
  • tags Tag[]
  • title string

Forum Entity

  • id int
  • userClass ?UserClass (required used class)
  • category Category

Category Entity

  • id int
  • name string
  • positionint

What do You Think @n-peugnet