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:
DenozordecandCursor committed 2026-07-21 13:24:30 +07:00
1 parent 8cee00e6e3
commit a02daba69b
9 files changed
+344 -11

No files matched your search

+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')