create table if not exists agent_ddos_report
(
    id bigint generated by default as identity primary key,
    task_id bigint not null references task_reports (task_id) on update cascade on delete cascade,
    created_at  timestamptz not null default now(),
    result jsonb not null default '{}'::jsonb,
    executors bigint[] not null default '{}'::bigint[]
);

create unique index if not exists agent_ddos_report_task_id_idx on agent_ddos_report (task_id);
