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.
| Area | What is stored | Notes |
|---|---|---|
| Profiles | Name, username, photo, school, course, year, interests, settings | One profile per account |
| Schools | The list of open schools, and requests for new ones | Served to the app by the API |
| Posts | Text, media, polls, tags, school scope, a private-to-school flag | Private posts are visible only to the same school |
| Comments and votes | Replies with likes and photos, upvotes and downvotes with a score | Votes can be taken back by tapping again |
| Faceless identities | A Ghost ID handle for each account and its avatar | The link between account and handle is stored on the server and never sent to other users |
| Tribes | Groups, members, group posts, join requests | Hidden until the admin flag is on |
| Chats | Conversations, messages, requests, read state | Faceless chat uses Ghost IDs |
| Inbox links | A link token and the anonymous messages sent through it | Cards are drawn from the prompt and theme of the link |
| Notifications | Alerts for replies, votes, messages and streaks | Delivered by push and shown in the app |
| Marketplace | Listings, photos, categories, contact choices, reviews | Scoped to a school |
| Ranks and streaks | Levels, stars and a daily streak with redeemable missed days | Posting keeps the streak alive |
| Ads and payments | Campaigns, boosts, payment references | Money is confirmed by the payment provider, never by the app |
| Moderation and security | Reports, hidden posts, school moderators, a request log and blocked addresses | Every moderator action is audited |
Last updated 30 November 2026.
