mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-06 15:22:12 +03:00
* fix(db): persist account egress IP into proxy_logs The account egress IP (outbound IP the upstream saw, resolved via proxyEgress.ts echo-IP probe with 5-min cache) was computed and surfaced in the proxy_logs console and ring buffer, but never persisted: proxy_logs.egress_ip did not exist, so the value was lost on restart and real traffic could not be attributed to the node/IP active at that instant. - migration 134 adds proxy_logs.egress_ip (nullable, backward-compatible) - schemaColumns.ensureProxyLogsColumns() idempotent reconciler - proxyLogger self-heals the schema in loadFromDb(), persists egress_ip on INSERT, and matches it in search Follows the session_tag (#8249) migration + schemaColumns reconciler pattern; base SCHEMA_SQL untouched. * docs(changelog): add 9291 fragment for proxy_logs egress_ip --------- Co-authored-by: Diego Rodrigues de Sa e Souza <diegosouza.pw@gmail.com>