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 <cursoragent@cursor.com>
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
@@ -275,6 +275,7 @@ export const vpsHealthChecks = sqliteTable('vps_health_checks', {
export const auditLog = sqliteTable('audit_log', {
id: text('id').primaryKey(),
eventId: text('eventId'),
spaceId: text('spaceId')
.notNull()
.default('space-main')