Brings the generic audit-log helper (timestamp + actor + action + entity + changed_fields JSON) into the shared library so every consumer picks up the same shape without reimplementing it. The table is now named `audit_log` (was `command_log` in fewo-webapp); consumers copy `AuditLog::CREATE_TABLE_SQL` into their schema.sql so class name and table name stay in one source of truth. Legacy data on fewo-webapp migrates via a one-shot `INSERT INTO audit_log SELECT … FROM command_log; DROP TABLE command_log;` statement in that project's schema.sql. Closes #449 (fewo-webapp half follows in separate commits). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| AuditLog.hpp | ||