AUD-01.5 — Seed Onda 1 e validação piloto¶
Refs: #43
O que foi entregue¶
Seed Flyway V0.7.00.12 com 6 tabelas DIFF (ver hub flyway-ecosif).
Wiring masterdata já ativo (ecosif.audit.* — AUD-01.4).
Como validar (local/QAS)¶
# após migrate até V0.7.00.12
psql -c "SELECT table_name, level, ops, excluded_columns FROM sys_audit_config ORDER BY 1;"
- Autenticar no UI/API e alterar razão social de uma empresa.
- Conferir:
SELECT id, table_name, operation, entity_pk, actor_username, service_name, changes
FROM sys_audit_event
ORDER BY occurred_at DESC
LIMIT 10;
Critérios: evento U em gr_empresa; changes com coluna alterada; actor_username preenchido; update de usuário sem password em changes.