Issue #29 — docs: Database Schema and ERD Documentation
Description
A picture is worth a thousand words. New contributors often struggle to mentalize the relationships between relational tables. Providing an Entity Relationship Diagram (ERD) and text explanations dramatically accelerates backend onboarding.
Requirements & Context
Implementation Expectations: Utilize a tool (e.g., Prisma ERD generator or Mermaid.js) to visually map the relationships between User, Wallet, and EscrowIntent.
Context: Document the uniqueness constraints and cascading behaviors explicitly.
Acceptance Criteria
Out of Scope
- Documenting Prisma-internal shadow tables.
Suggested Execution
git checkout -b docs/database-schema
Suggested Commit Message
docs: add database schema erd and relationships documentation
Testing Notes
- Ensure the generated ERD is readable and properly formatted in GitHub markdown.
References
Prisma ERD generator packages.
Definition of Done
Issue #29 — docs: Database Schema and ERD Documentation
Description
A picture is worth a thousand words. New contributors often struggle to mentalize the relationships between relational tables. Providing an Entity Relationship Diagram (ERD) and text explanations dramatically accelerates backend onboarding.
Requirements & Context
Implementation Expectations: Utilize a tool (e.g., Prisma ERD generator or Mermaid.js) to visually map the relationships between
User,Wallet, andEscrowIntent.Context: Document the uniqueness constraints and cascading behaviors explicitly.
Acceptance Criteria
schema.prisma.Out of Scope
Suggested Execution
Suggested Commit Message
Testing Notes
References
Prisma ERD generator packages.
Definition of Done