Files
khb_microservices/packages/khb_common/migrations/074_message_audit_run.sql
Yuri Yaryshev c80816b4c7
All checks were successful
ci / test (push) Successful in 55s
ci / deploy (push) Successful in 3m2s
Ночная проверка упущенного (02:00 Тампа), мониторинг хоста, чистка образов в deploy.sh
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 09:26:47 +03:00

15 lines
564 B
SQL

-- Ночная проверка упущенного (khbuild_assistant_prep, 02:00 по Тампе): протокол запусков и находок.
create table if not exists message_audit_run (
id uuid primary key,
started_at timestamptz not null default now(),
finished_at timestamptz,
since_ts numeric not null,
until_ts numeric not null,
messages_seen integer,
candidates integer,
flagged integer,
report text,
error text
);
alter table message_audit_run enable row level security;