feat(audit): dual-write журнала в auth-portal ingest
Docker / build (push) Failing after 23s

Добавлены event_id/actorUserId и async push source_app=vps без блокировки CRUD.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Denozordec
2026-07-21 13:24:30 +07:00
co-authored by Cursor
parent 8cee00e6e3
commit a02daba69b
9 changed files with 344 additions and 11 deletions
+1
View File
@@ -264,6 +264,7 @@ CREATE TABLE IF NOT EXISTS server_projects (
CREATE TABLE IF NOT EXISTS audit_log (
id TEXT PRIMARY KEY,
eventId TEXT,
spaceId TEXT NOT NULL DEFAULT 'space-main',
entity TEXT NOT NULL,
entityId TEXT NOT NULL,