๐งญ Entity Relationship Diagrams¶
Last updated: 2025-10-09 (Europe/Paris)
RawDigs uses modular contexts with clearly defined data boundaries. This index gathers the available entity relationship diagrams (ERDs) so you can quickly understand how tables align across contexts and how features compose.
๐ Current Diagrams¶
| Diagram | Context | What it covers |
|---|---|---|
| Accounts Models | Accounts | Users, organizations, memberships, invitations, and their relationships. |
| Accounts Entity Map | Accounts | Cross-context relationships between users, organizations, roles, and invitations. |
| Creators Models | Creators | Artists, team members, profiles, invitations, and aliases. |
| Creators Entity Map | Creators | High-level relationships between artists, members, organizations, and catalog releases. |
| Roles & Permissions Schema Map | Auth | Spatie roles/permissions tables and how they connect to Accountsโ team-scoped memberships. |
| Auth Entity Map | Auth | How Spatie roles and permissions interact with Accounts memberships and Creators overrides. |
More diagrams will appear here as additional contexts crystallize (e.g., Catalog, Commerce, Media).
๐ How to use¶
- When scoping a feature, start with the diagram for the owning context to see available entities and relationships.
- Cross-context flows (e.g., Accounts โ Auth) reference each other, so flipping between diagrams clarifies ownership boundaries.
- Pair diagrams with the corresponding context overview pages for narrative detail and integration notes.
Related Docs¶
docs/rawdigs-contexts.mdโ High-level overview of all contexts.docs/contexts/accounts/index.mdโ Accounts context purpose, flows, integrations.docs/contexts/auth/index.mdโ Auth guard overview, flows, and access model.