Versioning Architecture
Last modified by Robert Schaub on 2025/12/24 21:53
graph LR CLAIM[Claim] -->|edited| EDIT[Edit Record] EDIT -->|stores| BEFORE[Before State] EDIT -->|stores| AFTER[After State] EDIT -->|tracks| WHO[Who Changed] EDIT -->|tracks| WHEN[When Changed] EDIT -->|tracks| WHY[Why Changed] EDIT -->|if needed| RESTORE[Manual Restore] RESTORE -->|create new| CLAIM style EDIT fill:#ffcccc style RESTORE fill:#ccffcc
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.
V1.0: Simple edit history sufficient for accountability and basic rollback.
V2.0+: Add complex versioning if users request "see version history" or "restore previous version" features.