Convert ASCII diagrams to Mermaid.js format

Co-authored-by: eliandoran <21236836+eliandoran@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-04 12:35:56 +00:00
parent 07fe42d04e
commit 0494032fb5
3 changed files with 99 additions and 104 deletions

42
docs/DATABASE.md vendored
View File

@@ -427,27 +427,27 @@ CREATE TABLE etapi_tokens (
## Data Relationships
```
┌──────────────┐
│ Notes │
└───┬──────────┘
┌───────────┼───────────┐
│ │ │
▼ ▼ ▼
┌────────┐ ┌──────────┐ ┌───────────┐
│Branches│ │Attributes│ │Attachments│
└────────┘ └──────────┘ └─────┬─────┘
│ │
│ │
│ ┌──────────┐ │
└──────▶│ Blobs │◀────────┘
└──────────┘
┌────┴─────┐
│Revisions │
└──────────┘
```mermaid
graph TB
Notes[Notes]
Branches[Branches]
Attributes[Attributes]
Attachments[Attachments]
Blobs[(Blobs)]
Revisions[Revisions]
Notes --> Branches
Notes --> Attributes
Notes --> Attachments
Notes --> Blobs
Notes --> Revisions
Branches --> Blobs
Attachments --> Blobs
Revisions --> Blobs
style Notes fill:#e1f5ff
style Blobs fill:#ffe1e1
```
**Relationships:**