Draw the data model in the wiki - #35
Merged
Merged
Conversation
The domain landed with 47 entities and no map. Reading the EF configurations was the only way to see how communities, sessions and matches fit together. Add a Data model section: an overview of how everything hangs off a community and its members, then one ER diagram per area. The hugo-book theme already renders mermaid fences, so no configuration changes were needed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F9TP5WEbVsmAWQS4uAds3Q
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #36
The domain model landed in #33 with 47 entities and no map — reading the EF configurations was the only way to see how communities, sessions and matches fit together.
This adds a Data model section to the wiki: an overview page plus one ER diagram per area, drawn from
src/Ssabba.Infrastructure/Configurations._index.md— flowchart of how the areas hang offCommunity/CommunityMember, and the schema-wide conventions (Guid v7 keys, int-stored enums,AmountMinor+char(3)money, the four soft-deleted entities).MatchAppearanceas the rating journal, and theRatingAppliedAtworker queue.AuditEvent.EntityId, the outbox and its partial pending index.No configuration or theme change: hugo-book already renders plain ```mermaid fences.
Verification
hugo --minifybuilds clean; everyrelrefresolves.SessionParticipantConfiguration,MatchAppearanceConfigurationandLedgerEntryConfiguration.Docs only — no code touched.
🤖 Generated with Claude Code
https://claude.ai/code/session_01F9TP5WEbVsmAWQS4uAds3Q