Feux Labs / Docs / Data model

8. Data model

What do we store, and how is it related?

Everything lives in PostgreSQL and changes only through versioned migrations. A migration that has been applied is never edited; a new one is added.

AreaWhat is storedNotes
ProfilesName, username, photo, school, course, year, interests, settingsOne profile per account
SchoolsThe list of open schools, and requests for new onesServed to the app by the API
PostsText, media, polls, tags, school scope, a private-to-school flagPrivate posts are visible only to the same school
Comments and votesReplies with likes and photos, upvotes and downvotes with a scoreVotes can be taken back by tapping again
Faceless identitiesA Ghost ID handle for each account and its avatarThe link between account and handle is stored on the server and never sent to other users
TribesGroups, members, group posts, join requestsHidden until the admin flag is on
ChatsConversations, messages, requests, read stateFaceless chat uses Ghost IDs
Inbox linksA link token and the anonymous messages sent through itCards are drawn from the prompt and theme of the link
NotificationsAlerts for replies, votes, messages and streaksDelivered by push and shown in the app
MarketplaceListings, photos, categories, contact choices, reviewsScoped to a school
Ranks and streaksLevels, stars and a daily streak with redeemable missed daysPosting keeps the streak alive
Ads and paymentsCampaigns, boosts, payment referencesMoney is confirmed by the payment provider, never by the app
Moderation and securityReports, hidden posts, school moderators, a request log and blocked addressesEvery moderator action is audited

Last updated 30 November 2026.