15 lines
564 B
SQL
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;
|