Wiki source code of Versioning Architecture
Version 1.1 by Robert Schaub on 2025/12/18 12:03
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{mermaid}} | ||
| 2 | graph LR | ||
| 3 | CLAIM[Claim] -->|edited| EDIT[Edit Record] | ||
| 4 | EDIT -->|stores| BEFORE[Before State] | ||
| 5 | EDIT -->|stores| AFTER[After State] | ||
| 6 | EDIT -->|tracks| WHO[Who Changed] | ||
| 7 | EDIT -->|tracks| WHEN[When Changed] | ||
| 8 | EDIT -->|tracks| WHY[Why Changed] | ||
| 9 | EDIT -->|if needed| RESTORE[Manual Restore] | ||
| 10 | RESTORE -->|create new| CLAIM | ||
| 11 | style EDIT fill:#ffcccc | ||
| 12 | style RESTORE fill:#ccffcc | ||
| 13 | {{/mermaid}} | ||
| 14 | |||
| 15 | **Versioning Architecture** - Simple audit trail for V1.0: Track who, what, when, why for each change. Store before/after values in edits table. Manual restore if needed (create new edit with old values). Full versioning system (branching, merging, automatic rollback) deferred to V2.0+ unless users explicitly request it. | ||
| 16 | **V1.0**: Simple edit history sufficient for accountability and basic rollback. | ||
| 17 | **V2.0+**: Add complex versioning if users request "see version history" or "restore previous version" features. |